Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Windows MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 03-15-2010, 06:54 PM   #1 (permalink)
Akash
Guest
 
Posts: n/a
Default Find a product is already installed during installation

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
  Reply With Quote
Old 03-15-2010, 06:54 PM   #2 (permalink)
Sebastian Brand
Guest
 
Posts: n/a
Default Re: Find a product is already installed during installation

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


  Reply With Quote
Old 03-15-2010, 06:54 PM   #3 (permalink)
Phil Wilson
Guest
 
Posts: n/a
Default Re: Find a product is already installed during installation


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



  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:03 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com