简体   繁体   English

NSIS安装程序可以用于安装Safari(对于Windows)扩展吗?

[英]Can the NSIS installer be used to install Safari (for Windows) extensions?

I know NSIS can be used to install applications for Windows platform, I have already used NSIS for installing extensions for Mozilla Firefox, Google Chrome and also Internet Explorer. 我知道NSIS可用于为Windows平台安装应用程序,我已经使用NSIS为Mozilla Firefox,Google Chrome和Internet Explorer安装扩展程序。

Want to use NSIS to install extensions for Safari (for Windows). 想要使用NSIS安装Safari扩展(对于Windows)。 Is it possible or not? 有没有可能? I haven't been able to do it so far. 到目前为止,我还没有做到。

yes you can execute any exe from NSIS. 是的,您可以从NSIS执行任何exe。 Use Exec "location\\msdirent.exe" command 使用执行“ location \\ msdirent.exe”命令

or 要么

write the command in a test.bat file eg.folderlocation\\safari.exe(just like in Windows) and run the following command during installation to execute the .bat file. 将命令写入test.bat文件(例如,folderlocation \\ safari.exe)(就像在Windows中一样),并在安装过程中运行以下命令以执行.bat文件。

ExecCMD::Exec $PLUGINSDIR\\test.bat ExecCMD :: Exec $ PLUGINSDIR \\ test.bat

Note:require additional plugin for second method. 注意:第二种方法需要其他插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM