RemoveExistingProducts without removing old files - 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!

versatilia
Posts: 1
Joined: Sun Jan 14, 2007 4:40 pm
Location: UK

RemoveExistingProducts without removing old files

Hi, I am re-packaging a legacy application which does not support Windows Installer. I need to re-package the upgrades too. This app does upgrades by releasing a set of files which need to be installed *over the top* of the existing app.

So I need to make an upgrade package which will not delete the previous version's files. This is because the legacy app stores data and program files all mixed up.

The initial installation of this app using my re-packaged version is already installed, so I can't go back and set 'do not remove' properties on the files etc.

I have searched this forum and tried the best looking solution - editing the MSI with ORCA to edit the RemoveExistingProducts action. I have tried putting this action just before InstallFinalize (which caused an error), and I tried removing it (which worked but left the old version in Add/Remove Programs).

I can't believe this is so difficult - can anyone help?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If the older application is not to packaged using Windows Installer then "RemoveExistingProducts" action does not applies in this context.

For a similar approach on how to detect and remove an older application that is not packaged with Windows Installer please see:
http://www.advancedinstaller.com/forums ... php?t=1451

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”