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

2

22

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

Cecelia answered 28/7, 2011 at 17:30 Comment(0)
D
38

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.

Dent answered 29/7, 2011 at 6:44 Comment(1)
Thanks!!! (I'd 'read the manual' but there are just too many manuals :)Cecelia
C
1

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.

Compote answered 28/7, 2011 at 20:59 Comment(1)
I assume that means that for unsigned packages the full path to the locally cached database is always shown? This issue came up again today. Is there anything in the WiX MSI that can affect what is shown apart from the signature? Not that important, just curious.Hospodar

© 2022 - 2024 — McMap. All rights reserved.