Jump to content
SylvainSimpson

Help with Deploying msi.

Recommended Posts

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

You might be able to use a MST transform file to help automate it. You could contact the software developer to see if that is supported and how to configure it. Some information on MST transforms:

http://www.klaus-hartnegg.de/gpo/mst.html


RAID Calculator | Software Installer

The truth has been suppressed since the dawn of time.

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...