Reputation: 161
I have an application setup made using NSIS. The application needs DotNet 2.0 and VC++Redist 2008 to run. Currently i am installing these dependencies separately.I need a way to install DotNet Framework and Vc++Redist 2008 from within my NSIS Scirpt if not present on the system(if present installer should skip the dependencies). Need some piece of script and a step by step procedure to do this. Kindly help.
Thanks,
Upvotes: 0
Views: 267
Reputation: 11465
You should try the search engine before asking a question that was already asked, here and on the NSIS wiki:
Also:
How to perform a silent install of the Visual C++ 2008 redistributable packages.
Basically you need something like
ExecWait '$TEMP\vcredist_x86_SP1.exe /Q' $0
DetailPrint "-- vcredist_x86_SP1.exe runtime exit code = '$0'"
Upvotes: 2