IT Community - Software Programming, Web Development and Technical Support

Updating application deployed using ClickOnce in Master - Slave setup

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 05-24-2009, 08:40 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Updating application deployed using ClickOnce in Master - Slave setup

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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-24-2009, 08:41 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: Updating application deployed using ClickOnce in Master - Slave setup

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...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-24-2009, 08:43 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Updating application deployed using ClickOnce in Master - Slave setup

Hi,

Well as for my Slave, its accessing the masters using WCF service hosted on a Windows service.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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 Google 0 03-11-2007 05:12 AM


All times are GMT -7. The time now is 07:15 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0