Issue when using "Set Persistent Variable.."
Posted: Thu Jul 12, 2012 6:10 pm
Hi,
My InstallAware project has a dependency with Microsoft Windows Installer 3.1 and Microsoft Visual C++ Runtime 10.0. It has as statement to to Set Persistent Variable...
On a Windows 7 64 bit, when I install the software it installs fine and works fine.
When I first tried to uninstall the software from control panel, I hit the cancel button after the first dialog with a Uninstall button came up. The next time I tried to uninstall, it prompts for the dependent package should be installed and when clicked next on the dependency package installation form, it prompts with a folder browse dialog, trying to locate the Setup Source folder. It does not find it and hence uninstall fails.
The only way to uninstall after this state is to use the installer exe file and trying to install it during which it is able to locate the setup source folders.
IMPORTANT: If I remove the one line "Set Persistent Variable..." in my MSI code, then I don't have this problem. It uninstalls even after cancelling the first uninstallation. What relation could this have on the above mentioned behavior.
I have attached the InstallAware project and some screenshots for the above behavior. Hope it helps. We are at a crucial stage of a software release. So kindly respond at the earliest.
-Alex
My InstallAware project has a dependency with Microsoft Windows Installer 3.1 and Microsoft Visual C++ Runtime 10.0. It has as statement to to Set Persistent Variable...
On a Windows 7 64 bit, when I install the software it installs fine and works fine.
When I first tried to uninstall the software from control panel, I hit the cancel button after the first dialog with a Uninstall button came up. The next time I tried to uninstall, it prompts for the dependent package should be installed and when clicked next on the dependency package installation form, it prompts with a folder browse dialog, trying to locate the Setup Source folder. It does not find it and hence uninstall fails.
The only way to uninstall after this state is to use the installer exe file and trying to install it during which it is able to locate the setup source folders.
IMPORTANT: If I remove the one line "Set Persistent Variable..." in my MSI code, then I don't have this problem. It uninstalls even after cancelling the first uninstallation. What relation could this have on the above mentioned behavior.
I have attached the InstallAware project and some screenshots for the above behavior. Hope it helps. We are at a crucial stage of a software release. So kindly respond at the earliest.
-Alex