PC Review


Reply
Thread Tools Rate Thread

Automate ClickOnce settings, publishings?

 
 
Ronald S. Cook
Guest
Posts: n/a
 
      14th Dec 2006
We have a Win app that we publish via built-in ClickOnce. However, we have
10 different locations to which we deploy the app. Each time we have a new
build to publish, we have to change the IP in a setting and also in the URL
to where we want it to publish.

Last night, we caused a problem as published the wrong connection string to
one of our locations. Its also tedious doing this 10 times.

Is there anyway to more automate this?

What would be ideal is if we could maintain a text or XML document of
settings and then have some automated script that would automate the
insertion and publishing n times.

I'm guessing the responses I get will say ClickOnce is great but very
limited and I'd need to use Windows Installer (msi file), right? I hope not
as ClickOnce is very easy to use.

Thanks,
Ron


 
Reply With Quote
 
 
 
 
nick.fletcher@iinet.net.au
Guest
Posts: n/a
 
      14th Dec 2006
You could try building and deploying you app from the command line -
this way you can just add all of the deployment destinations into the
build script. Theres a good article on it here

http://msdn2.microsoft.com/en-us/library/ms165431(VS.80).aspx

Obviously, I have no idea about your situation but Id be questioning
why the app needs to be published to 10 different locations

Nick

On Dec 15, 9:59 am, "Ronald S. Cook" <r...@westinis.com> wrote:
> We have a Win app that we publish via built-in ClickOnce. However, we have
> 10 different locations to which we deploy the app. Each time we have a new
> build to publish, we have to change the IP in a setting and also in the URL
> to where we want it to publish.
>
> Last night, we caused a problem as published the wrong connection string to
> one of our locations. Its also tedious doing this 10 times.
>
> Is there anyway to more automate this?
>
> What would be ideal is if we could maintain a text or XML document of
> settings and then have some automated script that would automate the
> insertion and publishing n times.
>
> I'm guessing the responses I get will say ClickOnce is great but very
> limited and I'd need to use Windows Installer (msi file), right? I hope not
> as ClickOnce is very easy to use.
>
> Thanks,
> Ron


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security settings ClickOnce Nick Large Microsoft Dot NET Framework 2 27th Oct 2009 05:09 PM
Publishings =?Utf-8?B?RGF2ZQ==?= Microsoft Frontpage 7 26th Nov 2007 03:08 AM
ClickOnce overwrites settings =?Utf-8?B?UGVwYQ==?= Microsoft Dot NET Framework 0 19th Sep 2007 10:18 AM
ClickOnce settings disappear =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= Microsoft Dot NET Framework Forms 7 16th Dec 2005 02:36 AM
Location of ClickOnce settings? =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= Microsoft Dot NET Framework Forms 3 1st Dec 2005 01:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:55 AM.