IT Community - Software Programming, Web Development and Technical Support

Is it possible ClickOnce without sandbox?

This is a discussion on Is it possible ClickOnce without sandbox? within the C# Programming forums, part of the Software Development category; Is it possible ClickOnce without sandbox? Hi, My requirement is my Windows application should check periodically for latest updates on ...


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, 07:01 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Is it possible ClickOnce without sandbox?

Is it possible ClickOnce without sandbox?

Hi,

My requirement is my Windows application should check periodically for latest updates on some network or web location and users can download only changed files. I found ClickOnce is helpful for this but also I am not sure that it is designed for only sandbox execution/only for current user context or once downloaded, the application can be used by any user on that machine.

My application is going to be installed once on multiple machines on shared way so any user logs on should be able to run it.

How can I achieve this task?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-24-2009, 07:02 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

Hi,

Clickonce is a deployment technique introduced by microsoft for windows applications. You can use in production also. It is not for just sandbox execution. It will work as a normaly installed application. It will install the applicaiton in Isolated file storage in each system. So while installing you can choose it is for a single user or multiple(Only for me option).
__________________
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, 07:05 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

Hi,


Thanks, my requirement is not to use Isolated file storage but common storage area like C:\Program Files\MyApp\xx and this application should be available for all the users on the machine. Updated application should work for all the users who are using that system.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-24-2009, 07:08 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

Hi,

It's impossible to install ClickOnce Application (and update it) for All Users.
It was already discussed: How to make it so an app installs for ALL users, not just the current one?
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-24-2009, 07:31 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

hi,

Thanks. This link was useful. But i am not aware that this feature is available in VS2008.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-24-2009, 07:32 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

Hi,

it is impossible to install a ClickOnce application for "all users" on a machine. It is a user-specific installation, because it stores the files under the user's profiile folders. And you can not change the location of the installation.

If you want something that installs to C:\ProgramFiles... and/or runs for all users, you will have to use a Setup & Deployment package.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-24-2009, 07:33 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

Hi,

Thanks, so there is the only one way to to implement shared installation is write custom code and do not use ClickOnce. Am I correct?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 05-24-2009, 07:33 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: Is it possible ClickOnce without sandbox?

hi,

Yes, that's right. If you want to install for "all users", you can not use ClickOnce. Use a setup & deployment package instead. Here's a link that may help you:

How to create a Setup package by using Visual Studio .NET
__________________
Shaalini.S
Be the Best of Whatever you are...
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
Licence File before installation starts in ClickOnce Luttappi C# Programming 0 07-08-2009 11:08 PM
Publish ClickOnce VSTO Add-Ins: How to deploy language packs? shaalini C# Programming 2 05-25-2009 02:15 AM
ClickOnce deployment problem shaalini C# Programming 6 05-24-2009 09:10 PM
Updating application deployed using ClickOnce in Master - Slave setup bluesky C# Programming 2 05-24-2009 08:43 PM
What is the "Sandbox Theory"? H2o Search Engine Optimization 1 07-24-2007 01:45 AM


All times are GMT -7. The time now is 03:52 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