473,387 Members | 1,561 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,387 software developers and data experts.

ClickOnce Deployment Profiles

I need to have multiple deployment profiles for a .net 2.0 winforms project.
This is my requirement:

1) Re-use same project for multiple ClickOnce deployment profiles.
2) Each profile will have it's own custom deployment properties such as
Publish Version Number, Start Menu and application Name in start menu.

For example, in the past (before ClickOnce deployment) I had to build
Setup.exe files and distribute them to various clients/users. These install
files were created using Installsheild which allowed me to create a
installation project and utilize all of the application files from my
project called myApp for multiple InstallShield projects. This way I only
needed to have one VS winforms app. Then each InstallShield project would
pull in all required files for myApp and then a customized unique
app.config.exe file for each different installation. All InstallShield
project could share the same start menu path but have its own unique start
menu button and target install location. For example, lets say I have 5
different installs of the same app like this:

myApp_DEMO
myApp_Client1
myApp_Client2
myApp_Client2_Dept_1
myApp_Training

The location in the start menu for these would share the same path like
this:

Start/myApp/myApp_DEMO
Start/myApp/myApp_Client1
Start/myApp/myApp_Client2
Start/myApp/myApp_Client2_Dept_1
Start/myApp/myApp_Training

and the target installation location would be this:

....Program Files/myApp/myApp_DEMO
....Program Files/myApp/myApp_Client1
....Program Files/myApp/myApp_Client2
....Program Files/myApp/myApp_Client2_Dept_1
....Program Files/myApp/myApp_Training

Now in the ClickOnce world I want the start menus to remain the same, but I
realize that the target installation paths will be different which is OK,
and also the path on the web server to publish to for each different version
will be different.

What's the best way to achieve this? I'm surprised that there has been no
mention of such design configurations.

Thanks.


--
mo*******@nospam.nospam
Mar 20 '06 #1
1 2747
Hi,

I do understand your concern on this issue. But due to the limitation of
the ClickOnce deployment, the functionality your want are not supported.
The ClickOnce application would be installed into the system's ClickOnce
application cache, there is no way to specify it per application. By the
way, VS2005 doesn't have a ClickOnce deployment project, so I don't think
you can reuse a ClickOnce deployment's profile to other winform projects.

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====

Mar 21 '06 #2

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

Similar topics

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...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
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...
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...
3
by: Ronald S. Cook | last post by:
We have a VS2005 Team setup and are developing a Windows app (smart client). We are in the cattle feeding business and have 10 distinct feedyards across the U.S. When we wish to deploy an update...
2
by: Jamey McElveen | last post by:
Hello, I would like to use ClickOne but we need to stagger our update process. Currently we are shipping cd's when it is time for an update. We stagger the release in waves of 250 each so our...
2
by: =?Utf-8?B?Sm9obiBC?= | last post by:
A windows forms 2.0 ClickOnce deployment fails when both SSL is enabled and "require client certificate" enabled on the IIS deployment web server. Can anyone assist with how to configure this...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.