Setting the UAC 'Publisher' Field for a NSIS Installer

后端 未结 3 1047
梦如初夏
梦如初夏 2021-01-31 05:26

When I open my installer(that I created using NSIS), the UAC dialog appears with information about my installer. The field Publisher is \'unknown\'. I\'ve heard of digi

3条回答
  •  滥情空心
    2021-01-31 05:52

    You would have to Authenticode sign the installer with a certificate authority trusted by Windows (If you want to be part of Winqual then you need a special certificate and MS only allows you to use VeriSign) because that field is extracted from the digital certificate (if one exists) and not from the PE version information.

    To sign as part of the build process you can use this hack, or if you are using NSIS v3 then you can use the !finalize command.

提交回复
热议问题