Closed ra-at-diladele-com closed 1 year ago
This is done like
<CustomAction
Id="CreateScheduledTaskId"
Property="CreateScheduledTask"
Execute="immediate"
Value=""[SystemFolder]SCHTASKS.EXE" /CREATE /F /SC HOURLY /TN "WebFilteringProxyUpdater" /TR "'[INSTALLDIR]Diladele.Wfp.Updater.exe'" /RU "S-1-5-18" /RP /RL HIGHEST" />
Specifically the quot and ' in
/TR "'[INSTALLDIR]Diladele.Wfp.Updater.exe'"
Need to test if the task indeed trigger after install.