I am trying to configure the installer for some software that we use in the company.
The installer is uploaded to the target machines via SMS, and it performs the following steps:
- Shut down all running instances of the application (the application is a utility, so this does not affect the user).
- Delete previous version.
- Install the updated version.
What we want to do is run the installed executable file (as the current registered user, and not the system account with which the SMS task is performed) after completing step 3.
I tried to add a custom action as follows:
<CustomAction Id="Relaunch" Impersonate="yes" Return="asyncNoWait" FileKey="AppExeFile" Execute="commit" ExeCommand="acm" />
And in the element InstallExecuteSequence
, I have the following:
<Custom Action="Relaunch" OnExit="success" />
, , SMS, (, ).
?