472,334 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 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 1645
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

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.