By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,076 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

ClickOnce issues

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.