Click here to Skip to main content
14,391,240 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have signed a setup.msi with a pfx-signitaure-file and it finished sucessfully.

I have used the command line:

...\signtool.exe sign /p ********* /f CodeSigning_MS.pfx Setup_MyApplication_1.0.0.1.msi

If I execute the Setup after signing, in the "User Account Control" window the company name is shown correctly, but the program name had changed to a random string that changes with each new signature try.

Before signing, the path of the setup file was shown as program name, what was also not correct but better.

Can anybody help me and tell me how to set the name for the signing tool?

I'm working on a C#-project and I'm using WIX-Installer to generate the msi.

What I have tried:

I have also tried the same with a msi from Visual Studio Installer but same problem.
Updated 2-Dec-19 7:44am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Maybe you can try the /d option mentioned here: Odd 'Program name' when installing signed msi installer - Stack Overflow[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100