cancel
Showing results for 
Search instead for 
Did you mean: 

Install script - checking install option and forcing exit

Former Member
0 Kudos

Anyone know how to accomplish these two things:

1. Determine if the installation was called with a "/silent" switch on the command line

2. Force the install to stop after checking a condition (e.g. a process running) - during the "On Begin Install" step

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I was originally hoping to use "Wscript.Arguments(0)" to help determine the command line, but when running the "NwEngine.Shell.Execute strCmdLine, bNoWaiting" it resolves to nothing .....

Edited by: Eric Poellinger on Jul 14, 2011 1:58 PM