Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了一个问题,即 NSIS 安装程序在安装产品的先前版本后记住我想要安装的产品的先前安装位置。
我想防止这种行为......以便安装程序使用我在脚本中指定的默认目录。
找到了解决方案……需要InstallDirRegKey从我的脚本中删除。
InstallDirRegKey
http://nsis.sourceforge.net/InstallDir_doesn%27t_work