I'm creating a signed installer for a C# software that will be running in a system that is protected with Windows AppLocker. The AppLocker rule just allows software with the product name "MyAppName" in its Fqbn
(Fully qualified binary name) to install itself. I bought a certificate and signed the app's exe and the installer with Inno Setup' signtool ability which worked well. The installer and the exe contain the right product name in their Fqbn
.
But!
On installing, the setup creates a temporary copy of itself that does not contain the product name in its Fqbn
field. The original installer does, though. The publisher name stays the same in the said field ("O=My Company, L=My Town, S=My State, C=DE"
).
Any ideas on how to solve this? How to get the product name in the installer's temporary copy?
Update
Here are the event logs generated by AppLocker on the customer's PC.
This is the log for the temporary copy of the installer (denied). The product name is missing in the Fqbn (there are just three backslashes):
This is the log for the software's binary (allowed). The product name is there as well as the name of the binary: