cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
arunkumar_thiru
Level 2

pass "BATCH_INSTALL=FALSE" from command line

Currently i am using InstallScript Project, I need to make sure that BATCH_INSTALL is always false, while uninstalling the application silently using LaunchAppAndWait method. Is there way to pass the system variable "BATCH_INSTALL=FALSE" from the command line argument.
Currently i am using the below command line which uninstalls the existing application. Can i accomodate BATCH_INSTALL variable some where in the code.
"setup.exe -runfromtemp -l0x0409 -uninst -removeonly"
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

I don't think you can pass BATCH_INSTALL directly. Perhaps pass a custom switch to setup.exe using -z (see "Setup.exe and Update.exe Command-Line Parameters") and then set BATCH_INSTALL based on whether your switch is in CMDLINE?
0 Kudos