Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Install always say you can't install you must remove first
 

Install always say you can't install you must remove first

I hope this is right group for this. I have install setup and .msi and it work good but i canot upgrade program after install on one machine. If they install program and then i ship new .msi the setup.exe say prior version already install you must remove and install later. I change the RemovePreviousVersion to true and also generate new upgrade code, but it is same result. Maybe someone can help.
  • Moved byYiChun ChenMSFTMonday, August 03, 2009 3:22 PMDeployment issue (From:.NET Framework Setup)
  •  
MinguiSun  Thursday, July 30, 2009 1:23 PM

Having the same UpgradeCode is what makes the upgrade work. If they are different between old and new setup that's a reason why it will fail. The ProductCode is what needs to change.
You need to increment the Version property in the setup project, then it will prompt you to do the right thing.


Phil Wilson
PhilWilson  Monday, August 03, 2009 8:11 PM
Hi,


Can you please provide some details which version of .NET framework you are trying to install ?

and which version of framework you already installed.




Thanks and Regards,

Raman Katwal
Raman_Katwal  Thursday, July 30, 2009 3:30 PM
i don't install any .net framework. This is install already version 3.5 SP1. My install is for custom program i wrote in C# .Net.
MinguiSun  Friday, July 31, 2009 7:40 PM
Hi MinguiSun,

I am moving this thread from Base ".NET Framework Setup" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum.

Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Monday, August 03, 2009 6:40 AM

Having the same UpgradeCode is what makes the upgrade work. If they are different between old and new setup that's a reason why it will fail. The ProductCode is what needs to change.
You need to increment the Version property in the setup project, then it will prompt you to do the right thing.


Phil Wilson
PhilWilson  Monday, August 03, 2009 8:11 PM

You can use google to search for other answers

Custom Search

More Threads

• How to know if a merge module is installed successfullly?
• Bundling source- lost project references
• Updates from web and CD
• Deploying SQL Server 2008 Database (not the app) with a Windows Application
• MSBuild ClickOnce Release vs Debug entry point difference/error.
• Application cannot be started. Contact the application vendor.
• testing connection string while setup
• Counld not find file "installloc"\installApp.InstallState
• Passing sensitive information to ClickOnce Deployed Application
• Integrated Database