|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
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" <hari@discussions.microsoft.com> wrote in message news:75647CE5-29B6-4B56-BA3F-2FD197FD1B0A@microsoft.com... > Is there way to uninstall msis using upgrade code instead of product code? > > Hari > |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
Hi,
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" <hari@discussions.microsoft.com> wrote in message news:75647CE5-29B6-4B56-BA3F-2FD197FD1B0A@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 <hari@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" <hari@discussions.microsoft.com> wrote in message news:75647CE5-29B6-4B56-BA3F-2FD197FD1B0A@microsoft.com... Submitted via EggHeadCafe - Software Developer Portal of Choice Measuring SharePoint Page Rendering http://www.eggheadcafe.com/tutorials...oint-page.aspx |
|
|
|
#4 (permalink) |
|
Guest
Posts: n/a
|
For any installed MSI-based product, there is a cached MSI file in
Windows\installer. Open with Orca to see UpgradeCode in the Property table. If you float the mouse over the .msi file it may tell you the product name. -- Phil Wilson The Definitive Guide to Windows Installer http://www.apress.com/book/view/1590592972 "Rajesh R" wrote in message news:201031905732rajesh8487@gmail.com... > Hi, > > 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" <hari@discussions.microsoft.com> wrote in message > news:75647CE5-29B6-4B56-BA3F-2FD197FD1B0A@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 <hari@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" <hari@discussions.microsoft.com> wrote in message > news:75647CE5-29B6-4B56-BA3F-2FD197FD1B0A@microsoft.com... > > > Submitted via EggHeadCafe - Software Developer Portal of Choice > Measuring SharePoint Page Rendering > http://www.eggheadcafe.com/tutorials...oint-page.aspx |
|