Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.
Endpoint Management Community Blog

How to add .NET 2.0 SP2 to the Prerequisites drop-down list

Created: 28 Aug 2009 • Updated: 28 Aug 2009 • 3 comments
JohanH's picture
+1 1 Vote
Login to vote

This topic was discussed here, but I discovered today that there actually is a way to edit the list of MSI files and .NET runtime options on the prerequisites page in Wise Installation Studio 7 (build 7.3.0.259). I wanted to add .NET 2.0 SP2 Framework to the prerequisites, which you by the way can download here.

I copied the Framework setup to a folder that I created in: <Wise installation directory (usually C:\Program Files\Altiris)>\Wise\Windows Installer Editor\Stub\DOTNET2.2.30729

DOTNET2.2.30729 was the folder that I created.

The different versions shown on the prerequisites page is picked from an ini file in the Windows Installer Editor directory. It is named dotnet.ini.

I added the following section to dotnet.ini:

[DotNet14]
Name=Version 2.2.30729
Version=2.2.30729
Version1=2.2.30729
FileName1=DOTNET2.2.30729\dotnetfx.exe
Downloadable=0

Now I can choose this runtime from the dropdown list on the Prerequisites page.

Note that any new added runtime cannot probably be handled correctly by Wise if it requires different command line options than the older ones. This seems to be the case with .NET Framework 2.0 SP2 also, because it is not installing silently.

As far as I know, this does also not mean that Wise in any way can benefit from the SP2 version of the framework by itself. The .NET functionality in Wise is still based on the older 2.0 version (WiseDotNet 2.0.2469.22324).

Disclaimer: This is not supported by Symantec/Wise and by following these instructions you take the responsibility for breaking your installation, your PC, your dog eating your cat etc. etc.

Comments 3 CommentsJump to latest comment

dibley1973's picture

Hi Johan.

That is exactly what we needed to allow us to upgrade the installer for our upgraded application. We neded to add .net framework 3.5, so following your example and changing where necessary we have a working solution.

We added the following folders to the Stub folder with associated dotnetfx exes:
- DOTNET3.0 - dotnetfx3setup.exe
- DOTNET3.5 - dotnetfx35setup.exe

and the following entries to the "dotnet.ini" file:

[DotNet14]
Name=Version 3.0
Version=3.0
Version1=3.0
FileName1=DOTNET3.0\dotnetfx3setup.exe
Downloadable=0
[DotNet15]
Name=Version 3.5 (SP1)
Version=3.5
Version1=3.5
FileName1=DOTNET3.5\dotnetfx35setup.exe
Downloadable=0

Thank you.

Best regards,
Duane.

-4
Login to vote
pbishop's picture

Has anyone had luck with this adding the 4.0 framework?

+2
Login to vote
yian's picture

anyone figured out how to add support of .net framework 4.0?

Thanks for sharing!

+2
Login to vote