HighTechTalks DotNet Forums  

Remove Previous Version problem with Windows Installer

Visual Studio.net (General) microsoft.public.vsnet.general


Discuss Remove Previous Version problem with Windows Installer in the Visual Studio.net (General) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old   
N Thorell
 
Posts: n/a

Default The "RemovePreviousVersion" property is not available - 10-25-2004 , 05:39 AM






The "RemovePreviousVersion" property is not available under "Deployment
Properties". In fact, there are almost no properties available on that page.

"N Thorell" wrote:

Quote:
When working with a (C#) setup project in Visual Studio, where and how can I
set the 'RemovePreviousVersion' property? And the 'UpgradeCode' and
'ProductCode' properties?
I have been able to make an installation from the resulting .msi file, but
how do I set all the options for automatically removing previous
installations?

"Steve Hanna" wrote:

I have a setup project for my VB.Net application with the
RemovePreviousVersion property set to True. When I want to publish a new
version of the application, I change the version and say Yes to changing the
product and package codes. I do a "Just for me" install for the new version
and it installs just fine. However, the old version is not removed. It is
still in the Add/Remove Programs list.

Can anyone tell me what am I doing wrong?

Thanks

Steve


Reply With Quote
  #12  
Old   
N Thorell
 
Posts: n/a

Default RE: The "RemovePreviousVersion" property is not available - 10-25-2004 , 10:35 AM






Finally, by pure luck, I got the 'Properties' window for the Setup project.
But what are the conditions for this to happen?

"N Thorell" wrote:

Quote:
The "RemovePreviousVersion" property is not available under "Deployment
Properties". In fact, there are almost no properties available on that page.

"N Thorell" wrote:

When working with a (C#) setup project in Visual Studio, where and how can I
set the 'RemovePreviousVersion' property? And the 'UpgradeCode' and
'ProductCode' properties?
I have been able to make an installation from the resulting .msi file, but
how do I set all the options for automatically removing previous
installations?

"Steve Hanna" wrote:

I have a setup project for my VB.Net application with the
RemovePreviousVersion property set to True. When I want to publish a new
version of the application, I change the version and say Yes to changing the
product and package codes. I do a "Just for me" install for the new version
and it installs just fine. However, the old version is not removed. It is
still in the Add/Remove Programs list.

Can anyone tell me what am I doing wrong?

Thanks

Steve


Reply With Quote
  #13  
Old   
N Thorell
 
Posts: n/a

Default RE: The "RemovePreviousVersion" property is not available - 10-26-2004 , 05:47 AM



The trick seems to be to click the 'Properties' tab, and NOT the menu item
"View/Property Pages", as erroneously described in the guide.

"N Thorell" wrote:

Quote:
Finally, by pure luck, I got the 'Properties' window for the Setup project.
But what are the conditions for this to happen?

"N Thorell" wrote:

The "RemovePreviousVersion" property is not available under "Deployment
Properties". In fact, there are almost no properties available on that page.

"N Thorell" wrote:

When working with a (C#) setup project in Visual Studio, where and how can I
set the 'RemovePreviousVersion' property? And the 'UpgradeCode' and
'ProductCode' properties?
I have been able to make an installation from the resulting .msi file, but
how do I set all the options for automatically removing previous
installations?

"Steve Hanna" wrote:

I have a setup project for my VB.Net application with the
RemovePreviousVersion property set to True. When I want to publish a new
version of the application, I change the version and say Yes to changing the
product and package codes. I do a "Just for me" install for the new version
and it installs just fine. However, the old version is not removed. It is
still in the Add/Remove Programs list.

Can anyone tell me what am I doing wrong?

Thanks

Steve


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.