Hi Eric,
Is it possible, using a Custom Action, to call the previous
apps uninstall routine? If not, help on how to uninstall the
previous version while still using the .Net installer would
be appreciated.
Based on my experience, a custom action is not suitable for removing an
existing product. The general convention to do such a task is via the
installation process' standard action--RemoveExistingProducts. To apply
this approach, you only need to add a corresponding row to specify the
target product's UpgradeCode and Product Code in your installation package
Upgrade table, e.g.
YourPreviouApp's UpgradeCode 1.0.0 Null Null 256 Null
YourPreviouApp's ProductCode
(Null means you don't need to specify a value in the corresponding cell)
But I am afraid you need to modify your installation package(.msi) via the
Orca utility:
Orca.exe
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/o
rca_exe.asp)
The Visual Studio IDE doesn't have this function.
For the details information about the RemoveExistingProducts action, please
refer to the following Platform SDK article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/r
emoveexistingproducts_action.asp
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================