Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to update Pre requisites in click once deployment methodology
 

How to update Pre requisites in click once deployment methodology

Hello,

I havea wpf application, which has some pre requisites (a third party driver is to be installed on the client machine).
I am installing the driver through the pre requisites using Bootstrap Manifest generator.

Now the question is, if in future we get a new version of the third party driver, then this needs to beupdatedon the client machine.I want to accomplish this, using the pre requisite feature of click once.

Canthepre requisites be updated using click once. Isit possible. If not,is there any alternative method.

Has anybody faced a similar problem, if yes please advise.

Thanks in advance
Mohit
  • Moved byLingzhi SunMSFTFriday, August 14, 2009 3:38 AMClickOnce development problem (From:Application Compatibility for Windows Development)
  •  
Mohitg  Thursday, August 13, 2009 12:40 PM
The only way to update the prerequisite is for the user to run setup.exe again. For something major, like changing the .Net Framework, you pretty much have to uninstall and reinstall the application. You can do this programmatically, which is explained in this article:

http://robindotnet.wordpress.com/2009/03/30/clickonce-and-expiring-certificates/

Another idea is to have your ClickOnce application keep track of what version the user is currently using, as well as what version you WANT the user to use. You could store the one you WANT the user to use in the application settings, and the one the user is using in the user settings, and compare them to see if a new version is available. When a new version is available, pop up a window asking him if it's okay for you to download and install it, and if he says yes, download it in the background and then run it.

It just depends on your configuration, your setup, what your application does, etc.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 17, 2009 8:50 AM

You can use google to search for other answers

Custom Search

More Threads

• Installing a task schedule as part of publishing.
• Side By Side Application error
• No Touch Deploying From A Unix Server?
• How to encrypt connection strings in App.config?
• Custom Action to place [TargetDir] in a text file
• FolderBrowserDialog modal and on-top problem in custom action of deployment project
• What if .Net Framework 1.1 isn't installed
• Deploying Application to internet
• How to deploy a dotnet win application WITHOUT DotNetFramework 2.0
• help for setup deployment