13

I have a application that I deployed to web server. Users go to "publish.htm" deployment web page to install my vb.net application. I have a very simple question , but I can't quite figure out. Where is the application installed? I don't think it is installed under "Program Files" like others.

2 Answers 2

21

ClickOnce deployment is designed to have zero-impact on the host machine so ClickOnce apps are installed into user folders in order not to have any impact on the host machine and not to require admin rights.

On Vista/Win7 this location is SysDrive:\Users\UserName\AppData\Local\Apps\ folder and on XP boxes I think the folder is SysDrive:\Documents and Settings\UserName\Application Data\ if I recall correctly.

On Vista/7 you can easily find this location buy opening Task Manager and clicking on the 'Open File Location' menu item of your application's context menu.

2
  • Thanks for the answer. That was exactly what I was wondering.
    – Hoorayo
    Jul 8, 2011 at 19:08
  • I've found for XP the folder is SysDrive:\Documents and Settings\UserName\Local Settings\Apps\ Dec 22, 2014 at 9:08
2

It is the Application Cache, but you can select in the properties->publish->manifests to put a shortcut to the desktop automatically. The should also be a shortcut to the program in the Start->All Programs.

3
  • Is there any technical reason that Microsoft does this way for the installation? I mean use appCache folder.
    – Hoorayo
    Jul 8, 2011 at 18:42
  • 1
    The only reason I know of is to guarantee the ability to change the files in the event of an update. It is the only place the the updater will always have access to. It can be annoying though, especially when you need to install to a specific path, which is where click once is really limited.
    – Tim
    Jul 8, 2011 at 18:46
  • 2
    They do this so the application will not impact the GAC or other applications installed on the machine, and those applications won't impact the ClickOnce application. The point of this is so if your customer works in an enterprise environment, they can still install your application without administrative privileges, and the system guys usually allow it because they know it can not mess up the computer. Jul 11, 2011 at 5:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.