Herfried K. Wagner said:
* "Ot" <
[email protected] (use net)> scripsit:
Select the setup project in the project explorer and have a look at the
property window. There you will find an option to do that.
That's a problem some people reported. I don't have more info on that
topic.
I found some answers to my own question, but not all.
After you pointed me at the setup properties... I found this:
RemovePreviousVersions
Specifies whether an installer will remove previous versions of an
application during installation. If this property is set to True and an
earlier version is detected at installation time, the previous version's
uninstall function will be called.
Note The installer checks UpgradeCode and ProductCode properties to
determine whether the earlier version should be removed. The UpgradeCode
must be the same for both versions; the ProductCode must be different.
Important: Note the last 5 words. I found that when I did, indeed, make a
different Product Code in the deployment project it went ahead and
installed over the prior stuff.
Also...
DetectNewerInstalledVersion
Specifies whether to check for newer versions of an application during
installation on a target computer. If this property is set to True and a
higher version number is detected at installation time, installation will
end.
As near as I can tell, this checks the version number located in the
deployment project properties, not the version number found in the
assembly.vb.
Regards,
Ot