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

Click once and .net 2.0

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
2 1133
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Philippe Trottier | last post by:
Hi! I want to publish with click once an application that uses Enterprise Library, but since we use Enterprise Library, we need to deploy config files like dataConfiguration.config. So if I try...
11
by: Thom Little | last post by:
I would like three states on an icon ... Left Click Right Click Double Click Left Click is fired at least once on a Double Click Is there a good example that shows how to determine if the...
8
by: Lee | last post by:
Hi,I'm trying to have a button that fires a click event only once. What is the best way to do so that after the first button click, any the following clicks will be ignored.
3
by: Imran Aziz | last post by:
Hello All, I have a search text and button that post data and my button handler filters the repeater control. However when the button is clicked the first time. The page_load event is being called...
16
by: Barry Gilmore | last post by:
Is there a way to disable a button after it is clicked? I am trying to avoid having someone click on it twice while they wait for it to process. Thank you!
2
by: CR | last post by:
I am working on the deployment portion of my first click once app. It was created using VS 2003, with an installer, but has been upgraded to VS 2005, and I would like to use click once. I tested...
3
by: Techsatish | last post by:
how to make a mouseup event called only once during a double click event? here double click is made on a tree node in a tree control. I have the code inside mouseup event....in runtime the...
0
by: reifen-straub | last post by:
Hi, we have a C# click once application with a report. This report has a reference to an assembly to calculate some things. If we run this application locally with the 'click once' checkbox...
0
by: Mark | last post by:
Hi, We are a software company that wish to use Click-Once deployment to allow our customers to deliver smart clients to their worker's desktops. We have experimented successfully in-house...
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have been using the Click Once deployment feature of VS2005 - very nice. I had IE6 at the time when I started using Click Once Deployment, and everything worked fine. But then my...
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: 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
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.