![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#11
| |||
| |||
|
|
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 |
#12
| |||
| |||
|
|
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 |
#13
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |