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!

Thewads
Posts: 8
Joined: Thu Jul 18, 2013 3:49 pm

Update causing temp files to be removed

Hi, I have run into an issue while going through the process of getting Updating to work.
The update method used is to do an uninstall and then install.

My problem is as follows:
I have several custom actions which rely on files in the Temp folder, and these all run perfectly well on a clean install.
When it comes to updating however, the custom actions fail, as it seems the Temp files have been removed as part of the AI_RemoveAllTempFiles action.
This action seems to be getting done after install initialize and after install finalize.
Is there a way to turn off the removal of temp files on updating, or should I just remove the AI_RemoveAllTempFiles action that is being done at install initialize?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update causing temp files to be removed

Hello,

In order to have a better view of your installation scenario can you please send us the AIPs (project files) of your old and upgraded product versions and a verbose log of the upgrade installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”