View Full Version : Installer does not resume after installer initiated reboot, malformed RunOnce command

03-09-2017, 06:15 PM
I'm putting together an installer, and I have a custom Prerequisite that is set to "Reboot the machine and resume on reboot"

When the prerequisite tells the installer and the installer tells the user that a reboot is needed, the InstallShield installer writes the following value to the HKCU RunOnce key

Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
Value Name: ISSetupPrerequisistes
Value Data: ""C:\\Users\\My User\\Desktop\\Installer\\Setup.exe""

InstallShield is writing this string to the RunOnce key with TWO sets of double quotes which renders the command string such that the installer fails to resume after a reboot

This did not happen with older versions of InstallShield. I tried a version of the installer from last year and the InstallShield installer wrote to the RunOnce key properly with only one set of double quotes

How can I work around this issue so that my installer can resume again after a reboot?