I am creating a basic MSI type installer in InstallShield 2011, in which I am appending few values to the PATH variable from the installer. I have observed that normally a reboot or a logoff-logon is required for those changes to reflect. But, in order to avoid reboot, I wrote an InstallScript custom action with the following code:
The details of this Custom Action are:
Synchronous (Check Exit Code)
Install Exec Sequence: After InstallFinalize
Install Exec Condition: NOT Installed AND NOT PATCH
It works fine on Win7, but when I try to install it on WinXP SP3, the installation hangs on this custom action step.
What is it that I am doing wrong? Or what changes need to be done?
Any help would be much appreciated.