Page 1 of 1

Recommended way to maintain installation state for uninstall

Posted: Thu May 25, 2006 4:22 pm
by skibbs
What does InstallAware recommend to do in order to maintain installation state variables for uninstall? Like the savedState dictionaries in VS.NET setup projects. Would you persist the data to a text file? Is there a way to do this without file IO?

Thanks!

Posted: Thu May 25, 2006 4:35 pm
by MichaelNesmith
This has been a feature request for InstallAware to automatically save the state of variables. This feature has been implemented as a Set Variable command with a "Persistent" flag. If you would like to get on board with this version, please privately message me.

For the current version, your options are to write data to the registry, a text file, or similar.

Posted: Thu May 25, 2006 4:42 pm
by skibbs
Thank you for the quick response, the persistent flag sounds perfect for my needs. I will just make things work for now with file IO and convert once the next version is released.

Thanks!

Posted: Thu May 25, 2006 8:11 pm
by skibbs
Will this feature allow for multiple application installations on the same machine, under the same user? Just wondering if the installation state will be unique to an installation despite potentially multiple instances of the application being installed under the same user account. An odd request, but an issues that we will likely face. :)

Thanks

Posted: Fri May 26, 2006 1:44 am
by MichaelNesmith
When you use the multiple instance feature, yes.