I am trying this in inno setup:
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Filename: "schtasks"; Parameters: "/Create /F /SC HOURLY /TN ""Vivete"" /TR "C:\ProgramFiles(x86)\Vivete\dist\Vivete.exe"'{app}Vviete.exe' par1"""; Flags: runhidden
And it throws me the following error:
mismatched or misplaced quotes on parameters
I achieved this by removing all quotes in parameters except for the ones in
'{app}tuapp.exe'