Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reporting Pin
Heath Stewart29-Mar-04 8:09
protectorHeath Stewart29-Mar-04 8:09 
GeneralRe: Reporting Pin
Michael Flanakin29-Mar-04 17:25
Michael Flanakin29-Mar-04 17:25 
GeneralCustom Install Pin
dotnetdev@univ.kiev.ua29-Mar-04 6:05
dotnetdev@univ.kiev.ua29-Mar-04 6:05 
GeneralRe: Custom Install Pin
Heath Stewart29-Mar-04 8:07
protectorHeath Stewart29-Mar-04 8:07 
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua29-Mar-04 22:10
dotnetdev@univ.kiev.ua29-Mar-04 22:10 
GeneralRe: Custom Install Pin
Heath Stewart30-Mar-04 3:28
protectorHeath Stewart30-Mar-04 3:28 
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua30-Mar-04 4:18
dotnetdev@univ.kiev.ua30-Mar-04 4:18 
GeneralRe: Custom Install Pin
Heath Stewart30-Mar-04 4:24
protectorHeath Stewart30-Mar-04 4:24 
dotnetdev@univ.kiev.ua wrote:
I guess it happens because I rebuild my Setup project and my build version changed.

No, it's because your installer version did NOT change. Windows Installer has full upgrade support built in to its core, but it isn't automatic. First, in your project properties set RemovePreviousInstall (or something like that) to true. Also, between versions change the Version number appropriately (it's only 3 numbers, not 4 which really isn't supported anymore for MSIs), be it a release, minor, or major version number change appropriate for your changes to your application. The file versions are only used when Windows Installer determines if a file should be overwritten (well, it's one way). When you change the project's version number, you're asked if you want to change the product and package codes, too. Click Yes. Your UpgradeCode remains the same so your product is still associated between versions, except that only one package with the same product code can be installed at a time. That's where your error is coming from.

That registry solution I told you would not produce an error. It would leave your property undefined (so you could actually use that in a launch condition by putting just the property name in there. If it was set, the condition is true; if it wasn't set, the condition is false). Something else is causing it. A better description of the error that doesn't include "blah blah" would be far more helpful.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua30-Mar-04 19:54
dotnetdev@univ.kiev.ua30-Mar-04 19:54 
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua30-Mar-04 20:42
dotnetdev@univ.kiev.ua30-Mar-04 20:42 
GeneralRe: Custom Install Pin
Heath Stewart31-Mar-04 3:14
protectorHeath Stewart31-Mar-04 3:14 
GeneralRe: Custom Install Pin
Heath Stewart31-Mar-04 3:08
protectorHeath Stewart31-Mar-04 3:08 
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua31-Mar-04 3:15
dotnetdev@univ.kiev.ua31-Mar-04 3:15 
GeneralRe: Custom Install Pin
Heath Stewart31-Mar-04 3:16
protectorHeath Stewart31-Mar-04 3:16 
GeneralRe: Custom Install Pin
dotnetdev@univ.kiev.ua31-Mar-04 3:20
dotnetdev@univ.kiev.ua31-Mar-04 3:20 
GeneralRe: Custom Install Pin
Heath Stewart31-Mar-04 3:23
protectorHeath Stewart31-Mar-04 3:23 
GeneralClick Sound Pin
johnstacey29-Mar-04 5:23
johnstacey29-Mar-04 5:23 
GeneralRe: Click Sound Pin
Heath Stewart29-Mar-04 5:28
protectorHeath Stewart29-Mar-04 5:28 
GeneralTutor application Pin
Saleh Alshadheli29-Mar-04 5:00
Saleh Alshadheli29-Mar-04 5:00 
GeneralRe: Tutor application Pin
Heath Stewart29-Mar-04 5:24
protectorHeath Stewart29-Mar-04 5:24 
GeneralMoveable Controls - Form Style Pin
Tristan Rhodes29-Mar-04 4:58
Tristan Rhodes29-Mar-04 4:58 
GeneralRe: Moveable Controls - Form Style Pin
Heath Stewart29-Mar-04 5:22
protectorHeath Stewart29-Mar-04 5:22 
GeneralNever Mind Pin
Tristan Rhodes29-Mar-04 6:25
Tristan Rhodes29-Mar-04 6:25 
GeneralHalf way there Pin
Tristan Rhodes29-Mar-04 6:41
Tristan Rhodes29-Mar-04 6:41 
GeneralRe: Half way there Pin
Heath Stewart29-Mar-04 8:01
protectorHeath Stewart29-Mar-04 8:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.