3

I have created a setup project in c# and i had choose dot net framework 3.5 as it's prerequisites and i set the option "Download from the same location as my application". But while it assumed to be run from local when i run the Setup.msi it goes through the internet to install the .NET Framework 3.5.

Could anybody please tell me WHY?

abatishchev
  • 98,240
  • 88
  • 296
  • 433
m-abdi
  • 540
  • 1
  • 7
  • 30

1 Answers1

3

From Application Deployment Prerequisites (emphasis added):

... Visual Studio generates a Windows executable program named Setup.exe, also known as a bootstrapper. The bootstrapper is responsible for installing these prerequisites before your application runs.

The msi file is just a windows installer database, and isn't capable of performing bootstrapping actions.

Damien_The_Unbeliever
  • 234,701
  • 27
  • 340
  • 448