Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

.NET Framework 1.1 Installer for Innosetup

0.00/5 (No votes)
22 May 2004 1  
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