Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Enzo
Engaged Sweeper III

Hello.

I need to install Office LTSC 2024. I have already copied the software to the Lansweeper shared folder (OfficeLSTC). I must run the following command to install it on the workstations (setup.exe /configure configuration.xml).

Inside the OfficeLSTC folder are all the files, including setup.exe and configuration.xml.

Can you tell me how I can create this deployment package?

Thank you.

Enzo.

1 ACCEPTED SOLUTION
Enzo
Engaged Sweeper III

Hello team.

I was able to solve the problem with the following scripts:

<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>Install Microsoft Office LTSC Professional Plus 2024</Name>
<Description>Install Office LTSC 2024 64Bits - 16.0.17932.20360</Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>1800</MaxDuration>
<Rescan>False</Rescan>
<RunMode>1</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Check the Version in the Server Lansweeper</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>1</Type>
<SpecOne>{PackageShare}\installers\OfficeLTSC1\</SpecOne>
<SpecTwo>Setup.exe</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
<Condition>
<Type>1</Type>
<SpecOne>{PackageShare}\installers\OfficeLTSC1\</SpecOne>
<SpecTwo>Configuration.xml</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>2</Nr>
<Name>Create the Folder C:\Temp</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-1</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>mkdir c:\Temp</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>3</Nr>
<Name>Check Folder OfficeLTSC1 Exist in the Local Computer</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>-1</Success>
<Failure>5</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>1</Type>
<SpecOne>C:\TEMP\OfficeLTSC1\</SpecOne>
<SpecTwo>Setup.exe</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>4</Nr>
<Name>Delete the Folder C:\Temp\OfficeLTSC1</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>rmdir /s /q C:\Temp\OfficeLTSC1</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>5</Nr>
<Name>Copy Folder - OfficeLTSC1 - C:\Temp</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>xcopy.exe \\servername\DefaultPackageShare$\Installers\OfficeLTSC1 C:\Temp\OfficeLTSC1 /E /I /Y</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>6</Nr>
<Name>Install OfficeLTSC1</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-2</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>C:\Temp\OfficeLTSC1\setup.exe /configure C:\Temp\OfficeLTSC1\OfficeUpdate.xml /norestart /qn</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>12.3.3.0</SoftwareVersion>
</Package>

 

View solution in original post

1 REPLY 1
Enzo
Engaged Sweeper III

Hello team.

I was able to solve the problem with the following scripts:

<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>Install Microsoft Office LTSC Professional Plus 2024</Name>
<Description>Install Office LTSC 2024 64Bits - 16.0.17932.20360</Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>1800</MaxDuration>
<Rescan>False</Rescan>
<RunMode>1</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Check the Version in the Server Lansweeper</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>1</Type>
<SpecOne>{PackageShare}\installers\OfficeLTSC1\</SpecOne>
<SpecTwo>Setup.exe</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
<Condition>
<Type>1</Type>
<SpecOne>{PackageShare}\installers\OfficeLTSC1\</SpecOne>
<SpecTwo>Configuration.xml</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>2</Nr>
<Name>Create the Folder C:\Temp</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-1</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>mkdir c:\Temp</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>3</Nr>
<Name>Check Folder OfficeLTSC1 Exist in the Local Computer</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>-1</Success>
<Failure>5</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>1</Type>
<SpecOne>C:\TEMP\OfficeLTSC1\</SpecOne>
<SpecTwo>Setup.exe</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>4</Nr>
<Name>Delete the Folder C:\Temp\OfficeLTSC1</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>rmdir /s /q C:\Temp\OfficeLTSC1</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>5</Nr>
<Name>Copy Folder - OfficeLTSC1 - C:\Temp</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-1</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>xcopy.exe \\servername\DefaultPackageShare$\Installers\OfficeLTSC1 C:\Temp\OfficeLTSC1 /E /I /Y</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>6</Nr>
<Name>Install OfficeLTSC1</Name>
<Type>2</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-2</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>C:\Temp\OfficeLTSC1\setup.exe /configure C:\Temp\OfficeLTSC1\OfficeUpdate.xml /norestart /qn</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>12.3.3.0</SoftwareVersion>
</Package>

 

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now