473,320 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Automate ClickOnce settings, publishings?

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
Dec 14 '06 #1
1 1948
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/lib...31(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.comwrote:
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
Dec 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Etienne | last post by:
Hi, I am settings up my application to work with ClickOnce deployment. However, after instlling installing an update, the database doesn't get copied. I tried everything I could think of. It is...
1
by: M O J O | last post by:
Hi, I've have searched google, but can't find a solution to my problem. Om my develloper machine, I use one app.config, but when I deploy, I need to deploy another app.config. The reason...
3
by: Meelis Lilbok | last post by:
Hi I have made a project with vb.net and publish it(clickonce) On firs laucnh app creates a xml file in startuppath\database\file.xml Now when i update my app and publish it, after...
6
by: Irfan | last post by:
hi, After installing the application in the client machine using ClickOnce, i would like that the client be able to change the database path in the Application.Config file. However, clickonce...
3
by: Peter Wyss | last post by:
Hello! I've a few questions about ClickOnce in VisualStudio 2005. The installation of my application works fine, I published the files on a webserver and installed the app on a winxp client,...
3
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use...
3
by: Ryan Liu | last post by:
hi, I like the Publish function comes with VS2008. But 3 questions remain: how to make update path to be flexiable? Because I will give those updates to my cutomers, and different cutomer will...
3
by: =?Utf-8?B?QXZpc2hheSBCZW4tWnZp?= | last post by:
Hi, I have an application that I am encrypting the connection strings on the first run of the application. I am using clickonce to deploy the application, so this was a good solution as the...
3
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
My clickonce app fails when the install button on the publish.htm page is clicked. User is prompted with a "Cannot Start Application" dialog. Details provided from the dialog are: PLATFORM...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.