Recommended way to maintain installation state for uninstall

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

Recommended way to maintain installation state for uninstall

Postby skibbs » Thu May 25, 2006 4:22 pm

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:

Postby MichaelNesmith » Thu May 25, 2006 4:35 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Postby skibbs » Thu May 25, 2006 4:42 pm

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:

Postby skibbs » Thu May 25, 2006 8:11 pm

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:

Postby MichaelNesmith » Fri May 26, 2006 1:44 am

When you use the multiple instance feature, yes.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 127 guests