RemovePreviousVersion in Setup project

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
 
J

Joe Cool

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.
 
M

Mike

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top