Groups | Blog | Home
all groups > dotnet setup > october 2005 >

dotnet setup : deployment project doesn't checks previous versions installed



khamael NO[at]SPAM gmail.com
10/18/2005 7:20:08 AM
Hi to you all.


I've create an Windows Form application with C# (actualy an Outlook
add-in). I'm having problems with upgrade installations of the
application. That is:


1) I install Version1


2) I change the Version1 setup, with the same UpgradeCode and different

ProductCode. I also increment the Version of the project. The flag
RemovePreviousVersions is set to True. Suposidly, this is what I should

do! Right?
But, I install the application with this new Version2 setup and the
Version1 ins't uninstalled - the files are overwritten, and in the
Add/Remove programs I have 2 entries...


I'm I doing something wrong? Or is it a bug?


btw, I'm using Visual Studio 2003 with framework 1.1.4322.


Thanks in advance,
Paulo
Phil Wilson
10/18/2005 8:34:59 AM
The usual reason for this is that the first install was per-user (just me)
or per-system (Everyone) and you new setup is not the same type. A more
obscure reason is that your original version is less than 1.0. VS setups
don't upgrade versions less than 1.0.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button