is there any way by which i can install .net frame work in silent?
I need to install .net framework inmy installer is there any way by which i can install the framework in silence
Archive: is there any way by which i can install .net frame work in silent?
is there any way by which i can install .net frame work in silent?
I need to install .net framework inmy installer is there any way by which i can install the framework in silence
Yes!
ExecShell, Exec or ExecWait...the commandline is /q, i think.
problem solved...........
Create .bat file with following lines Place .net framework in same directory.
Just execute bat file in silent using
ExecCmd::exec "path of .bat file"
;Code tobe added to .bat file
@ECHO Installing DotNet Framework
start /wait dotnetfx.exe /q:a /c:"install.exe /q"
Hi
can u tell me there is any way without user bat file.
directly by NSIS.
Or
How to run bat file in the silent mode.
Hi I found a way to do this but soon discovered that it was a bad idea, i even included a dialog that said "Please wait while the .NET framework is installed.." and customers where trying to close the program (and making it crash) because they were sick of waiting, now i just lauch the .NET installer...
##Dont forget the page
Page custom CheckDotNET
Function CheckDotNET
IfFileExists $WINDIR\Microsoft.NET\Framework\v2.0.50727\*.* DotNetIsInstalled
MessageBox MB_YESNO `The Microsoft .NET Framework v2.0 Is Not Currently Installed, Install Now?$\n$\nThis component is required, clicking "No" will cause the installer to exit.` IDYES true IDNO false
true:
Banner::show /NOUNLOAD /set 76 "Please wait.." "Installng .NET Framework v2.0..."
SetOutPath "$PLUGINSDIR"
File /r "dotnetfx.exe"
ExecWait '"$PLUGINSDIR\dotnetfx.exe"'
Banner::destroy
IfFileExists $WINDIR\Microsoft.NET\Framework\v2.0.50727\*.* DotNetIsInstalled
MessageBox MB_OK|MB_ICONEXCLAMATION "The .NET Framework v2.0 Failed To Install, The Installer Will Now Quit."
Quit
Goto DotNetIsInstalled
false:
Quit
DotNetIsInstalled:
FunctionEnd
HTH
D.