The PackageConversionScript.ps1 is a PowerShell script that converts an old unsigned package (non-password protected zip files consist of one projectsettings.xml file and one PSWDisplayText.sql file in it) to a new format (consist of two xml files) unsigned package structure. The script is provided with the installer folder with a separate directory called PackageConversionScript.
Before running the script, you must have the following:
-
Package with older format: A zip folder containing exactly two
files:
- projectsettings.xml
- PSWDisplayText.sql
Note: Both of these files are required for the script to work. If either is missing, the script will throw an error. - PowerShell: The script is written in PowerShell, so you need to have PowerShell available in your system. Ensure that you can run scripts in PowerShell (check execution policy if necessary).
| Old package format | New package format (unsigned) |
|---|---|
|
Zip file
|
Zip file
|
The folder PackageConversionScript, contains the following file to convert:
- PackageConversionScript.ps1
To run the script and convert your old package: