Im trying to write a script in PS that runs an installtion (.msi) waits for it to finish and then runs another setup...

now the first problem am running into is.. the Security Dialog that pops up even before the setup starts asking if im sure i want to install this package (run /cancel)

is there a way (in general) to respond to these messages whenever they pop up?

also... how can i change default paths, when running the setup silent in background?


thank you very much


0 Comments   [ + ] Show Comments


Please log in to comment



Presumably by "Security Dialog" you mean the Win7/8 User Access Control dialog?

As for default paths, etc., much depends on what you want to change and whether or not the package author created the package with public properties aligned with the particular component or not. The default installation path will be, for sure: that's a property called 'INSTALLDIR'. Note that public properties - the only type that the Windows Installer will act upon when run from the command line - are all in upper case. For the remainder, you will need to open the MSI in Orca (or, better, InstEdit) and look for the properties "behind" the various dialog controls.

Answered 09/05/2013 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity