Skip to content
⌘ NSIS Forum Archive

help needed to use nsis

6 posts

DevD#

help needed to use nsis

Hello everyone,I'm new to packaging and nsis is my first experience,i've read the user manual provided with nsis,written some small basic installers but now am facing challenge in creating installer which checks cpu if 64 bit or not,os version win 7 or not,ram size,IE version,MS office installed or not,user-admin or not.I've found these scripts on this forum but have no idea how to deploy it,so can anybody provide me with any tutorial links or materials for writing more effective installers?
Regards,
DevD
th_mi#
Seems Google does not work:

Detct win7: http://forums.winamp.com/showthread.php?p=2961147
IE Version: http://nsis.sourceforge.net/Get_Inte...plorer_version
Office: http://forums.winamp.com/showthread.php?t=273376
detect x64: http://stackoverflow.com/questions/1...ng-nsis-script
Afrow UK#
http://nsis.sourceforge.net/Get_Inte...plorer_version is rather outdated and will report '9' for 10 and 11. Microsoft recommends you detect the version by reading it from iexplore.exe instead (use GetFileVersion).

Stu
DevD#
Originally Posted by Afrow UK View Post
http://nsis.sourceforge.net/Get_Inte...plorer_version is rather outdated and will report '9' for 10 and 11. Microsoft recommends you detect the version by reading it from iexplore.exe instead (use GetFileVersion).

Stu
Thanks but i need to know how to implement these scripts
Afrow UK#
I have already explained you need to use GetFileVersion (look for it in the manual). You know where iexplore.exe is ($PROGRAMFILES).

Stu