Hello Guys,
is there a way to run Script only on Install?
I'm trying to launch cmd on Install to install Roles and Features on an Windows 2008 Server OS and i just want to run it when the application is installed and not on deinstall.
Any suggestions?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to run script only on Install
Started by
Nachtmahr
, Feb 10 2010 16:07
2 replies to this topic
Posted 10 February 2010 - 18:22
I'm assuming this is a Custom Action script?
If so, when you add it to either your UI Sequence or Execute Sequence there will be a condition field. If you only want it to run the first time your product is installed and never on , add the condition:
Not Installed AND NOT REMOVE="ALL"
And if you plan on doing patches you may also want to add...
AND NOT PATCH
If so, when you add it to either your UI Sequence or Execute Sequence there will be a condition field. If you only want it to run the first time your product is installed and never on , add the condition:
Not Installed AND NOT REMOVE="ALL"
And if you plan on doing patches you may also want to add...
AND NOT PATCH
Posted 18 February 2010 - 12:25
Hi,
LaunchApp / LaunchAppAndWait will work as like executing commands over command prompt......
LaunchApp / LaunchAppAndWait will work as like executing commands over command prompt......