Click here to Skip to main content
15,513,631 members
Articles / Operating Systems / Windows
Article
Posted 22 May 2004

Stats

135K views
634 downloads
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.

Introduction

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: http://news.jrsoftware.org/news/innosetup.isx/msg06108.html

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
General.net framework 1.1 causes that when you start windows ask for administrator to log in Pin
zionlion4-Sep-09 17:57
zionlion4-Sep-09 17:57 
GeneralA more straight forward script Pin
Priyank Bolia3-May-08 9:41
Priyank Bolia3-May-08 9:41 
GeneralMessage Removed Pin
14-Oct-07 0:20
DomGries14-Oct-07 0:20 
QuestionAn offline installer Pin
Marco Tenuti21-Oct-06 20:47
Marco Tenuti21-Oct-06 20:47 
AnswerRe: An offline installer Pin
Ted Ehrich8-Nov-06 14:42
Ted Ehrich8-Nov-06 14:42 
GeneralInstShellExec Pin
pana200610-Aug-06 7:17
pana200610-Aug-06 7:17 
GeneralRe: InstShellExec [modified] Pin
Ted Ehrich13-Aug-06 18:02
Ted Ehrich13-Aug-06 18:02 
GeneralNote: The Microsoft URL's are outdated Pin
Ted Ehrich26-Apr-06 15:05
Ted Ehrich26-Apr-06 15:05 
GeneralRe: Note: The Microsoft URL's are outdated [modified] Pin
Solel25-Aug-06 0:05
Solel25-Aug-06 0:05 
GeneralGreat work - have u tried .NET 2.0 with it? [modified] Pin
LightingToGo2-Mar-06 8:27
LightingToGo2-Mar-06 8:27 
GeneralRe: Great work - have u tried .NET 2.0 with it? Pin
Ted Ehrich26-Apr-06 15:26
Ted Ehrich26-Apr-06 15:26 
AnswerDetecting .NET 2.0 Pin
razvar28-Oct-06 12:01
razvar28-Oct-06 12:01 
GeneralScript error Pin
nmg1968-Jul-05 2:59
nmg1968-Jul-05 2:59 
Hi,

I think there is an error in the script:

RegQueryStringValue(HKLM, 'Software\Microsoft\Internet Explorer', 'Version', sRet);
if downloadNeeded and (sRet < '3') then begin

Doesn't this check that IE 3 is installed rather than IE6?

IE 6 is required for .NET AFAIK.

Please let me know how to fix this. I presume you can't just change the 3 to a 6 because the value it's reading is not an integer - it's a version number like 6.0.2900.2180.

Thanks,

Nick...
GeneralRe: Script error Pin
Ted Ehrich26-Apr-06 15:24
Ted Ehrich26-Apr-06 15:24 
GeneralRe: Script error Pin
nmg19626-Apr-06 23:33
nmg19626-Apr-06 23:33 
GeneralRe: Script error Pin
Ted Ehrich27-Apr-06 7:49
Ted Ehrich27-Apr-06 7:49 
GeneralRe: Script error [modified] Pin
GlaucioSilva14-May-09 5:21
GlaucioSilva14-May-09 5:21 
GeneralProblem with ISTools Update Pin
stroi28-Dec-04 11:49
stroi28-Dec-04 11:49 
GeneralRe: Problem with ISTools Update Pin
stockman0127-Apr-05 12:13
stockman0127-Apr-05 12:13 
GeneralThanks much! Pin
Okeno Palmer11-Oct-04 22:17
Okeno Palmer11-Oct-04 22:17 
GeneralFind path Pin
naormeir28-Jun-04 21:33
naormeir28-Jun-04 21:33 
GeneralFix for Win98SE Pin
AWente2-Jun-04 2:13
AWente2-Jun-04 2:13 
GeneralRe: Fix for Win98SE [modified] Pin
GlaucioSilva14-May-09 5:18
GlaucioSilva14-May-09 5:18 
GeneralMissing isxdl.iss Pin
anandasim25-May-04 22:50
anandasim25-May-04 22:50 
GeneralRe: Missing isxdl.iss Pin
Asper3326-May-04 19:12
Asper3326-May-04 19: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.