How do I dictate the destination folder of a clickOnce application?
Every ClickOnce application installed on a local computer has a data directory, stored in the user's Documents and Settings folder.
With a project selected in Solution Explorer, on the Project menu, click Properties. Click the Publish tab. Click the Updates button to open the Application Updates dialog box. In the Application Updates dialog box, make sure that the The application should check for updates check box is cleared.
A ClickOnce cache is a family of hidden directories under the Local Settings directory of the current user's Documents and Settings folder. This cache holds all the application's files, including the assemblies, configuration files, application and user settings, and data directory.
This is not possible with ClickOnce. ClickOnce applications are always installed in the Apps
subdirectory of local application data.
As a further to the above, this is a security feature. Allowing websites to install software to arbitrary locations on someone's harddrive somewhat automatically is a bad idea.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With