|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Hi,
I have a product installed using windows installer. Now I am trying to install another version of same product. I have option to remove the previous installation by using "RemovePreviousVersions" property. Is there an option to find my existing installation, and provide option to uninstall it. Thanks in Advance |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
Hello,
In MSI previous versions are removed with the RemoveExistingProducts action. This action has to be scheduled in the InstallExecuteSequence. For the right place, look here: http://jpassing.com/2007/06/16/where...r-msi-upgrade/ Use the Upgrade table to detect previous versions of your product. -> http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx Best regards, Sebastian Brand http://blog.sebastianbrand.com On Feb 25, 6:52*am, Akash <Ak...@discussions.microsoft.com> wrote: > Hi, > I have a product installed using windows installer. Now I am trying to > install another version of same product. I have option to remove the previous > installation by using "RemovePreviousVersions" property. > > Is there an option to find my existing installation, and provide option to > uninstall it. > > Thanks in Advance |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
RemovePreviousVersions is th Visual Studio implementation of RemoveExistingProducts. There's no mechanism in VS setups to ask if the user wants to uninstall the previous version. It just dies it. -- Phil Wilson [Microsoft MVP-Windows Installer] "Akash" <Akash@discussions.microsoft.com> wrote in message news:F29EF474-54A7-4C45-BE98-89B2FCD3A5A3@microsoft.com... > Hi, > I have a product installed using windows installer. Now I am trying to > install another version of same product. I have option to remove the > previous > installation by using "RemovePreviousVersions" property. > > Is there an option to find my existing installation, and provide option to > uninstall it. > > Thanks in Advance |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|