→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mwrobo09
Champion Sweeper

I wanted to create a template so that none of my deployments will deploy to a server to meet the requirements of my server team so that nothing is accidently pushed to a server. This serves my needs until some of the deployment requests are fulfilled.

Import the template and start all your packages with it.

If you have existing packages, you can export the package from Lansweeper. Then open the downloaded XML file in a text editor. Copy the following steps and paste after the STEPS heading in the XML and then renumber the steps from your exported package starting with 5. Save the file and then click the import in the deployments Tab in lansweeper and select the file.

<Step>
<Nr>1</Nr>
<Name>Check OS for Win7</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>5</Success>
<Failure>-1</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>4</Type>
<SpecOne></SpecOne>
<SpecTwo></SpecTwo>
<Operator></Operator>
<Value>Win 7</Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>2</Nr>
<Name>Check OS for Win8</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>5</Success>
<Failure>-1</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>4</Type>
<SpecOne></SpecOne>
<SpecTwo></SpecTwo>
<Operator></Operator>
<Value>Win 8</Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>3</Nr>
<Name>Check OS for Win8.1</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>5</Success>
<Failure>-1</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>4</Type>
<SpecOne></SpecOne>
<SpecTwo></SpecTwo>
<Operator></Operator>
<Value>Win 8.1</Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>4</Nr>
<Name>Check OS for Win10</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>5</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>4</Type>
<SpecOne></SpecOne>
<SpecTwo></SpecTwo>
<Operator></Operator>
<Value>Win 10</Value>
</Condition>
</Conditions>
</Step>



One issue is when you import the file, it creates another deployment with the same name but a different ID. If you delete the old deployment, you will no longer see in the deployment logs where that deployment was deployed to. This will also remove the entries for the old package in the asset page when clicking on the deployments tab.

Marty

0 REPLIES 0