Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 281
user457588 Avatar asked Jul 28 '11 17:07

user457588


People also ask

What is the difference between MSI installer and installer?

The main difference between the two extensions is their purpose. EXE is used mainly to indicate that the file is an executable one. In comparison, MSI indicates that the file is a Windows installer. While an MSI is used only with installers, this is not the case with EXE.

Are MSI and exe the same?

MSI is an installer file which installs your program on the executing system. Setup.exe is an application (executable file) which has msi file(s) as its one of the resources. Executing Setup.exe will in turn execute msi (the installer) which writes your application to the system.

How do I change my MSI installation directory?

When ThinApp installs the MSI package for individual users, the default MSI installation directory is %AppData%\<inventory_name> (VMware ThinApp). You can override the default installation directory by using an INSTALLDIR property in the msiexec command.


2 Answers

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.

like image 105
Alexey Ivanov Avatar answered Sep 22 '22 05:09

Alexey Ivanov


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.

like image 42
Bob Arnson Avatar answered Sep 21 '22 05:09

Bob Arnson