Temporary Files in Upgrades using AI v6.4 - 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!

thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Temporary Files in Upgrades using AI v6.4

I am having an odd issue, when I perform an upgrade from a previous installation.

When the installer executes, the temporary files get copied to the temp folder. When the installer detects a previous installation, it initiates the uninstall process for the previous package. However when this happens, the temporary files get replaced with the temporary files from the package being uninstalled. When the uninstall is completed, the temporary files are removed, but the original temporary files from the package initiating the installation never get placed back.

How can I go about resolving this?

Thanks!

Trey
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Temporary Files in Upgrades using AI v6.4

Hi Trey,

This can be avoided by conditioning the temporary files to not be extracted during an upgrade. The condition can be set in the "Condition" field of the Edit Temporary File dialog and it can look like this:

Code: Select all

NOT UPGRADINGPRODUCTCODE
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Re: Temporary Files in Upgrades using AI v6.4

Thanks Cosmin,

I'll give that a shot.

Best regards,

Trey

Return to “Common Problems”