Purpose:
Automatic reset of package does not work for upgrade packages
Cause:
When streaming upgrade packages the SWS environment assume that we will not touch the RW sublayer and any information written to in a layer while activated will now exist in the RW sublayer and not the RO sublayer. By design an upgrade package will only change files and registry keys in the RO sublayer.
Solution:
With the 7zip or other compression utility extract the contents of the xpf and look for the _package.xml. There are two variables that needs to changed:
- baseVersion
- Version
Change
<PackageInformation id="{e9e8a019-c358-4ed7-aec3-dbca05eb6a4a}"version="1" type="snapshot"baseVersion="0" iconFileId="4294967295" iconFileType="" icoIconFileId="4294967295" category="">
To
<PackageInformation id="{e9e8a019-c358-4ed7-aec3-dbca05eb6a4a}"version="1" type="snapshot"baseVersion="2" iconFileId="4294967295" iconFileType="" icoIconFileId="4294967295" category="">
Next save the file and re-compress the file to a zip.
rename the file from .zip to .xpf.