PowerShell Package Wrap Wizard

AdminStudio 2018 | Application Manager | PowerShell Wizard

You can use the PowerShell Package Wrap Wizard to convert Windows Installer packages (.msi) and complex installation packages (.exe) to PowerShell wrapped packages (PowerShell script .ps1 files) using the PowerShell App Deployment Toolkit.

PowerShell is a task automation and configuration management framework from Microsoft. The PowerShell App Deployment Toolkit provides a set of functions to perform common application deployment tasks and to interact with the user during a deployment. By wrapping an existing Windows Installer or complex installation package in a PowerShell script, you are able to automatically perform deployment tasks both before and after installation.

You can convert the following deployment types into a PowerShell wrapped package:

Windows Installer packages (.msi)
InstallShield InstallScript .exe files
InstallShield Basic MSI installers that are compressed into a setup.exe file
InstallShield Suite Installer .exe files
Wise Package Studio .exe files
Other executable file types that can be uncompressed by 7-ZIP

The PowerShell Package Wrap Wizard uses the PowerShell template files to perform the conversion. For more information, see PowerShell Script Template Files.

To launch the PowerShell Package Wrap Wizard, right-click on a Windows Installer (.msi) or installation package (.exe) package in the Application Catalog tree and select Wrap Package from the menu.

The PowerShell Wrap Wizard consists of the following panels:

PowerShell Wrapping Options Panel
Wrapping Package Panel

PowerShell Wrapping Options Panel

On the PowerShell Wrapping Options panel of the PowerShell Wrap Wizard, you need to specify the Output Directory, the location where the PowerShell-wrapped package will be stored.

PowerShell Wrapping Options Panel of PowerShell Package Wrap Wizard

If you want to edit the default PowerShell script file in Windows PowerShell ISE after the package has been wrapped, select Edit script on wrapping option.

Click Next to proceed.

Wrapping Package Panel

After you initiate the wrapping process by clicking Next on the PowerShell Wrapping Options panel, the Wrapping Package panel opens and wrapping is initiated. When the process is complete, confirmation messages are listed.

Wrapping Package Panel of PowerShell Package Wrap Wizard

Click Finish to close the wizard.

If you selected the Edit script on wrapping option on the PowerShell Wrapping Options panel, the Windows PowerShell ISE application opens and you are prompted to edit the PowerShell script file that you just created, as described in Editing a PowerShell-Wrapped Package

In the Application Catalog tree, the .msi or .exe deployment type icon for the package you just wrapped has been replaced with a PowerShell deployment type icon.

PowerShell Deployment Type Icon

Important • All of the OS compatibility, application virtualization compatibility and best practices ICE tests results that were generated by testing the package before it was wrapped are carried over and are viewable on Analyze tab when you select its new PowerShell deployment type icon.

Note • Log files for the PowerShell Package Wrap Wizard can be found at: C:\Windows\Logs\Software.

See Also