I am using AdvancedInstaller Enterprise edition version 22.2.
In my project we using "uninstall old version first, then install new version" order for an upgrade,During a rollback, we used a PowerShell script to restore the product to a previous version, and it worked as expected.
The main problem occurs when a user attempts to reinstall the product after a rollback occured; the installer fails to detect the old installed version that has been restored, resulting in the OLDPRODUCT property value being empty.
Code: Select all
AI_SetMsiProperty OLDPRODUCTS $ProductCodeI m asking is there a workaround to set this secure custom property during an upgrade?
Thank you.
Skipping action: AI_PREPARE_UPGRADE (condition is false)
FOLLOW US