Environment variables get deleted during upgrade. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Environment variables get deleted during upgrade.

Hi advanced-installer team,
We use the option "install new version first then uninstall old version". During the uninstall of the old version in upgrade phase the evironment variables get deleted, although they are still present in the upgrading version. This always happens for the os windows 7 and windows server 2008. Options we use for the environment variables: On install: create or update, Remove on uninstall and system variable. Behavior: "replace"; Seperator: ";".

Any ideas why this is happening?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Environment variables get deleted during upgrade.

Hello,

In an upgrade process with the "Install new version first and then uninstall old version" option enabled, the components GUIDs are used to verify sharing resources between versions, thus if the components' GUIDs will not be the same, the resources will get deleted.

You can verify the GUIDs of your environment variables components in the Organization page to make sure this is not the case.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”