WinVer.nsh
The new header looks really nice! It should make that detection/comparison a whole lot cleaner in scripts. Just wanted to say thanks for the new functionality.
Archive: WinVer.nsh
WinVer.nsh
The new header looks really nice! It should make that detection/comparison a whole lot cleaner in scripts. Just wanted to say thanks for the new functionality.
Hopefully this will help users have their installers function longer without a need to update for newer versions of Windows. And of course this is another reason to use LogicLib which is always good to have.
On another note, Joost has found a bug that caused failure in detection of Windows 98 and Windows ME. AtLeastWin98 didn't catch Windows 98 but caught Windows ME and AtLeastWinME didn't catch ME. IsWin98 and IsWinME didn't work.
A diff of the fix is available. Once WebCVS will be back up, I'll post a link to the full download as well. This change will be included in 2.22.
Another feature that might be helpful, would be to allow a flag passed to all the ReadReg* and WriteReg* that will perform the operation on the actual node instead of the redirected registry node.
See Include\x64.nsh
I had seen those. The only thing is that the enable and disable FS redirection only work on the FS and don't work on the registry. To work on the registry, you would need to pass the KEY_WOW64_64KEY flag into the RegCreateKeyEx/RegOpenKeyEx functions dwOptions parameter.
Complete version of the fixed WinVer.nsh available at:
http://nsis.cvs.sourceforge.net/*che...ude/WinVer.nsh