By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 1,922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

urgent:: How to get the same package code with each new build in .NET deployment project.

P: n/a
RK
Hi

I am having this problem with my deployment project.

'Another version of this product is already installed. Installtion of
this version cannot continue. Configure or remove existing version of
this product use Add/Remove programs on the control panel.'

I think PackageCode will change with each build. Can we configure(set
any property) so as to PackageCode remains same with each new build.

can anybody suggest what property should change, so that even with
each new build I can install/uninstall my application without going to
Add/Remove programs in the control panel.

Right now my deployment project has both properties
DetectNewerInstalledVersion and RemoveOlderVersions set to true.

thanks in advance.
--RK
Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Make sure that your assemblies are versioned in the Assembly.vb file and I
would strong name your assembly as well using the sn.exe -k
yourassembly.exe
See if that works.

"RK" <r_***********@yahoo.com> wrote in message
news:1d**************************@posting.google.c om...
Hi

I am having this problem with my deployment project.

'Another version of this product is already installed. Installtion of
this version cannot continue. Configure or remove existing version of
this product use Add/Remove programs on the control panel.'

I think PackageCode will change with each build. Can we configure(set
any property) so as to PackageCode remains same with each new build.

can anybody suggest what property should change, so that even with
each new build I can install/uninstall my application without going to
Add/Remove programs in the control panel.

Right now my deployment project has both properties
DetectNewerInstalledVersion and RemoveOlderVersions set to true.

thanks in advance.
--RK

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.