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
- :
- Limited Edition, Uninstall Custom Actions
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
‎Mar 14, 2013
05:58 PM
Limited Edition, Uninstall Custom Actions
Hello,
I'm using InstallShield Limited Edition with Visual Studio 2012.
I need to perform some custom actions at Uninstall. Unfortunately, of the two options available for Uninstallation in Limited Edition, only "After System Changes" is available. Also, being Limited Edition, I can use an EXE, VBScript, or JScript.
The problem is that by the time the uninstall process gets to this step, the EXE that I'd like to run has already been deleted.
How do I use this feature?
I'm using InstallShield Limited Edition with Visual Studio 2012.
I need to perform some custom actions at Uninstall. Unfortunately, of the two options available for Uninstallation in Limited Edition, only "After System Changes" is available. Also, being Limited Edition, I can use an EXE, VBScript, or JScript.
The problem is that by the time the uninstall process gets to this step, the EXE that I'd like to run has already been deleted.
How do I use this feature?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2013
10:16 AM
Hello,
Limited edition of InstallShield does not have support for scheduling custom actions during some sequences of an installation, maintenance, or uninstallation.
Custom actions scheduled for After System Changes can modify the target system .They may not have access to files that were installed as part of the installation because actions scheduled for After System Changes run after the files in installation have been removed from the system.
It is important to note that actions scheduled for After System Changes do not have access to the active windows installer database, and they do not recognize any windows installer properties. They can only access the information that has been written into the execution script.
you may try creating a backup of the the EXE that you would like to run during unistallation at some other location during installation by using a custom action,
Then try to use the EXE from the backup location to run as a custom action and schedule it After System Changes during uninstallation.
Thanks
Chiranjeevi
Limited edition of InstallShield does not have support for scheduling custom actions during some sequences of an installation, maintenance, or uninstallation.
Custom actions scheduled for After System Changes can modify the target system .They may not have access to files that were installed as part of the installation because actions scheduled for After System Changes run after the files in installation have been removed from the system.
It is important to note that actions scheduled for After System Changes do not have access to the active windows installer database, and they do not recognize any windows installer properties. They can only access the information that has been written into the execution script.
you may try creating a backup of the the EXE that you would like to run during unistallation at some other location during installation by using a custom action,
Then try to use the EXE from the backup location to run as a custom action and schedule it After System Changes during uninstallation.
Thanks
Chiranjeevi
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2013
12:25 PM
InstallShield can consume merge modules. That opens many doors...
http://blog.iswix.com/2011/01/augmenting-installshield-using-windows_19.html
An example would be to use WiX 3.7 to create a managed C# custom action using DTF. DTF encapsulates your assembly as an MSI stdcall native DLL. Then you encapsulate this in a merge module to describe the custom action and scheduling. InstallShield merges this module during the build and presto, the magic happens.
http://blog.iswix.com/2011/01/augmenting-installshield-using-windows_19.html
An example would be to use WiX 3.7 to create a managed C# custom action using DTF. DTF encapsulates your assembly as an MSI stdcall native DLL. Then you encapsulate this in a merge module to describe the custom action and scheduling. InstallShield merges this module during the build and presto, the magic happens.
