1627 Method: MsiViewExecute Table: MergeMod - 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!

Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

1627 Method: MsiViewExecute Table: MergeMod

I'm getting a build error when I add a mergemodule that has the same name and version, but with a different platform, such as AMD64:

Creating MSI database... done.
Adding merge modules... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: MergeMod.

I can build and install ok with either the 32bit msm or the 64bit msm but I get the above error when I include both.

I don't want to have to have a different aip for 32bit or 64bit.

I've tried setting the Feature and Folder to something different, such as x64 but to no avail.

How can I create a single install with different mergemodules for different platforms?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 1627 Method: MsiViewExecute Table: MergeMod

Hi

Here is a discussion about your problem. Please note that this error can also be encountered when the MSI is in use when you build the project.
Please make sure that the MSI is not running or it is not opened in Orca.

Please let me know if the problem persists.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

Re: 1627 Method: MsiViewExecute Table: MergeMod

The msi isn't in use.

I've even created a new, test aip and I can add the 32bit msm merge module and build ok. I can remove this and add the 64bit msm merge module and build ok, but as soon as I have both, I get the build error.

Can you confirm that ai supports identical msm files with different platforms?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 1627 Method: MsiViewExecute Table: MergeMod

Hi,
Can you confirm that ai supports identical msm files with different platforms?
Yes, I've just tested and the error didn't occurred.

Can you please send us the .aip files of the main project and of the merge modules to support at advancedinstaller dot com to investigate them?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

Re: 1627 Method: MsiViewExecute Table: MergeMod

I've now sent my test aip project to support.

Please let me know that you received it and that it shows the same problem.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 1627 Method: MsiViewExecute Table: MergeMod

Hi David,

We have analyzed the .msm files that you have sent and observed that they are identical, the only difference being the package type.

The problem is that this merge modules contain some identifiers that need to be unique. Since you are importing both of them in the same project Windows Installer will prompt you with the encountered error message because duplicate identifiers are found in the resulting package.

You can either create separate installation packages for both of them or create a Mixed 32/64 installation package in which you add only the 32-bit merge module.

Please let me know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”