Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Configuring a ClickOnce deployment within a setup project
 

Configuring a ClickOnce deployment within a setup project

I have a wrapper I created to kick off a couple of processes and put a clickonce package in a user-selectable directory. The two processes this wrapper execute install a sql express instance and then create a database. This means I have new connection information to supply my app, hidden inside my ClickOnce package. I've seen one unanswered post in this forum about configuring clickonce'd applications once the package is created, but I can't find out if what I need is even doable without modifying the app being installed ahead of time. Do I have any options?

Thanks,
Bill
M Tice  Tuesday, May 27, 2008 8:16 PM

You can not specify the location of a ClickOnce deployment. One of the major points of ClickOnce is to be able to install it with no admin privs. For this reason, it installs it under the user's profile in obfuscated folders. The folder structure is defined and determined by the ClickOnce technology, and updates won't work if it is not retained.

Maybe you should just use a setup & deployment package.

RobinS.

GoldMail.com

RobinDotNet  Thursday, May 29, 2008 4:27 AM

You can not specify the location of a ClickOnce deployment. One of the major points of ClickOnce is to be able to install it with no admin privs. For this reason, it installs it under the user's profile in obfuscated folders. The folder structure is defined and determined by the ClickOnce technology, and updates won't work if it is not retained.

Maybe you should just use a setup & deployment package.

RobinS.

GoldMail.com

RobinDotNet  Thursday, May 29, 2008 4:27 AM

You can use google to search for other answers

Custom Search

More Threads

• How to create an Installer
• Profiles failing to update a Click Once application
• VS 2008 WebSetup MSI : New option for "application pool" ?
• Modify app.config during application runtime?
• Digitally sign msis
• Multi Disk Setup in VS 2005
• Remove database during uninstall keep when upgrading
• How to create set as value radiobutton property for a Dword registry key ?
• How do I make dialogs for the VS 2005 deployment projects?
• Setup driver and application in VS2005