Jump to content

Recommended Posts

Posted

Hi, 

I am trying to do a silent install via MSI. Here is my command line 

msiexec.exe /i "%~dp0package.msi" /qn. The issue is that it has a pop up window to confirm folder location. 

I wanted to try the ControlClick option but can't get it to work.  The control box info is as follows;

Basic Window Info

Title = Rechercher un dossier

Class = #32770

Basic Control Info

Class = Button

Instance = 1

Classname NN

AdvancedMode = [CLASS:Button; INSTANCE:1]

ID = 1

Text = OK

Thanks for any help, 

Sylvain

  • Moderators
Posted

What are you trying for the ControlClick? Something like this perhaps?:

ControlClick("Rechercher un dossier", "", "Button1")

Although I find it odd that anything is popping up on an MSI with the /qn switch. What is the software?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

It appears the developer hasn't created the MSI using MSI standards.  You could use something like http://www.instedit.com/ to edit or view the Property table of the MSI.

For example you may find a property named "Confirmation" = "Yes", you can then use that property within the command line:

msiexec.exe /i "%~dp0package.msi" Confirmation="No" /qn

nb: Confirmation is just an example of a custom property

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...