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

Click once and .net 2.0

P: n/a
Hi guys

I have a clickonce deployment, with .net 2.0 as a prerequsite in the project
settings.

But when i tried to install from my publish.htm page on a non .net 2.0
machine it was unable to install. I installed .net 2 and it worked.

So why the .net 2 prereq as it doesnt do anything??? and how do i get it to
work on a non .net 2 machine? so it installs .net 2 on its own if its not
available?

Thanks
Oct 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I have a clickonce deployment, with .net 2.0 as a prerequsite in the
project settings.

So why the .net 2 prereq as it doesnt do anything??? and how do i get it
to work on a non .net 2 machine? so it installs .net 2 on its own if its
not available?
The clickonce deployment doesn't know anything about your application.
It's a generic framework.

You said that '.Net 2.0' is a prerequisite and it said "Ok, fine.".

I'm not sure if Auto-Installation of prerequisites is available in
ClickOnce.
Try out InstallShield (yeah, I know, it's pricey).
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://articles.edujinionline.com/webservices
-----------------------------------------
Oct 2 '06 #2

P: n/a
Thanks for the response.

It seems that giving .net 2 as a pre-req just tells it to deploy the .net
2.0 redist files to the server, its up to you to then do something with it.

I have found som egreat stuff for bootstrapping which can allow it to
install .net 2.0 then run clickonce as usual for non .net 2.0 people. So i
can just have it detect if they have 2.0 via asp and then automatically
choose best option, bootstrepped or normal.

Seems best way, just got to learn the bootstrapper, but looks simple enough.
Anyone had experience of this? Maybe a new post is in order.

"Daniel" <Da*****@vestryonline.comwrote in message
news:u%***************@TK2MSFTNGP02.phx.gbl...
Hi guys

I have a clickonce deployment, with .net 2.0 as a prerequsite in the
project settings.

But when i tried to install from my publish.htm page on a non .net 2.0
machine it was unable to install. I installed .net 2 and it worked.

So why the .net 2 prereq as it doesnt do anything??? and how do i get it
to work on a non .net 2 machine? so it installs .net 2 on its own if its
not available?

Thanks

Oct 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.