Click once and .net 2.0

D

Daniel

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
 
G

Gaurav Vaish \(www.EdujiniOnline.com\)

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
-----------------------------------------
 
D

Daniel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top