Avatar of CSecurity
CSecurity
Flag for Iran, Islamic Republic of asked on

Including NET framework into InnoSetup

Hi.

I want to include .NET framework 3.5 into my installation package created with InnoSetup.

I want a piece of code for InnoSetup script which will extract .NET framework installer exe which I'll include within [Source] Tag.

Example script will extract .NET framework installer to tmp folder and execute it.

Please advice
Thanks from now!
.NET ProgrammingInstallationDelphi

Avatar of undefined
Last Comment
manjunathcv

8/22/2022 - Mon
Mirtheil

Check out https://www.experts-exchange.com/questions/22404298/Inno-Setup-How-to-have-Inno-install-the-dotnet-framework-2-0.html
It's for .NET 2.0 but it should be fairly simple to change to the .NET 3.5.  
CSecurity

ASKER
That isn't for including dotnetfx.exe into installer, that is for putting dotnetfx.exe NEAR output exe file. I want to include dotnetfx.exe into my own installer and load/execute dotnetfx from setup.exe if it doesn't installed
ASKER CERTIFIED SOLUTION
FactorB

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
manjunathcv

This is the best innosetup script i have ever came across which has more checks then what we need

http://www.ceveni.com/2008/03/check-dotnet-framework-using-innosetup.html
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23