Hari
> Is there way to uninstall msis using upgrade code instead of product code?
If you have the upgrade code, you can get the product codes with
MsiEnumRelatedProducts or Installer.RelatedProducts. Then just
loop and uninstall them one at a time.
Alternatively, you could construct an MSI package that lists
the upgrade code in the Upgrade table and then runs the
FindRelatedProducts and RemoveExistingProducts actions. This
package would not have to register itself with Windows Installer.
A one-off package like this mostly seems like unnecessary
complexity, but it might be a way to uninstall multiple packages
in one transaction even before Windows Installer 4.5.
"hari" <ha...@discussions.microsoft.com> wrote in message
news:75647CE5-29B6-4B56...@microsoft.com...
I want to find upgrade codes for an application might be filezilla etc
Is there a way for it in registry
Thanks,
Rajesh
Phil Wilson wrote:
If you're willing to write some code, yes, and use MsiEnumRelatedProducts on
17-Feb-09
If you're willing to write some code, yes, and use MsiEnumRelatedProducts on
the UpgradeCode to get the installed ProductCode(s).
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"hari" <ha...@discussions.microsoft.com> wrote in message
news:75647CE5-29B6-4B56...@microsoft.com...
Previous Posts In This Thread:
On Tuesday, February 17, 2009 3:08 PM
har wrote:
Uninstall using upgrade code
Is there way to uninstall msis using upgrade code instead of product code?
Hari
On Tuesday, February 17, 2009 4:25 PM
Kalle Olavi Niemitalo wrote:
Re: Uninstall using upgrade code
hari <ha...@discussions.microsoft.com> writes:
If you have the upgrade code, you can get the product codes with
MsiEnumRelatedProducts or Installer.RelatedProducts. Then just
loop and uninstall them one at a time.
Alternatively, you could construct an MSI package that lists
the upgrade code in the Upgrade table and then runs the
FindRelatedProducts and RemoveExistingProducts actions. This
package would not have to register itself with Windows Installer.
A one-off package like this mostly seems like unnecessary
complexity, but it might be a way to uninstall multiple packages
in one transaction even before Windows Installer 4.5.
On Tuesday, February 17, 2009 4:28 PM
Phil Wilson wrote:
If you're willing to write some code, yes, and use MsiEnumRelatedProducts on
If you're willing to write some code, yes, and use MsiEnumRelatedProducts on
the UpgradeCode to get the installed ProductCode(s).
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"hari" <ha...@discussions.microsoft.com> wrote in message
news:75647CE5-29B6-4B56...@microsoft.com...
Submitted via EggHeadCafe - Software Developer Portal of Choice
Measuring SharePoint Page Rendering
http://www.eggheadcafe.com/tutorials/aspnet/c0a9ac9e-53cd-442f-8981-9d5f236c2be5/measuring-sharepoint-page.aspx
"Rajesh R" wrote in message news:20103190573...@gmail.com...