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
- :
- 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/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)