Click once deployment and .net 2

D

Daniel

Hey guys

I have a clickonce deployment app. And .net 2 is a pre-requisite to
clickonce. Yet even tho i set it to send people to vendors site (micrsosoft)
if they dont have .net 2, it doesnt do it? why not?

As a side note. DirectX runtimes are also required, is there any way i can
add this as a pre-requisite and have it checked for an installed as part of
click once?

Thanks in advance
 
M

Michael Nemtsev

Hello Daniel,

D> I have a clickonce deployment app. And .net 2 is a pre-requisite to
D> clickonce. Yet even tho i set it to send people to vendors site
D> (micrsosoft) if they dont have .net 2, it doesnt do it? why not?

You can to put your prerequisites to the separate folder and ask clickonce
to get them from your folder

D> As a side note. DirectX runtimes are also required, is there any way
D> i can add this as a pre-requisite and have it checked for an
D> installed as part of click once?

AFAIK it's not possible.
You need to use IntallShiedl or other installler tools

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
 
D

Daniel

Ok no rpobs on DX thats not a biggy i can sort that.

In regards to the other note, how do i tell clickonce what folder they are
in? Could you give me some steps or a tutorial link, that'd be great. Does
it automatically check for the pre-requisites? If so why can't i setup dx as
a pre-requisite and put that in this folder also?

Thanks in advance
 
M

Michael Nemtsev

Hello Daniel,

1) Project Properties -> Publish -> Prerequisites
2) Select the desired prereq
3) Select the "Download from the following location"
4) Specify the path where is your prereq


---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

D> Ok no rpobs on DX thats not a biggy i can sort that.
D>
D> In regards to the other note, how do i tell clickonce what folder
D> they are in? Could you give me some steps or a tutorial link, that'd
D> be great. Does it automatically check for the pre-requisites? If so
D> why can't i setup dx as a pre-requisite and put that in this folder
D> also?
D>
D> Thanks in advance
D>
D> D>
Hello Daniel,

D> I have a clickonce deployment app. And .net 2 is a pre-requisite
to
D> clickonce. Yet even tho i set it to send people to vendors site
D> (micrsosoft) if they dont have .net 2, it doesnt do it? why not?
You can to put your prerequisites to the separate folder and ask
clickonce to get them from your folder

D> As a side note. DirectX runtimes are also required, is there any
way
D> i can add this as a pre-requisite and have it checked for an
D> installed as part of click once?
AFAIK it's not possible.
You need to use IntallShiedl or other installler tools
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangelo
 
P

Patrick H

You can define custom prerequisites with an application called
"Bootstrap Manifest Generator". It itself is a ClickOnce application.

For the DirectX question: if there is already an installer for it you
can define a prerequisite with the tool above, and have it deployed
with your application.

As for your prerequisite, it depends on how you have it being
referenced: You can have it relative or absolute or point to the
vendors site. By default i believe it is relative to where your app is.
So if my app is deployed to http://www.test.com the prerequisite would
be at http://www.test.com/prerequisite
of course this maps down to your virtual directory.

Patrick H.
http://patpack.blogspot.com/
 

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