Archive: nsis problem


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.


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


thanks for ur reply. can u please provide the script code for checking the reg entry and install the .net framework.


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