Scripting Question

Having issues deploying Office 2016

02/21/2017 5348 views
Hey all, 

So I'm new to using the 'click to run installer' method for installing office. 

Currently I'm using this guide http://www.itninja.com/blog/view/how-to-install-microsoft-office-365-with-dell-kace-k1000-in-few-simple-steps to try to install Office 365 with 2016 apps. 

The issue I'm running into is I wasn't able to upload my files to kace, so I moved them to a network drive where we store all of our installers. KACE sees the package, prompts for install, copies files to the directory on the local machine and makes the temp directory... But then the setup.exe just doesnt seem to run. 

Config for office XML: 

bat file being run to kick start setup exe:

Kace installer config: 


What am I doing wrong here? 
1 Comment   [ + ] Show comment


  • I am having issues pushing a distribution out via the K1000 to install Office 2016. I zipped the Office 2016 folder and uploaded it to the k1000 distribution. When I push the installation it starts on the pc but never installs.
    If I run the installation manually from that same computer it successfully installs. Why does it not want to install when pushed through the K1000?

    Any help is appreciated.

Community Chosen Answer

Tick the box 'Don't prepend msiexec.exe'
Answered 02/21/2017 by: flip1001
Black Belt

  • Still fails to launch the setup.exe it seems. Copies all the files over
    • did you ever resolve this?

All Answers

try the setting below. I found that it works better for me then the override setting

Answered 02/23/2017 by: DLCurtis
Orange Belt

  • Not using a .exe to install, the bat kickstarts and moves the files to a local machine. Basically whats happening is as far as I can tell, the script copies the files to the local machine. I see that happen, but setup.exe fails to start (Machines are managed not admin) I may have to code some sort of user or local admin during the install for it to use.

    Although the test box I'm using I'm logged in as admin so it shouldn't be an issue...
  • Has anyone managed to install 2016 using the click to run ? This is quite troublesome compared to prior ways with the msi config tools.
    • I have a working command line that is ran from inside of batch file. Can you post what is in you batch file? OR Are you not able to get the agent to even call that batch file?
      • @ECHO OFF
        REM Script written by Marco S. Zuppone for DELL.
        REM Try it before to use in production !!
        IF NOT EXIST "C:\TempOffice" (MKDIR "C:\TempOffice") ELSE (DEL "C:\TempOffice\*.*" /F /S /Q)
        XCOPY /E *.* "C:\TempOffice"
        PUSHD %cd%
        CD "C:\TempOffice"
        setup.exe /configure configuration.xml
        RMDIR /S /Q "c:\Tempoffice"

        The agent calls the batch file and it does initiate the copy/creation of the folder. It's just when it tries to run setup.exe it fails it seems, then just goes right to RMDIR
    • I cannot reply to your last comment. So I am just doing it up here.

      Will this batch run out side of KACE? As I found that when I called my setup.exe that I had to give a full path for the EXE and the XML file.
      • It runs locally on the machine, if I move all contents and the bat file locally and run it on the desktop it works.

        Currently I just have KACE executing the batch file from a shared network drive. It does work locally. It's somewhat strange because KACE is executing it from the networkdrive, but the batch should just move it all to local and install.
    • Ok, i have my batch copied down but run the installer from the network. It only has one line to it.

      "W:\Applications\Microsoft\office2016ProPlus\deployment tools\setup.exe" /configure "W:\Applications\Microsoft\office2016ProPlus\deployment tools\configuration.xml"

      This share is replicated to each of my sites but the path this the same.
      • All of my machines don't have this drive mapped but should see it on the network. Did you have any luck?
    • I changed this over to UNC paths and made sure that I was running on Online Kscript. Looks to be working now for even my stranglers.
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