RemovePreviousVersion in Setup project

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Currently packaging and distributing the beta version of our software
internally using VBNet 2005

Included a Setup1 project in my application which correctly installs the
application.

I am more than a little confused on the DetectNewerInstalledVersion and
RemovePreviousVersion properties in the setup project. What version number is
being referenced here, my application's assembly version or the version
number of the setup1 project?

The assembly version in my application is left at the default 1.0.* to
autoincrement with each build. Currently the debug version is 1.0.3496.15661.

The Setup1 project version is 1.0.0.

I'm guessing that I need to change the Setup1 project version number but
would welcome any clarification of this.

Thanks,

Mike
 
Currently packaging and distributing the beta version of our software
internally using VBNet 2005

Included a Setup1 project in my application which correctly installs the
application.

I am more than a little confused on the DetectNewerInstalledVersion and
RemovePreviousVersion properties in the setup project. What version number is
being referenced here, my application's assembly version or the version
number of the setup1 project?

The assembly version in my application is left at the default 1.0.* to
autoincrement with each build. Currently the debug version is 1.0.3496.15661.

The Setup1 project version is 1.0.0.

I'm guessing that I need to change the Setup1 project version number but
would welcome any clarification of this.

I ran into this myself. If you only bump up the Setup version or the
Setup version does not agree with the Project Assembly version (to
three places), it will NOT remove the previous version. It will
install the new version, but you can't seem to get to it, and both
versions show up inthe Add/Remove control panel applet. Since I
started making sure both version agree the previous version is
uninstalled as you would expect it to be.
 
Thanks very much for the quick info.

It might save some hair pulling ... I'll make sure the Setup version number
is the same as the Project assembly.

Thanks again,
Mike
 
Back
Top