Click to See Complete Forum and Search --> : ClickOnce target install folder


ScreamingCactus
October 8th, 2008, 12:58 AM
When I use ClickOnce for publishing (which seems to be the only way to do it in VBE 2005) it always installs it to some obscure and completely absurd location deep within the local settings\apps folder. But I want it to install itself to program files, but I can't seem ind to an option in ClickOnce to set the install directory. Can someone help me with this?

dglienna
October 8th, 2008, 03:52 PM
It asks you where you want to publish. Did you click next thru the wizard, or just straight out PUBLISH?

ScreamingCactus
October 11th, 2008, 03:08 PM
Hi, thanks for taking the time to answer.

The issue isn't with where it places the install file. The issue is with where the install file places the final executable. I usually publish to the c:\localhost directory, where the .deploy and .manifest files and install file of course end up. But the install file then places the executable somewhere in appdata\roaming, and adds a start menu item pointing there. What I wanted to do was have the install file install the executable to \program files\whatever, but can't seem to find the setting for it. Any ideas?

dglienna
October 11th, 2008, 08:41 PM
Oh, I can't help with that. I have a similar issue, that the config file is also installed in a HIDDEN folder, and I have to change the default connection string on each pc after the install. I can't change the deploy file or the install fails.

I develop using SQLExpress, and deploy to SQL Server 2005.

izeko
December 5th, 2008, 08:57 AM
Did anyone sort this problem.

I too cannot not get the install to install to a specified path. It seems to go deap in the user folder somewhere.

Help me please