Please be aware that there is also the possibility of extending RayPackage with a customized Import-Packages-Plugin. Having the requirements our consulting team can integrate that plugin to reduce the number of manual steps when creating RMS Packages for software deployment.
This article describes a standard procedure to create RMS packages in RayManageSoft based on PackageStore sources.
The starting location is the RMS console's dashboard.
- Open the Software Library Snapin and then click the "New Project" button.
- Select "Third party installer (.exe) project" type.
- Select the "Deploy-Application.exe" of the PackageStore sources.
Make sure to activate "Copy supporting files" and select "Other installation technology" as type.
- Enter basic information such as name and version.
- Make sure the destination is defined as desired.
- Enter the following command line parameters to trigger installation:
"Deploy-Application.ps1" -DeploymentType "Install" -DeployMode "Silent"
- Enter a unique key (detection key) for the RMS Package. This key is checked and the execution of the executable only triggered in case the key is not found.
- Key: SOFTWARE\ManageSoft Corp\ManageSoft\Installed\InfoPath
- Name: CurrentVersion
- Value: 18.104.22.168
Define "Uninstall registry key" and enter the following uninstall command:
"Deploy-Application.exe" "Deploy-Application.ps1" -DeploymentType "Uninstall" -DeployMode "Silent"
- Select desired target environment.
- Check summary page to verify your settings.
- Next click on "Customize the package".
- Go to "Variables" and edit the "ExternalInstallerUninstallCommandLine" variable. Select "Value overrides managed devices settings" and apply your change.
- As the detection key was defined during the creation of the package for the external installer a registry key entry needs to be created by the RMS package itself. This way the installer is triggered only once during the first installation of the package. To create a proper registry key go to Registries and create the entry using "Add key" and "Add value" and apply your change.
Make sure to select the action "Always set to value" when defining the value entry.
- In case a reboot is required you can configure this in "Reboot" and apply the change.