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
- :
- Re: Possibility to run CMD file only on install
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
May 22, 2008
03:49 AM
Possibility to run CMD file only on install
Hello everyone,
I'm running a Basic MSI project and I know how to run a cmd file in the Custom Actions and Sequence.
The only problem is that on Install as well as Uninstall the script is ran.
Does anyone know if it's possible to run a cmd file ONLY on install?
I'm running a Basic MSI project and I know how to run a cmd file in the Custom Actions and Sequence.
The only problem is that on Install as well as Uninstall the script is ran.
Does anyone know if it's possible to run a cmd file ONLY on install?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 22, 2008
08:32 AM
Please see for example this newsletter tip (PDF): http://www.acresso.com/webdocuments/PDF/msiconditions.pdf. For an action you want to run only during a first-time installation, you can use the condition Not Installed.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)