Click here to Skip to main content
15,394,193 members
Articles / Operating Systems / Windows
Posted 22 May 2004


33 bookmarked

.NET Framework 1.1 Installer for Innosetup

Rate me:
Please Sign up or sign in to vote.
4.44/5 (15 votes)
22 May 20041 min read
An innosetup install script that detects which dependencies to download from Microsoft, dowloads and installs them with little user intervention.


Here is an Innosetup script I wrote that installs the dotnet framework. It's pretty intuitive I think. I couldn't find any extensive ones when I was searching and working on it, so I thought I'd post it.

It detects if the following are installed, and then downloads from Microsoft (if they aren't in a root \dependencies folder already) and installs them for the user without prompting them. IE 6 prompts for a download location (this could be changed to a total quiet install, but there would be a long wait with no status updates).

  • NT4 sp6a - required by dotnet, when on nt4
  • IE 6 - required by dotnet
  • MDAC 2.8 - My app needed it
  • Jet 4.0 sp3 - dao 3.6 isn't included in mdac 2.7...
  • .NET 1.1

The setup does skip the application directory dialog if an exclusive reboot is needed (I disabled the app dir wizard page FYI, you'll want to re-enable that).

Those who are looking for alternative ways to install .net services might want to consider using things like InstallUtil and net start and net stop. The base functions, as well as some misc functions that I use personally, are also included in the script.

Thanks IS, ISX and ISXDL authors!

Here's a link to my original post:


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Ted Ehrich
United States United States
No Biography provided

Comments and Discussions framework 1.1 causes that when you start windows ask for administrator to log in Pin
zionlion4-Sep-09 16:57
Memberzionlion4-Sep-09 16:57 
GeneralA more straight forward script Pin
Priyank Bolia3-May-08 8:41
MemberPriyank Bolia3-May-08 8:41 
GeneralMessage Removed Pin
13-Oct-07 23:20
MemberDomGries13-Oct-07 23:20 
QuestionAn offline installer Pin
Marco Tenuti21-Oct-06 19:47
MemberMarco Tenuti21-Oct-06 19:47 
AnswerRe: An offline installer Pin
Ted Ehrich8-Nov-06 13:42
MemberTed Ehrich8-Nov-06 13:42 
GeneralInstShellExec Pin
pana200610-Aug-06 6:17
Memberpana200610-Aug-06 6:17 
GeneralRe: InstShellExec [modified] Pin
Ted Ehrich13-Aug-06 17:02
MemberTed Ehrich13-Aug-06 17:02 
GeneralNote: The Microsoft URL's are outdated Pin
Ted Ehrich26-Apr-06 14:05
MemberTed Ehrich26-Apr-06 14:05 
GeneralRe: Note: The Microsoft URL's are outdated [modified] Pin
Solel24-Aug-06 23:05
MemberSolel24-Aug-06 23:05 
GeneralGreat work - have u tried .NET 2.0 with it? [modified] Pin
LightingToGo2-Mar-06 7:27
MemberLightingToGo2-Mar-06 7:27 
GeneralRe: Great work - have u tried .NET 2.0 with it? Pin
Ted Ehrich26-Apr-06 14:26
MemberTed Ehrich26-Apr-06 14:26 
AnswerDetecting .NET 2.0 Pin
razvar28-Oct-06 11:01
Memberrazvar28-Oct-06 11:01 
GeneralScript error Pin
nmg1968-Jul-05 1:59
Membernmg1968-Jul-05 1:59 
GeneralRe: Script error Pin
Ted Ehrich26-Apr-06 14:24
MemberTed Ehrich26-Apr-06 14:24 
GeneralRe: Script error Pin
nmg19626-Apr-06 22:33
Membernmg19626-Apr-06 22:33 
GeneralRe: Script error Pin
Ted Ehrich27-Apr-06 6:49
MemberTed Ehrich27-Apr-06 6:49 
GeneralRe: Script error [modified] Pin
GlaucioSilva14-May-09 4:21
MemberGlaucioSilva14-May-09 4:21 
GeneralProblem with ISTools Update Pin
stroi28-Dec-04 10:49
Memberstroi28-Dec-04 10:49 
GeneralRe: Problem with ISTools Update Pin
stockman0127-Apr-05 11:13
Memberstockman0127-Apr-05 11:13 
GeneralThanks much! Pin
Okeno Palmer11-Oct-04 21:17
MemberOkeno Palmer11-Oct-04 21:17 
I've been looking for something like this for a while now. I also want to check for the existence of JRE so I will attempt to tweak the script and see if I can get that going as well.

.:. Keno .:.
GeneralFind path Pin
naormeir28-Jun-04 20:33
Membernaormeir28-Jun-04 20:33 
GeneralFix for Win98SE Pin
AWente2-Jun-04 1:13
MemberAWente2-Jun-04 1:13 
GeneralRe: Fix for Win98SE [modified] Pin
GlaucioSilva14-May-09 4:18
MemberGlaucioSilva14-May-09 4:18 
GeneralMissing isxdl.iss Pin
anandasim25-May-04 21:50
Memberanandasim25-May-04 21:50 
GeneralRe: Missing isxdl.iss Pin
Asper3326-May-04 18:12
MemberAsper3326-May-04 18:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.