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
- :
- Issue in custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jun 07, 2011
02:08 PM
Issue in custom action
I want to make a script that open port in installation and close it in un-installation
I made the both scripts but every time
script for open port runs in install and in uninstall so after uninstalling i have 2 rules for open that port and close port never run
I have attached screen shots about my configuration in this custom actions
please help ASAP
I made the both scripts but every time
script for open port runs in install and in uninstall so after uninstalling i have 2 rules for open that port and close port never run
I have attached screen shots about my configuration in this custom actions
please help ASAP
(5) Replies
Jun 08, 2011
03:31 AM
where i can put this conditions ??
and another question
in close port the script that should run in uninstall, should I put it in "Install exec seq" or not
and another question
in close port the script that should run in uninstall, should I put it in "Install exec seq" or not
Jun 08, 2011
08:46 PM
You will want to start with Installation Phases and In-Script Execution Options for Custom Actions in Windows Installer, and you will also want to read up on Uninstalling Custom Actions, and Using a Sequence Table, specifically InstallExecuteSequence Table.
Jun 09, 2011
03:20 AM
Thanks alot alot my issue has been resolved
the prob was REMOVE=ALL has to be me written REMOVE="ALL"
the prob was REMOVE=ALL has to be me written REMOVE="ALL"
Jun 09, 2011
03:22 AM
1. You can add condition in Install Exec Condition (If you sequence the custom action in “Install Exec Condition”).
2. For uninstallation you can schedule the CA in execute sequence otherwise it won’t run if you start the uninstall directly from “Add\Remove panel ->Remove. (You need to use “change”).
Also, make sure if you make system level changes you need Deferred execution, you can schedule Deferred execution only in-between InstallInialize to InstallFinalize. Deferred is very safe as we can rollback.
2. For uninstallation you can schedule the CA in execute sequence otherwise it won’t run if you start the uninstall directly from “Add\Remove panel ->Remove. (You need to use “change”).
Also, make sure if you make system level changes you need Deferred execution, you can schedule Deferred execution only in-between InstallInialize to InstallFinalize. Deferred is very safe as we can rollback.