This is a discussion on Updating application deployed using ClickOnce in Master - Slave setup within the C# Programming forums, part of the Software Development category; Updating application deployed using ClickOnce in Master - Slave setup Hi , I have a application which has a 'Master' module and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Updating application deployed using ClickOnce in Master - Slave setup Hi , I have a application which has a 'Master' module and a 'Slave' module. Both use the same setup files which are deployed using Click-Once. The difference between the two being that Master is connected to internet while the slave is only connected to Master(via. LAN) and does not have rights to connect to the internet. So whenever I update anything in my deployment server. The 'Master' guest updated with the new dlls. But I also want to update the 'Slave' area too withoute downloading the update from the internet again. Is there any ways I can impliment the same. ?? For info, i'm using .net framwework 3.5 with SP1 and VS 2008 for development on Windows XP. Last edited by bluesky : 05-24-2009 at 08:43 PM. |
|
#2
| |||
| |||
| Hi, A ClickOnce application has to be installed from the location cited in the installation URL, and updated therein. You can't just copy the files to another computer and think it's going to work. About the only thing you can do is deploy it to your webserver for the Master, then deploy a second copy to put on the Master for the Slave. How is the 'slave' accessing the 'master' ? If it is a shared drive, you can create a deployment for the master that the share can use. So publish a second copy of your deployment to a folder and specify the installation location as whatever the slave would be looking for, like F:\TheApplication\, where F is a drive on the Master. When you push a new version to the internet, also create a second version this way and put it on the master. Then the slave should access that version of the deployment and install it from there. Note that the slave will NEVER be able to access it from the internet and see it as the same application. The deployment location is part of the identity of a ClickOnce app, and if it changes, the users must uninstall and reinstall.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
|
#3
| |||
| |||
| Hi, Well as for my Slave, its accessing the masters using WCF service hosted on a Windows service. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible ClickOnce without sandbox? | bluesky | C# Programming | 7 | 05-24-2009 07:33 PM |
| TFS 2005 Setup Fails / Team Foundation Server Setup Fails | bluesky | Server Management | 1 | 10-18-2007 01:39 AM |
| How can we delete master table record | vadivelanvaidyanathan | Database Support | 2 | 08-08-2007 02:29 AM |
| Site Updating | nhoj | Web Design Help | 5 | 05-01-2007 05:34 AM |
| Google's updating of page rank, back links | oyu2o | 0 | 03-11-2007 05:12 AM | |
Our Partners |