This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom Action during uninstallation.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
01:45 AM
Custom Action during uninstallation.
Hi,
I am using InstallShield 2008 to build a setup for my project. It is a basic MSI project. I want a custom Action to fire during the uninstallation process. The custom action should fire first and only if that custom Action gets executed successfully the rest of the uninstallation process should proceed else it should revert back to the original state. The product should not get unInstalled.
Awaiting your early response.
Thanks in advance
krishna kumar. P
I am using InstallShield 2008 to build a setup for my project. It is a basic MSI project. I want a custom Action to fire during the uninstallation process. The custom action should fire first and only if that custom Action gets executed successfully the rest of the uninstallation process should proceed else it should revert back to the original state. The product should not get unInstalled.
Awaiting your early response.
Thanks in advance
krishna kumar. P
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
09:09 AM
CA's can handle exit codes and a failure will cause a rollback resulting in no uninstall. Careful though, this can be a very bad user experience.
Before giving a proper answer, more data is needed. What kind of CA do you want to write? (Script, DLL, EXE? ) Does the CA make system configuration changes or does it only gather data and process business logic to block the uninstall?
Before giving a proper answer, more data is needed. What kind of CA do you want to write? (Script, DLL, EXE? ) Does the CA make system configuration changes or does it only gather data and process business logic to block the uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2008
08:27 AM
Hi,
Thank you for replying to my query. The CA is dll. The dll deactivates an activeID in one of the servers. For this deactivation purpose we need an active internet connection, If the deactivation is successful, the function in the library returns a value true else false. If the value is true the uninstallation should continue else it should abort the process. I hope i have made an attempt to explain to u properly. Also please let me know in which sequence should this be inserted?. This should fire only during uninstallation.
awaiting ur reply
Thanks once again
krishna kumar.P
Thank you for replying to my query. The CA is dll. The dll deactivates an activeID in one of the servers. For this deactivation purpose we need an active internet connection, If the deactivation is successful, the function in the library returns a value true else false. If the value is true the uninstallation should continue else it should abort the process. I hope i have made an attempt to explain to u properly. Also please let me know in which sequence should this be inserted?. This should fire only during uninstallation.
awaiting ur reply
Thanks once again
krishna kumar.P