Corel PaintShop Pro X4
This is the package for Corel PaintShop Pro X4. It also includes the current SP1 and SP2 instructions.
Edit the setup.xml like this:
<Property name="AcceptLicense" value="1" />
<Property name="SHOWSERIALDIALOG" value="false" comment="true will show the serial number dialog, false will skip it" />
<Property name="SERIALNUMBER" value="XXXX-XXXX....." persist="1"
comment="When you remove the hardcoded serial number, just set the value to blank, do not remove this node or the SERIALNUMBER
will not be saved after you perform an admin install" />
<Property name="ALLOW_PRODUCTUPDATES" value="0" persist="1"
comment="needs to be saved from admin installs, Script.dll will default it off if we are running an admin setup" />
Download the service packs 1 and 2 (don't know if 2 includes 1). You can either extract each using Uniextract with 'isxunpack extraction' and then apply over the source folder using command: setup.exe /admin (this prompts you for the source directory) or you can run PSPX4_SP1.exe /admin and PSPX4_SP2.exe /admin and it will do the same thing.
There is a registry entry for uninstall of: MsiExec.exe /x{00AE1A2D-7BC2-4359-A0EC-E19F36E391BB} BUT I found this DOESN'T WORK silently even with /QN
<package
id="corelpspx4"
name="CorelDraw PaintShop Pro X4"
revision="1"
priority="2">
<variable name="version" value="14.0.0.346" />
<check type="uninstall" condition="versionequalto" path="Corel PaintShop Pro X4" value="%version%" />
<install cmd='%SOFTWARE%\Corel\CorelPSProX4\setup.exe /PASSIVE /ALLUSERS=1 /QN'/>
<remove cmd='%SOFTWARE%\Corel\CorelPSProX4\setup.exe /X /Q'/>
</package>