473,398 Members | 2,368 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,398 software developers and data experts.

ClickOnce

I have a WinForm(VB 2.0) application that I am publishing as a ClickOnce
installation. We have a need to publish the same application code for several
configurations. (Staging, TestSystem, LiveSystem) Each of these
configurations differ only in app.Config changes. I would like the ability to
install all of these side-by-side on a machine. Also, we QA our Staging build
before publishing as live, and I am concerned that I have the ability to
assure both builds are identical even though they are published days apart.
Any suggestions?

Jun 30 '06 #1
3 1709
On the project Properties page/Application Tab click the "Assembly
Information" button and set the Assembly Version and File Version Numbers

Then in Publish Tab set your publish version.

Everytime you publish, you will get a new publish folder on the server when
you change these numbers

Rich

"KenL" wrote:
I have a WinForm(VB 2.0) application that I am publishing as a ClickOnce
installation. We have a need to publish the same application code for several
configurations. (Staging, TestSystem, LiveSystem) Each of these
configurations differ only in app.Config changes. I would like the ability to
install all of these side-by-side on a machine. Also, we QA our Staging build
before publishing as live, and I am concerned that I have the ability to
assure both builds are identical even though they are published days apart.
Any suggestions?

Jun 30 '06 #2
Hi!

A follow up question when "The application is available offline as well".

We also have these environments, Staging, TestSystem, LiveSystem and so on
with different ClickOnce Publishing Locations (servers).

Let us say that I "Publish" the Staging-version. Is then first set "Publish
Options | Product name" to something like "...Staging..." so that the user
that installes the application understand agains which web service the
application is communicating with. Ok, everything is fine.

The problems starts when trying to "Publish" e g the "TestSystem" version. I
then simply change the Product name to "..Test..." (and of course change
publishing location). But what happens when the client installs from this new
installation URL, is that the previous installation is REMOVED.

That is not what I want. I want the different installations to live side by
side on the clients, with different Start menu shortcuts "Staging",
"TestSystem", "LiveSystem".

What more must be different, besides "Product name", to make the ClickOnce
logic to understand that they should be handled as parallell
applications/installations.

Best regards,
Benjamin,
Sweden
Jul 12 '06 #3
Hi!

I used a MSDN support case to bring light on this issue.

You have to change the project property Assembly Name to make the
ClickOnce-applikation unique.

Of course you also change "Publish options | Product name" to let the user
see the different for another ClickOnce application, but theoretical that is
no requirement.

Best regards
Benjamin,
Sweden

Sep 27 '06 #4

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

Similar topics

4
by: markoueis | last post by:
Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser. I could use a...
5
by: Danny Tuppeny | last post by:
I've been playing around with ClickOnce today, and it's all good stuff. Except, that if I change my application to NOT be full trust (which seems to make very little difference to the user prompt,...
3
by: Asaf | last post by:
Hi, After publishing my test application using ClickOnce with VS.NET 2005 I am getting these warnings: Warning: Could not download 'ClickOnce.application' from… Warning: Could not download...
11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
1
by: moondaddy | last post by:
I have a .net 2.0 winforms app which I'm deploying via clickonce. Unfortunately one of the things that needs to be installed during the clickonce is an MS Access mde application which uses a 3rd...
8
by: Tina | last post by:
While ASP.Net is migrating toward more robust presentation by using things like AJAX I am wondering if ClickOnce will errode a lot of ASP.Net presence in Corporate Applications. I've been reading...
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...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
1
by: Earl | last post by:
Is ClickOnce deployment appropriate for an app where you have to ensure that the user has the correct framework installed (2.0) and also installs the SQLExpress plus scripts in the database? I've...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.