Paval
·
Dec 16, 2011
·
Viewed 71.6k times
·
Source
Can anyone explain how to make silent (without any user interface) install of .NET 4? It looks like .NET installer ignores any switches from this article and show interface always.
.NET Framework 4 installer is packed by NSIS.
All, I am aware of the following methods to check the framework version in NSIS. For .NET4.0+ I currently use
Function IsDotNetInstalled
StrCpy $0 "0"
StrCpy $1 "SOFTWARE\Microsoft\.NETFramework" ; Registry entry to look in.
StrCpy $2 0
StartEnum:
; Enumerate the versions installed.
EnumRegKey $3 HKLM "$1\…
I want to create an NSIS installer that checks for the .NET Framework and installs it if it's not there. Can you point me to a script for this? I'm very new to NSIS.
I've already gone through:
Check if the application is already installed
Detecting if a program is already installed with NSIS
http://nsis.sourceforge.net/Add_uninstall_information_to_Add/Remove_Programs
My questions are little more in depth and little …