有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (1) 个答案

  1. # 1 楼答案

    您需要对完成的安装程序进行数字签名

    在InstallAnywhere文档中,我们可以找到以下内容:

    You can digitally sign installers on Windows if you have a valid digital certificate. Digital signatures give end users the added security that comes with knowing that an installer came from a trusted source. It also prevents your customer from seeing a “Unknown Publisher” warning when they launch installers on Windows XP Service Pack 2 and later systems. To digitally sign installers, you essentially need thre [sic] files: a .pvk file (a private key), an .spc file (the code signing certificate), and signcode.exe (the code signing tool from Microsoft). You can download signcode.exe from Microsoft’s download center. It is included in a package called codesigningx86.exe. Signcode has a GUI mode, but can also run from the command line. The command line can be as simple as:

    signcode /spc myCert.spc /v mypkey.pvk "install.exe"

    Signcode has numerous command-line parameters. For more information about Signcode, search for signcode.exe in the MSDN Library.

    请参阅MSDN上有关SignTool实用程序的链接:http://msdn.microsoft.com/en-us/library/windows/desktop/aa387764(v=vs.85).aspx