/build/static/layout/Breadcrumb_cap_w.png

[PS] How respond to dialogs // change default paths in .msi setups?

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

Answers (1)

Posted by: anonymous_9363 11 years ago
Red Belt
1

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.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ