I want to build an web installer for an .NET application. I plan to distribute the .NET Framework redistributable included within my application setup.
I have setup .NET Framework as a prerequisite and build the web installer.
Unfortunately, the .NET Framework redistributable is moved into the "small" web installer EXE. Now, instead of having an actual 2-3 MB small web installer EXE, I have 60 MB "small" web installer EXE.
Further analyses of the prerequisite concept make it clear that this behavior is correct.
However, how to workaround this "issue" and have the .NET Framework redistributable as an separate feature to be downloaded/installed only, when there is not .NET Framework Version X.Y or above?
I need to have the web installer EXE to be below 5 MB in size.