Silent install of MSI files

I am trying to install silently the msi files found in this link :

https://drive.google.com/file/d/0B4g5jMdNmaCIeU1LNl9icHhFcDg/view?usp=sharing
(Sorry for the Google Drive link, but we can’t find the drivers from the manufacturer directly. This is a link from the reseller).

We tried this by using the msiexec command :

msiexec /a “ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi” /quiet /norestart
msiexec /a “AWP_v4.6_SR12_Generic_64-bit.msi” /quiet /norestart

We searched for the proper parameters in the msiexec command, we repackaged the msi files for silent installation, but we didn’t make it. When we run the installer manually, it works fine.

Note that we are using the 9.5.5 BigFix version.

Can anybody help us ?

Newer MSI type installers (past 3.x if memory servers) usually do not use the /quiet parameters; /quiet is, in my experience, more commonly used by .exe type installers and 2.x and earlier MSI.

Try

msiexec /i “executeable” /qn

I am almost confident this doesn’t enforce a reboot, but there might be a reallysuppress switch in there somewhere too…

Generally I use

msiexec.exe /i "path_to_package.msi" /qn ALLUSERS=1 REBOOT=ReallySuppress

And shame to Microsoft for making REBOOT=Suppress suppress the reboot question and reboot automatically

1 Like

Aha, I knew there was something else. ReallySuppress has got to be one of the funniest commandline parameters I’ve ever seen, but yeah, that is ridiculous that suppress silently reboots, while reallysuppress silently prevents the reboot.

Logic? We don’t need no stinkin’ logic!

Using the following command :

msiexec /i “ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi” /qn /l*v “c:\usb\logs.txt” ALLUSERS=1 REBOOT=ReallySuppress

I get error code 2 and the following log file :

=== Verbose logging started: 24/4/2018 16:02:04 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI © (B4:8C) [16:02:04:230]: Resetting cached policy values
MSI © (B4:8C) [16:02:04:230]: Machine policy value ‘Debug’ is 0
MSI © (B4:8C) [16:02:04:230]: ******* RunEngine:
******* Product: ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi
******* Action:
******* CommandLine: **********
MSI © (B4:8C) [16:02:04:230]: Client-side and UI is none or basic: Running entire install on the server.
MSI © (B4:8C) [16:02:04:230]: Grabbed execution mutex.
MSI © (B4:8C) [16:02:04:230]: Cloaking enabled.
MSI © (B4:8C) [16:02:04:230]: Attempting to enable all disabled privileges before calling Install on Server
MSI © (B4:8C) [16:02:04:230]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (0C:90) [16:02:04:230]: Running installation inside multi-package transaction C:\usb\ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi
MSI (s) (0C:90) [16:02:04:230]: Grabbed execution mutex.
MSI (s) (0C:38) [16:02:04:230]: Resetting cached policy values
MSI (s) (0C:38) [16:02:04:230]: Machine policy value ‘Debug’ is 0
MSI (s) (0C:38) [16:02:04:230]: ******* RunEngine:
******* Product: C:\usb\ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi
******* Action:
******* CommandLine: **********
MSI (s) (0C:38) [16:02:04:230]: Note: 1: 2203 2: C:\usb\ID-One_Token_driver_3.3.3_win_Vista_7_8_64bit.msi 3: -2147287038
MSI (s) (0C:38) [16:02:04:230]: MainEngineThread is returning 2
MSI (s) (0C:90) [16:02:04:230]: User policy value ‘DisableRollback’ is 0
MSI (s) (0C:90) [16:02:04:230]: Machine policy value ‘DisableRollback’ is 0
MSI (s) (0C:90) [16:02:04:230]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (0C:90) [16:02:04:230]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (0C:90) [16:02:04:230]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (0C:90) [16:02:04:230]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI © (B4:8C) [16:02:04:230]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI © (B4:8C) [16:02:04:230]: MainEngineThread is returning 2
=== Verbose logging stopped: 24/4/2018 16:02:04 ===

This looks like the actual exit code; now that it’s running through BigFix I would suggest you need to research what this code means and how it impacts your MSI deployment.

64-bit package probably needs to use 64-bit msiexec, but you’re in the 32-bit BES Client.

Try adding
action uses wow64 redirection false
to your action script anywhere before the msiexec commands.

1 Like

The code is apparently 0x80030002 which can mean a few things depending on context in Windows one of which is STG_E_FILENOTFOUND and another is an OLE error

1 Like