Software Deployment Question

Windows 10 Managed Installation with MSI Will Not Run

10/06/2016 2132 views
I've got a Managed Installation that points to a software record with an associated file (MSI), but it will not install on a Windows 10 PC. I selected Override Default Installation and entered /a Surface_Dock_Updater_v1.0.8.0.msi /qn /L*V "install.log" in the Full Command Line: field. It downloads to the Windows 10 PC, but it will not complete the install and does not even generate a log. I am able to get it to complete the install and generate a log if I manually launch a command prompt As Administrator  and run the exact same command as above.

Am I doing something wrong or does Windows 10 require a different method of running MSIEXEC via the K1000?
0 Comments   [ + ] Show comments


Community Chosen Answer

The command line argument '/a' performs an administrative install, i.e. if the MSI contained an internal cabinet, it extracts the files to a target folder and creates a "new" MSI with flags that it is now an uncompressed MSI. If it was already uncompressed, the files are merely copied to the target location, along with the MSI.
Answered 10/07/2016 by: anonymous_9363
Red Belt

  • missed that... well spotted...
  • I've tried it without the /a switch, but that didn't start the install or create a log file either.

All Answers

>I've tried it without the /a switch, but that didn't start the install or create a log file either.
Remember to use explicit paths rather than relying on the system to "find" the files. The most efficient way to do that would be to wrap the command line into a command file and use the '%~DP0' prefix to the file names:

msiexec /i "%~dp0Surface_Dock_Updater_v1.0.8.0.msi" /qn /l*v "%windir%\temp\install_Surface_Dock_Updater_v1.0.8.0.log"
Answered 10/11/2016 by: anonymous_9363
Red Belt

as you can install it manually using an Administrator account, I suspect it has something to do with the "system" account of the deployment tool. Have you tried using a "system" account (psexec) and manually installing it?

Answered 10/06/2016 by: Pressanykey
Red Belt

  • I'm not saying it's an administrator account. I'm saying if I launch a command prompt AS ADMIN (right-click Start button > select Command Prompt (Admin).
    • That is an account with administrative permissions...

      Please try my suggestion regarding the psexec tool and see if you have the same result as you do with your deployment tool. There are many msi based installation packages that do not install (correctly) using the system account. If you can conform that this is not the case we will be a step further.

      • When I psexec into the PC and run the same command with a local admin account it at least attempts the install as the log file is created, but the software does not actually install.

I believe with MSI files you need to use msiexec.exe with " /a Surface_Dock_Updater_v1.0.8.0.msi /qn /L*V "install.log" ". 

So it should be :  

msiexec.exe  /a Surface_Dock_Updater_v1.0.8.0.msi /qn /L*V "install.log"

Hope this helps,

Answered 10/06/2016 by: Cldstrife
Yellow Belt

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