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!

Michael
Posts: 3
Joined: Thu Aug 03, 2006 7:26 am

Problems on Deleting Files in Update

Hi,
we use the Professional Version of Advanced Installer. We want to Update one of our programs by a new msi file. But there is a problem. In the older Version that is installed there is a folder with some xml-files. The new version of our software that should be installed doesn't has this folder anymore because it isn''t needed any longer. We have the problem, that this folder isn't deletd by the update. How can we set this function. Isn't it deleted autmatically?



Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Isn't it deleted autmatically?
By default on upgrade Advanced Installer uninstall old version of you package (delete all files) and install new one. I have tested this an works fine.

Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Michael
Posts: 3
Joined: Thu Aug 03, 2006 7:26 am

gigi wrote: By default on upgrade Advanced Installer uninstall old version of you package (delete all files) and install new one. I have tested this an works fine.
Hi gigi,
ok, i tried it also with some other files in it. There it works also fine as you said. But if this xml file is in it, both aren't deleted. if i delete the xml file manually erverthing is fine like with ather files....

Thanks
Michael
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Are those xml files created dynamically (by a custom action for example or by your main application)? Because in this case Windows Installer cannot delete them. You need to create a custom action to delete those files.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Michael
Posts: 3
Joined: Thu Aug 03, 2006 7:26 am

Ok this should be the mistake. This xml file contains only some informations for the logging when the application is startet. So when trying to update the application, the application is not runnning. Nobody uses this file when the update runs. So i think its like a normal file but i have to check this once again.

Thanks
gigi

Return to “Common Problems”