Odd 'Program name' when installing signed msi installer [duplicate]

匿名 (未验证) 提交于 2019-12-03 08:36:05

问题:

I'm running into the following issue after signin an MSI installer. I'm using signtool.exe and the msi file signs OK however when I test it, the UAC confirmation dialog which shows my company's name shows a 'Program name:' of 55847.msi, rather than the name of my setup file. E.g. Setup1.msi Does any one know how to 'fix' this?

Thanks in advance

回答1:

Add /d option to the command line of signtool.exe when signing your MSI:

signtool.exe /d "Your Software Name"

UAC confirmation dialog will show Your Software Name as the Program name.



回答2:

If you Authenticode-sign your .msi package, Windows will show that as the name. Otherwise, you get MSI's temporary copy of it, which has a random name.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!