|
Hi Guys, 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.
Thanks and regards, Rohan W. - Edited byRohan W Monday, May 11, 2009 8:48 AMspelling mistakes
- Moved byYichun Feng Wednesday, May 13, 2009 3:21 AMclickonce question (From:Visual Basic IDE)
-
| | Rohan W Monday, May 11, 2009 8:47 AM | No, you can't do it the way you're thinking. 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. RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byBruce.ZhouMSFT, ModeratorTuesday, May 19, 2009 2:37 AM
-
| | RobinDotNet Saturday, May 16, 2009 5:25 PM | for application deploy and installation with clickonce, try clickonce forum http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threadskaymaf
I hope this helps, if that is what you want, just mark it as answer so that we can move on
| | kaymaf Tuesday, May 12, 2009 1:13 PM | Thanks kaymaf, will try in that thread :) | | Rohan W Saturday, May 16, 2009 8:42 AM | Hi Kaymaf, the link u've send is redirecting me back to the same forum where i've posted the question. | | Rohan W Saturday, May 16, 2009 8:43 AM | Is not the same forum, look at your first post, you will see that, your thread have been moved from visual basic IDE to clickonce forum by the moderator.
MovedYichun Feng MSFTWednesday, May 13, 2009 3:21 AMclickonce question (From:Visual Basic IDE)
kaymaf
I hope this helps, if that is what you want, just mark it as answer so that we can move on
| | kaymaf Saturday, May 16, 2009 11:09 AM | No, you can't do it the way you're thinking. 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. RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byBruce.ZhouMSFT, ModeratorTuesday, May 19, 2009 2:37 AM
-
| | RobinDotNet Saturday, May 16, 2009 5:25 PM | I thought da same thing too. Thanks for confirming.... Well as for my Slave, its accessing the masters using WCF service hosted on a Windows service. Thanks for da help. Guess itz back to drawing board fro me ;) | | Rohan W Friday, May 22, 2009 4:34 PM |
|