Jump to content

Recommended Posts

Posted

I install a .msi file via

RunWait (@ComSpec & " /c msiexec path.msi /i /qb", @SW_HIDE)

then run it, it can hide DOS window, but after some seconds,

system popup another installation window, show installation progress.

I want to know how to hide this window also?

Thanks for your help!

Posted

From http://support.microsoft.com/kb/227091:

/q n|b|r|f ~ Sets the UI level.

q , qn - No UI.

qb - Basic UI.

qr - Reduced UI. A modal

dialog box is displayed

at the end of the

installation.

qf - Full UI. A modal

dialog box is displayed

at the end of the

installation.

qn+ - No UI. However, a

modal dialog box is

displayed at the end of

the installation.

qb+ - Basic UI. A modal

dialog box is displayed

at the end of the

installation. If you

cancel the installation,

a modal dialog box is

not displayed.

qb- - Basic UI with no

modal dialog boxes.

The "/qb+-" switch

is not a supported UI

level.

Posted

I install a .msi file via

RunWait (@ComSpec & " /c msiexec path.msi /i /qb", @SW_HIDE)

then run it, it can hide DOS window, but after some seconds,

system popup another installation window, show installation progress.

I want to know how to hide this window also?

Thanks for your help!

Try

$_MsiPath = @ScriptDir & '\File.msi'
RunWait ( 'msiexec /i "' & $_MsiPath & '" /qn /Quiet /NoRestart' )

AutoIt 3.3.18.0 X86 - SciTE 5.5.7WIN 11 24H2 X64 - Other Examples Scripts

Posted

From http://support.microsoft.com/kb/227091:

/q n|b|r|f ~ Sets the UI level.

q , qn - No UI.

qb - Basic UI.

qr - Reduced UI. A modal

dialog box is displayed

at the end of the

installation.

qf - Full UI. A modal

dialog box is displayed

at the end of the

installation.

qn+ - No UI. However, a

modal dialog box is

displayed at the end of

the installation.

qb+ - Basic UI. A modal

dialog box is displayed

at the end of the

installation. If you

cancel the installation,

a modal dialog box is

not displayed.

qb- - Basic UI with no

modal dialog boxes.

The "/qb+-" switch

is not a supported UI

level.

Sorry, I wrote wrong for first sentence, it should be

RunWait (@ComSpec & " /c msiexec path.msi /i /qn", @SW_HIDE)

qn - no UI, but the UI still popup after some seconds, It seems after executing msiexec, then loading anther process.

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...