I have to change a config file before the service gets started. In the "Install execution stage" I did a right klick, followed "Show Standard Action"->"Add Resources"->"Install Services" and "Show Standard Action"->"Add Resources"->"Start Services". I placed my inline script between InstallServices and StartServices, but when I save this and reopen it, it is gone and the installation starts the service before the script is executed.
Script settings are:
Execution Time
"When system is being modified (deferred)"
Execution Options
"Run under the local system account" & "Fall installation if..."
Execution Stage Condition
"Install" & "Maintenance"
"Condition:"
Code: Select all
(VersionNT > 501) OR (VersionNT = 501 AND ServicePackLevel >= 2)
Did I miss something?
FOLLOW US
Get the latest news in Application Packaging