Selecting prerequisites in setup project. Vis studio 2005

C

Claire

Hi,

I'm re-looking at my setup project in visual basic 2005. It's for a desktop
application.

As some of my customer pcs aren't attached to the internet, I would like to
include redistributables with my project. To date, if the installer fails a
launch condition then the person has to navigate across a CD to find the
files and it's just not very professional
I "think" I need the following.
1) I'm warned that windows installer isn't included in prerequisites (when
my setup is compiled), so I assume I need to add this. Im not sure if that's
version 2.0 or 3.1, as the warning doesnt give further details.
2) .Net framework 2.0
3) Mdac 2.8
I also need crystal reports, but that's included as a redistributable merge
file in my setup project already. So I'm a bit lost with this one on whether
that is safe staying there or whether I should be moving it to
prerequisites.

If I click on the setup project property dialog, then click on requisites
button, I'm presented with a list of checkbox prerequisite items.
I assume I select items 1,2 and 3 above.
The 3 radio options beneath the list are a bit confusing. Option 1, download
from vendors web site is clear and I don't want that one.
If I select "Download prerequisites from the following location" and press
the "browse" button, the dialog shuts down (a bug I guess)
So my only available option is "Download prerequisites from the same
location as my application"
What does "same location as my application" mean? The Vis Stud help isn't
clear on that. Is that local pc? on the "application folder"? just as an
included file in the setup project file list?
If i include those files with the setup project by using "add file", does
this "prerequisite" section know the names of the files it needs to run in
order to install them automatically?
Can someone help me please?

thanks :)
Claire
 
C

Claire

I just tried experimenting.
I checked dotnet in prerequisites and didnt add any files to my setup
project as I found later that the compile finds them from somewhere and
creates a subdirectory called "dotnetfx" to be created at the same place as
my setup file with dotnetfx.exe in there.
I added \dotnetfx\dotnetfx.exe as the InstallUrl property for the setup
When run, I got message that dotnet wasnt installed, but that was it. The
installation stopped and dotnet wasnt installed.
What am i missing to get the installer to run the dotnetfx.exe file?
 
I

Ignacio Machin ( .NET/ C# MVP )

I just tried experimenting.
I checked dotnet in prerequisites and didnt add any files to my setup
project as I found later that the compile finds them from somewhere and
creates a subdirectory called "dotnetfx" to be created at the same place as
my setup file with dotnetfx.exe in there.
I added \dotnetfx\dotnetfx.exe as the InstallUrl property for the setup
When run, I got message that dotnet wasnt installed, but that was it. The
installation stopped and dotnet wasnt installed.
What am i missing to get the installer to run the dotnetfx.exe file?

Hi,

IIRC there is an article in MSDN lib about this. It was for the 1.1

Take a look at this article http://msmvps.com/blogs/haarongonzalez/archive/2007/04/09/772757.aspx
 

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