/build/static/layout/Breadcrumb_cap_w.png
10/06/2016 1657 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

Comments



Community Chosen Answer

2
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: VBScab
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

1
>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: VBScab
Red Belt

0
Hi,
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?

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

      Phil
      • 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.
-2
Hello,

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,

Robert
Answered 10/06/2016 by: Cldstrife
Yellow Belt