NSIS脚本根据操作系统版本动态决定默认安装目录

问题描述:

因为windows XP和windows 7的program files不同(有program files(x86)),所以需要动态根据系统的位数设置默认安装目录

References:

http://stackoverflow.com/questions/1502542/nsis-installdir-in-vista-xp

http://stackoverflow.com/questions/11126629/use-one-nsis-installer-to-install-32-bit-binaries-on-32-bit-os-and-64-bit-binari/11127544#11127544

原文地址:https://www.cnblogs.com/foohack/p/3830176.html