Clickonce: Clickonce Deployment through Application virtualization

Clickonce Deployment is by design Created to Deploy  in Per-user Environment

We could not change the Target path to Clickonce Application. By default Clickonce would only Point to Root Drive\%User Profile%\Local\Apps

-Generally through Soft grid or Citrix server virtual Drive would be created and Deployment would be to those virtual Drive.

-Clickonce would not completely work on those environment as it wouldn't understand the Virtual drive location and still try to Deploy to the Default Local drive of the machine

 

Workaround

----------------

-Clear the Clickonce cache through Mage -cc or manually Deleting %userprofile%\Apps Folder

-Clickonce on Virtual environment is not the best Practice. Allow click once to Deploy to Local drive and than programmatically try to transfer Content of Clickonce Cache to Virtual Directory