cmd - Batch to run a MSI package multiple times sucessfully -
Text after "
I have written a single.msi package several times to run in the following code, but it only runs successfully once and Next lets "repair" or "uninstall" options next time. I need to solve this and run it several times.
I have read that I need a writer to change (.mst) this type of action to be successfully performed but unsure how to do it, as soon as possible need your valuable suggestion is.
Please note that "OID_VALUE" & amp; "LOGGING_SERVICE_URI_VALUE" are values that I need to pass for the .msi package to run
setLocal enableDELAYedexpansion off @echo:. Menu ECHO Select the ECHO environment that you are running batch echo. Echo 1. UAT Echo 2. Production Echo 3. Extra echo option / C 123 / N / M "Select the option:" If error level 3 leaves error level 2 geto PROD if error level 1 Gato UAT: UAT set URI = https: //log.acdmuat.appleclouds.com/LoggingService/GOTO LOGGINGURI: PROD set URI = https: //log.acdm.appleclouds.com/LoggingService/: for LOGGINGURI / f "delims =" %% a In (oid.txt) stop (msiexec / q / l * c: \ temp \ installer .log / i "C: \ AHSInstall \ Apple \ Apple.msi" OID_VALUE = "%% A" LOGGING_SERVICE_URI_VALUE =% URI%)
Your help as soon as possible
This is working properly as it is believed that after the package is installed After running, your options may be uninstalled or repaired after installation later on. If you think like any other option ... (probably modified), then do this:
"C: \ AHSInstall \ Apple \ Apple.msi" /?
You should show the option that is available to you.
Comments
Post a Comment