Skip to content
⌘ NSIS Forum Archive

Help!! Queries about NSIS

4 posts

ZHOUNAN#

Help!! Queries about NSIS

Hi,

We are looking for an embedded .NET installer for one of our product which needs .NET Framework installation.
The installer we are looking for needs to provide the functionality below:
• If .NET 4 (Client Profile or Full) is installed then install the .NET 4 version of the application
• If .NET 3.5 SP1 is installed then install the .NET 3.5 SP1 version of the application
• If .NET 3.5 SP1 or .NET 4 are not installed then (1) install .NET 4.0 Client Profile and then (2) install the application
Note: The .NET 4 installer must (1) use the web based installer (which adds less than 1 MB to the installation package size) and (2) must provide accurate progress information including time remaining during installation.

Do your products supply these functions?

Thanks,
Zhou Nan
Afrow UK#
It is up to you to code this functionality. The .NET versions are under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP. If you want to show .NET installation progress then you will have to either show the full installation wizard or find suitable command line switches that strips down the UI. There is no generic way to display install progress within NSIS from a child installation.

Stu
Afrow UK#
It is up to you to code this functionality. The .NET versions are under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP. If you want to show .NET installation progress then you will have to either show the full installation wizard or find suitable command line switches that strips down the UI. There is no generic way to display install progress within NSIS from a child installation.

Stu
MSG#
Originally Posted by ZHOUNAN View Post
Do your products supply these functions?
Practically everything is possible, but NSIS does only the most basic stuff automatically. You have to code your required functionality by yourself. This may be of interest to you: