Is there any method built into InstallAware that can trigger a rollback? Removing installed files, shortcuts, add/remove program references, etc...
Thanks
Trigger rollback during installation
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Apply Uninstall.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Triggering an Apply Uninstall causes a fatal error to be thrown and does not seem to rollback the installation. In my normal installation block, after I apply the file installation and registry writes that I need then I start a block of custom code that uses external Win32 DLLs that pop up dialogs to interact with the user. If the user chooses to cancel out of one of these forms, then I need to rollback the installation. Because these DLLs are dependent on files that are installed during the Apply Install, I cannot run my custom code prior to Apply Install being called. I am currently calling Terminate Install when I need to exit an installation, but this is not ideal because it doesn't rollback the installation, it just aborts it midway through and leaves the application partially installed.
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
No errors should happen during Apply Uninstall. You should provide more information so we can estimate what is going wrong.
Support files are available any time setup is running. InstallAware does not differentiate between an installation or uninstallation - it all happens in your setup script, how its been laid out. So this gives you maximum flexibility in doing what you want in your setup.
Support files are available any time setup is running. InstallAware does not differentiate between an installation or uninstallation - it all happens in your setup script, how its been laid out. So this gives you maximum flexibility in doing what you want in your setup.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 153 guests