→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
OBradleyUSA
Engaged Sweeper
*The three files are copied to the local machine with another command and it works perfectly*


The files has been copied to the local computer. One executable, one XML file, and one CMD file that runs the following line.

Setup.exe /configure C:\Users\Public\Downloads\OFFICE.xml

When I create a second command to run the CMD file on the local machine, it gives me the following error.

Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (domain\lansweeper_user). ShareCredential: (user1).
Command: C:\Users\Public\Downloads\Office365.cmd

*The CMD file has admin rights to run and execute.


Commnand

Install Office

c:\Users\Public\downloads\Office365.cmd

Success code: 0, 1641, 3010
Action on success: Stop(success)
Action on failure: Stop(failure)


What am I doing wrong? Help. I new doing this.

OB

3 REPLIES 3
looktall
Engaged Sweeper III
I don't know what that software versions signifies.

It's not something i have set.

The important thing is that you use the correct pathways relative to your M365 apps.
looktall
Engaged Sweeper III
You don't need to copy any files to the local computer.

Place your O365 source files inside your deployment share.

Run the deployment as an installer.

Mine is like below.

<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>App Install - Office x64</Name>
<Description></Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>5400</MaxDuration>
<Rescan>True</Rescan>
<RunMode>1</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Install Office</Name>
<Type>1</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>4</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\Office 2019 x64\setup.exe</Path>
<Parameters>/configure "{PackageShare}\Office 2019 x64\InstallOffice2019x64.xml"</Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\Office 2019 x64\setup.exe" /configure "{PackageShare}\Office 2019 x64\InstallOffice2019x64.xml"</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>9.1.41.1</SoftwareVersion>
</Package>
looktall wrote:
You don't need to copy any files to the local computer.

Place your O365 source files inside your deployment share.

Run the deployment as an installer.

Mine is like below.

<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>App Install - Office x64</Name>
<Description></Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>5400</MaxDuration>
<Rescan>True</Rescan>
<RunMode>1</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Install Office</Name>
<Type>1</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>4</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\Office 2019 x64\setup.exe</Path>
<Parameters>/configure "{PackageShare}\Office 2019 x64\InstallOffice2019x64.xml"</Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\Office 2019 x64\setup.exe" /configure "{PackageShare}\Office 2019 x64\InstallOffice2019x64.xml"</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>9.1.41.1</SoftwareVersion>
</Package>




Hi again

I noticed that in one of the last lines of your deployment installer lines point to a software version. I am using Office 365 apps for Enterprise. Can I put it as Office 365 apps for Enterprise?