Martin
Posts: 6
Joined: Thu Oct 23, 2008 2:36 pm

Schedule RemoveExistingProducts action after InstallFinalize

Hello,

I encountered the following problem when performing an upgrade with our installer:
http://support.microsoft.com/?scid=kb%3 ... &x=14&y=11

How do I perform the Microsoft's workaround no. 2 with Advanced Installer?
I use AI 6.6 with an enterprise license.

Thx in advance,
regards,
Martin
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Schedule RemoveExistingProducts action after InstallFinalize

Hi Martin,

Currently this can be done only by editing the MSI with Orca. However, the next version (6.7) which is scheduled for release in the near future will include a feature which allows you to move "RemoveExistingProducts" after "InstallFinalize".

Until then, you can try using the "Ensure that this file overwrites any installed target file" option in the Version tab of the "Edit File" dialog. This should make Windows Installer install the assembly during an upgrade.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Martin
Posts: 6
Joined: Thu Oct 23, 2008 2:36 pm

Re: Schedule RemoveExistingProducts action after InstallFinalize

Thx for your reply!
"Ensure that this file overwrites any installed target file" won't work in our case, as the affected assemblies come from MS VC 2005 merge modules. We will stick to the VC redist installer for the time being, but we're looking forward to version 6.7!

Thanks again,
regards,
Martin

Return to “Common Problems”