Link to home
Start Free TrialLog in
Avatar of Dov_B
Dov_B

asked on

I am struggling to publish my vb.net 2008 windows app on a cd so that it can be installed on a computer without internet access

In prerequisites I chose download prerequisites from same location as computer
then I also downloaded onto my computer a file called packages setup which is supposed to conatin the files necessary to boot strap the .net framewok
when I clicked publish I got the errors listed below in the screenshot
errors.bmp
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

What have you selected ?
You don't need to download nothing. When you select the prerequisite and publish, the VS place the files for you on your package.
Avatar of Dov_B
Dov_B

ASKER

in the choose prerequisites to install box the following to prerequisites were checked
windows installer 3.1
.net framework 3.5 sp1
and I get a whole bunch of errors like this one
Error 14 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\netfx_core.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information. WindowsApplication1

You only need to choose the right framework (that is normally selected by default)
Try that way!
Avatar of Dov_B

ASKER

I have been trying only the ones chosen by default and I get the error saying it cant find the files it needs on my disk drive
Well then I unchecked everything but .net framework 2.0 and it published but it gave a warning that windows installer a necessay component was not included
again if I use the default prerequistites which are:
 windows installer 3.1 and
.net framework 3.5 sp1
I get 57 errors all like the following:
Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' in item 'Windows Installer 3.1' can not be located on disk.
SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dov_B

ASKER

yes that is what is causing the errors look closely at the error and you will see it says
"The install location for prerequisites has not been set to 'component vendor's web site' "
that is because I set it to
"Download prerequisits from the same location as my application"
for some reason it cannot find the necessay files on my disk for example it says
"and the file 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' in item 'Windows Installer 3.1' can not be located on disk.
 
That is strange ... ift works fine for me!
And if you download the files and use the last option "... following location" ?
Avatar of Dov_B

ASKER

It won't let me set the location as a place on myhardrive it wants a web address
Avatar of Dov_B

ASKER

when you set the preriquisets to
"Download prerequisits from the same location as my application"
do the preriqiuts come with visualbasic.net 2008 express edition?
Sorry I don't know if you can do that in the express edition.
Did you looked if you have it ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial