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
Dov_BAsked:
Who is Participating?
 
Dov_BConnect With a Mentor Author Commented:
I found the solution in
2.3.1.1 Enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package
in
http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm 
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
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.
0
 
Dov_BAuthor Commented:
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

0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Jorge PaulinoIT Pro/DeveloperCommented:
You only need to choose the right framework (that is normally selected by default)
Try that way!
0
 
Dov_BAuthor Commented:
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.
0
 
Jorge PaulinoConnect With a Mentor IT Pro/DeveloperCommented:
Ok, but have you tried using the option "Download prerequisits from the same location as my application" in the prerequisits ?
0
 
Dov_BAuthor Commented:
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.
 
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
That is strange ... ift works fine for me!
And if you download the files and use the last option "... following location" ?
0
 
Dov_BAuthor Commented:
It won't let me set the location as a place on myhardrive it wants a web address
0
 
Dov_BAuthor Commented:
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?
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Sorry I don't know if you can do that in the express edition.
Did you looked if you have it ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.