Skip to content
⌘ NSIS Forum Archive

nsis problem

4 posts

subhajit#

nsis problem

I am facing one problem in nsis script. Please told me that how to check that any software installed or not(like .net framework), if not then install it. how I ll do that? Please help me.
Thanks in adv.
sgiusto#
You should check the following registry folder
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\

All programs installed create a folder under this one with informations used for uninstall.

These registry values are used in Control Panel->Add/Remove Programs

Hope this helps
Stefano
subhajit#
thanks for ur reply. can u please provide the script code for checking the reg entry and install the .net framework.
Anders#
This might not always work for .net since it can be a part of the OS.

See http://blogs.msdn.com/astebner/pages/9763379.aspx for info about detecting every version