When publishing program to a computer thet don't have internet access and framework i found thet i have to include prerequisites. Becose prerquisites can't be downloaded from web in properties i specify thet prerequisites download from the same location as my application. When publishing start i got three errors:
Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk.
Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information.
Error 3 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\dotnetfx.exe' in item '.NET Framework 2.0' can not be located on disk.
do i have to find and download this files i manualy copy them in DotNetFX\
Where can i find this files
when i publish application to download application from the component vendor's web site setup download entire framework 2.0 which is 276MB. Is this meen that i need at least 300 MB space on my computer Can install only a part of framework who is needed for my application
THANKS

Problem whit publishing
Ronan Shortall
We have downloaded dotnetfx, and now we are not receiving three but two error messages.:
Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk.
Error 3 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' in item '.NET Framework 2.0' can not be located on disk.
Question: Do we have to download those two files as well, or is there any other way to solve this problem.
acemuzzy
OK these two files are the .net framewok redistributables and the patch file probably some security issue for the .net framework. As you have selected that these not be downloaded from the vendor (ie microsoft) web site - you need to copy them to the same location as your application deployment files so that these requirement files can be found and used.
The message is stating it cant find them so you either havent copied them to you deployment machine, or copied them to the wrong location.
The other way to solve the problem is to allow it to get the files from MS site, its only going to do this once on a machine. Once the framework is installed them any other application using that version of the framework will note this an not bother to redownload the files as they are already installed.
thechristopher
fddsfsdf
I downloaded and copy all three files in dotnetfx folder.
Visual Basic run publishing ok, but when i start installation on other computer setup trow me an error
Component .NET Framework 2.0 has failed to install with the following error message:
"Fatal error during installation. "
The following components failed to install:
- .NET Framework 2.0
See the setup log file located at 'C:\DOCUME~1\NAUTILUS\LOCALS~1\Temp\VSD5.tmp\install.log' for more information.
and this is last rows from install.log:
Running checks for command 'DotNetFX\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Skipping FailIf because Property 'Version9X' was not defined
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'ValueNotExists' on property 'IEVersion': false
Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.01': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'DotNetFX\dotnetfx.exe' is 'Install'
'.NET Framework 2.0' RunCheck result: Install Needed
Verifying file integrity of C:\DOCUME~1\NAUTILUS\LOCALS~1\Temp\VSD1.tmp\DotNetFX\dotnetfx.exe
WinVerifyTrust returned 0
File trusted
Installing using command line '"C:\DOCUME~1\NAUTILUS\LOCALS~1\Temp\VSD1.tmp\DotNetFX\dotnetfx.exe" /q:a /c:"install /q /l"'
Process exited with code 1603
Status of package '.NET Framework 2.0' after install is 'InstallFailed'
I dont have access to internet from thet computer.
Can i manualy copy the files
Dave Morley
If you have the .net framework redistributable on say a CD - you can install the framework on the machine, but I suspect that this may be a security issue and the user attempting to install the application and as a result install the .NET framework may not have sufficient rights to do this.
But if you manually install the .NET 2.0 framework, when you then run the clickonce deployment again it will detect the machine already contains the .NET 2.0 framework (which is a requirement) and wont both trying to install it again.