Jun 01, 2018
And we can check this value by using ReadRegStr and MessageBox: ReadRegStr $0 HKLM “Software\Microsoft\Windows\CurrentVersion\Uninstall\Pooler” “DisplayName” MessageBox MB_OK $0 . Have fun with NSIS! Mui_page_directory - NSIS Forums AstraS 14th April 2007 14:34 UTC. Mui_page_directory I have a problems. 1. in my installer i setup my files and Firebird. First i use ExecWait tu setup firebird. NSIS: Unable to get JRE version from registry in Windows 7 ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion" # display $1 value for testing purpose MessageBox MB_OK "Version: $1" This code works fine in Windows XP, but I can't get it to work in Windows 7 64 bit the version number is always blank. The NSIS installer is a 32 bit program so it sees a different part of readRegSTr not working - Winamp & Shoutcast Forums Jan 10, 2006
readRegSTr not working - Winamp & Shoutcast Forums
From NSIS Wiki. Author: Zinthose (talk, contrib) Summary. Header/Include to get the profile paths of user accounts that are stored locally on the system. Example ReadRegStr $ {_OUTVAR} "${REG~\ProfileList}" ProfilesDirectory ExpandEnvStrings $ EnumUsersReg - NSIS !include "EnumUsersReg.nsh" Name EnumUsersReg OutFile EnumUsersReg.exe ShowInstDetails show Section; use ${un.EnumUsersReg} in uninstaller sections $ {EnumUsersReg} CallbackFunction temp.key SectionEnd Function CallbackFunction Pop $0 ReadRegStr $0 HKU "$0\Software\Microsoft\Internet Explorer" "Download Directory" DetailPrint $0 FunctionEnd Validating $INSTDIR before uninstall - NSIS
Installer for Successional Installations - NSIS
Dec 05, 2011 NT Profile Paths - NSIS From NSIS Wiki. Author: Zinthose (talk, contrib) Summary. Header/Include to get the profile paths of user accounts that are stored locally on the system. Example ReadRegStr $ {_OUTVAR} "${REG~\ProfileList}" ProfilesDirectory ExpandEnvStrings $ EnumUsersReg - NSIS !include "EnumUsersReg.nsh" Name EnumUsersReg OutFile EnumUsersReg.exe ShowInstDetails show Section; use ${un.EnumUsersReg} in uninstaller sections $ {EnumUsersReg} CallbackFunction temp.key SectionEnd Function CallbackFunction Pop $0 ReadRegStr $0 HKU "$0\Software\Microsoft\Internet Explorer" "Download Directory" DetailPrint $0 FunctionEnd Validating $INSTDIR before uninstall - NSIS Description The install directory ($INSTDIR) is saved in the registry after a successful install and then fetched again in the uninstaller. If not fetched from the registry manually (via a ReadRegStr) then it is set to $EXEDIR (the location of the uninstaller executable).