Recommended way to maintain installation state for uninstall

Got a problem you cannot solve? Try here.
Post Reply
skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Recommended way to maintain installation state for uninstall

Post 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!
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Post 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!
skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

When you use the multiple instance feature, yes.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply