注册PKCS#11库 [英] register a PKCS#11 library

查看:159
本文介绍了注册PKCS#11库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何通过MSI设置文件将PKCS#11库(.dll)文件注册到mozilla firefox浏览器中。此MSI文件使用WiX XML语言编写。它支持用不同的语言编写自定义操作,例如C ++(我的偏好)和JavaScript

Does anybody know how i can register a PKCS#11 library (.dll) file into mozilla firefox browser via a MSI setup file. This MSI file is written using WiX XML language. It supports writing custom actions in different languages such as C++ (my preference) and JavaScript

推荐答案

读取文档的速度注册pkcs11 [ ^ ]您需要调用导出的函数吗?



你需要写一个自定义动作 [ ^ ]



自定义操作类型
[ ^ ] Type18可能是最容易实现的你想做什么 - 虽然我不知道(并且没有记录)如果命令行字符串可以使用 MSI格式的字符串表示法 [ ^ ](因为你想知道你安装的DLL的位置 - #filekey)



喜欢奶酪,处理卸载和回滚(条件语法 [ ^ InstallExecuteSequence [ ^ ]条目(复数))



不知道wix是如何暴露这些的ems,但鉴于它是由MSI开发团队编写的,它可能做得很好
speed reading the docs register pkcs11[^] you need to call an exported function ?

you need to write a custom action[^]

Of the Custom Action types
[^] Type18 is probably the easiest to implement what you want to do - though i don't know (and it's not documented) if the command line string can use MSI formatted string notation[^] (because you'll want to know the location of your installed DLL - #filekey )

for the love of cheese, handle uninstall and rollback ( Condition syntax[^] in your InstallExecuteSequence[^] entries (plural) )

No idea how wix exposes these items, but given it's written by the MSI dev team, it probably does it well


这篇关于注册PKCS#11库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆