Page 1 of 1

Authenticode causing Unable to merge Windows Installer database with module

Posted: Sun Nov 05, 2017 10:17 pm
by GaryMiyakawa
I'm running Visual Studio 2015 and loaded the latest AI product (free). AI is working fine to build my application if I don't check the box for Authenticode. I went on KSoftware and bought a Cert and then extracted the SPC and PVK from it. I added that information back to the setup properties and tried to build. It aborts rather quickly with:

Created Windows Installer database
Error during build: Unable to merge Windows Installer database with module


I've copied the mmergemod.dll file from the AI directory to the Windows directory but it had no effect.

Very open to suggestions on this one or did I just waste the $ for the Cert ?

Thanks,

Gary Miyakawa

Re: Authenticode causing Unable to merge Windows Installer database with module

Posted: Wed Nov 08, 2017 9:41 am
by GaryMiyakawa
Bump....

Can anyone help me with this ?

Gary M

Re: Authenticode causing Unable to merge Windows Installer database with module

Posted: Fri Jul 26, 2024 5:34 pm
by Ohmylord
I'm having the same problem again with X16. It will work fine when I build the setup and then the error message will pop up that it can't merge the merge modules. The only way I've ever found to fix it is to uninstall InstallAware, reboot, reinstall and re-register.

Anyone have any other ways to fix it without uninstalling? It also always happens at the worst possible time like trying to get a release out.

Re: Authenticode causing Unable to merge Windows Installer database with module

Posted: Sun Jul 28, 2024 9:47 am
by JohnGaver
Glad to hear at least Murphy Law is intact :lol:

Sounds like an anti-virus, or maybe background software updates, are deregistering the merge module ActiveX control for you.

I would just run the following command line the next time something goes awry:

Code: Select all

regsvr32 "C:\Program Files (x86)\InstallAware X16\mergemod.dll"

Hope that helps, and thanks Murphy for being the only reliable law in these times of accelerating change :D