Error 1627 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

Error 1627

Are there any prerequisites to have merge modules in your setup project? I mean to add merge modules as part of a normal setup project.

I am evaluating Advanced Installer as an alt to ISE due to ISE problems with Vista. On first run with a very small sample setup I was able to get a successful install in Vista without having to manually reg ocx files. I then started testing my regular setup config and have found that the merge modules cause this error. I thought it may have something to do with that specific MSM file so I remove it and add the individual files and retry, I then get the same error on a different MSM file.


Full error below

Creating CAB file(s)... done.
Creating MSI database... done.
Writing Summary Information... done.
Adding merge modules... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: MergeMod.

Build finished because an error was encountered.
wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

I think I found the problem. I had copied the merge module to a differnt folder than the "C:\program files\common files..." to a different location and was adding the merge modules from that location.

I guess you can't do that. It looks like they have to be in "C:\program files\common files\merge modules"
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is not related to the location where the merge modules are located. The location for a merge module is not restrictive.

Please make sure the COM merge module is registered on your computer. Additionally try to reproduce the problem on other computer.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

It is working now so I don't care about trying to reproduce the problem. But if the merge module has to be registered on my computer then the location probably was the problem. I had 2 sets of the merge modules and the set I was adding would not have been registered, they were simply copied to another folder.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Just to clarify am referring to the COM Mergemod.dll which must be registered on the developer computer in order for the merge to work.

Regarding the location for a merge module it's not restrictive. You can put your merge module wherever you want.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”