473,320 Members | 1,861 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.

ClickOnce issues

Hi there,

Apologies if this NG is off-topic but I can't find anything more appropriate
(feel free to let me know). I'm looking at ClickOnce as a possible
alternative to MSI and have poured through much of the docs trying to figure
out how to customize my app's install if possible. In my deployment scenario
users will be downloading the app from my web site in WYSIWYG fashion but
I'm stuck on the following issues:

1) I need to prompt for some install info via various custom dialogs. Can
this even be done using ClickOnce? The only info I can find deals with a
custom bootstrapper but I'm not sure if this is the correct approach and
there's precious little info on the subject anyway.
2) Can users install my app into a central location like "C:\Program Files"
so all users on the machine can access it. While ClickOnce doesn't normally
require admin rights since it installs the app under each user's user
profile folder (and doesn't touch the registry), how does it avoid the bloat
that results from the same app being installed multiple times (once per
user). Is this even correct or am I missing something?
3) I also have a VS AddIn that requires installation but since it's a ".dll"
I can't figure out how to publish it. That is, VS doesn't seem to support
publishing DLL projects unlike ".exe" projects so how would this be done?

Thanks in advance.
Jan 31 '08 #1
1 1916
Answers below.

"Jack" <no_spam@_nospam.comwrote in message
news:uN**************@TK2MSFTNGP06.phx.gbl...
Hi there,

Apologies if this NG is off-topic but I can't find anything more
appropriate (feel free to let me know). I'm looking at ClickOnce as a
possible alternative to MSI and have poured through much of the docs
trying to figure out how to customize my app's install if possible. In my
deployment scenario users will be downloading the app from my web site in
WYSIWYG fashion but I'm stuck on the following issues:

1) I need to prompt for some install info via various custom dialogs. Can
this even be done using ClickOnce? The only info I can find deals with a
custom bootstrapper but I'm not sure if this is the correct approach and
there's precious little info on the subject anyway.
No. However, you can write a program to be run as a prerequisite to the
ClickOnce installation, whether it be an msi package, or even a .Net
application. You can create your own prerequisites using the Bootstrapper
Manifest Generator. ClickOnce just copies the files over and sets up the
shortcut to run the application.
2) Can users install my app into a central location like "C:\Program
Files" so all users on the machine can access it. While ClickOnce doesn't
normally require admin rights since it installs the app under each user's
user profile folder (and doesn't touch the registry), how does it avoid
the bloat that results from the same app being installed multiple times
(once per user). Is this even correct or am I missing something?
You can't. The point of ClickOnce is to not require administrative
privileges to install and run your application.
3) I also have a VS AddIn that requires installation but since it's a
".dll" I can't figure out how to publish it. That is, VS doesn't seem to
support publishing DLL projects unlike ".exe" projects so how would this
be done?

Thanks in advance.
Add it to your application as a file, and mark the build action as
"content", and "copy always". There is more info on installing add-ins in
Brian Noyes' ClickOnce book.

RobinS.
GoldMail, Inc.

Jan 31 '08 #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...
1
by: moondaddy | last post by:
I have a .net 2.0 project that I want to use click once deployment, however, some of the files that need to get updated from time to time are very big and fat and I need to zip them or compress...
3
by: Chris Rennert | last post by:
Hey all, we have a project that we would like to use ClickOnce deployment on, and although it all seems straightforward we are having a few issues concerning SQL Server Express and clickonce. We...
2
by: Michael D. Reed | last post by:
I am using ClickOnce to distribute a program. It works well except for one detail. When a new version is installed, the program does not initialize properly immediately after the update. The...
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...
5
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
I have a windows form application being deployed using ClickOnce on Terminal Services. I am experiencing a problem where by the first user to run up the application is successful and the app...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
by: Dean Slindee | last post by:
Using VS2005, I am deploying a WinForm application with ClickOnce. The project contains a ReportViewer2005 control, so there is a prerequisite for the ReportViewer2005.dll. The ReportViewer.dll...
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
1
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.