[英]NSIS scripts that creates 32bit installer and sysnative
I did a script to make an installer for a 64bits driver , so it needs to place the .dll in the real system32 . 我做了一个脚本来制作64位驱动程序的安装程序 ,因此需要将.dll放入真实的system32中 。
So, I uses sysnative that is suppose to jump the redirector. 因此,我使用的是sysnative ,它希望跳转重定向器。
but tried it in Win7 64bits, and all that it does is to create a folder at\\named c:\\Windows\\Sysnative** and actually placing the .dll here!. 但是在Win7 64位系统中尝试过,它所做的就是在\\ c:\\ Windows \\ Sysnative **目录下创建一个文件夹,并将.dll实际放在这里! **What is wrong?
**怎么了? .
。
delete "$WINDIR\sysnative\flulpypt64.dll"
CopyFiles "$INSTDIR\flulpypt64.dll" "$WINDIR\sysnative\flulpypt64.dll"
the other solution, exists a way to tell NSIS to compile 64bits .exe installer?. 另一种解决方案是存在一种告诉NSIS编译64位.exe安装程序的方法。
Sysnative does not exist on WinXP-64. WinXP-64上不存在Sysnative。 If you take a look in
x64.nsh
you will find some macros that turn off filesystem redirection, you can then extract the file directly to the real system directory... 如果您查看
x64.nsh
您会发现一些关闭文件系统重定向的宏,然后可以将文件直接提取到真实系统目录中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.