Hi Clemens,
I'm afraid that this is not supported by Windows Installer (the reboot actions are determined automatically).
However, you can try this approach:
- create an EXE which calls your script
- use the
Registry page to create a registry value in this key:
Code: Select all
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- the data of the registry value you created should be set to the path of the EXE which calls the script
- the EXE should remove this registry entry after the script is executed
This way the EXE which calls the script will run when the user logs on after the installation (after the reboot is performed). The script does what its supposed to and the EXE removes the registry entry so it will not be launched the next time the user logs on.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging