Error calling Msi API: 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!

thinkopen
Posts: 2
Joined: Tue Mar 23, 2010 10:41 pm

Error calling Msi API: 1627

Code: Select all

[ DefaultBuild ]
Building package (en): C:\Documents and Settings\epps\my documents\Advanced Installer\Projects\Your Application\Setup Files\setup.exe 
Creating CAB file(s)... done.
Creating MSI database... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: MsiAssemblyName. Extended Error: 
1: 2210 2: C:\Documents and Settings\epps\my documents\Advanced Installer\Projects\Your Application\Setup Files\setup.msi 3: 2 .

Build finished because an error was encountered.
I'm trying to package a simple VB.Net application and run into this every time I try to build the project. Please let me know what information you need to help debug this issue.

Thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Error calling Msi API: 1627

Hello,

We will need your .aip project file to troubleshoot this issue. Please send it to support at advancedinstaller dot com so we can further investigate.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
thinkopen
Posts: 2
Joined: Tue Mar 23, 2010 10:41 pm

Re: Error calling Msi API: 1627

I've sent the requested file to your support email address.
NikolajW
Posts: 3
Joined: Mon Mar 29, 2010 11:05 am

Re: Error calling Msi API: 1627

I see the same error - when creating a new project for a .NET 4.0 application.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error calling Msi API: 1627

Hi,

Here is a link from a post in which a solution is presented by Gabriel:
http://www.advancedinstaller.com/forums ... t=0#p28221

Please let us know if the problem persists.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NikolajW
Posts: 3
Joined: Mon Mar 29, 2010 11:05 am

Re: Error calling Msi API: 1627

Does this mean that all assemblies need to be strongly named? Even if they are not installed in the GAC. I have checked the current assemblies and some are signed (third party assemblies), but most are not stronlgy named.
NikolajW
Posts: 3
Joined: Mon Mar 29, 2010 11:05 am

Re: Error calling Msi API: 1627

Further investigation show that the problem occur on Win7 Pro 64 bit , but not on Windows Server 2008 32 bit...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Error calling Msi API: 1627

Hi,
Does this mean that all assemblies need to be strongly named? Even if they are not installed in the GAC.
Yes, this is a Windows Installer requirement.
Further investigation show that the problem occur on Win7 Pro 64 bit , but not on Windows Server 2008 32 bit...
The Advanced Installer error does not depend on Windows version. Perhaps in the project built on Windows Server 2008 the assembly is configured correctly.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davethegeek
Posts: 2
Joined: Fri Apr 02, 2010 8:20 pm

Re: Error calling Msi API: 1627

This can't be a windows installer requirement, since the msi building included in Visual Studio does not require the assemblies to be signed at all, much less strongly.

Return to “Common Problems”