Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Yet another 1627

I'm getting a 1627 error when building my installer:
DefaultBuild
Building package (en): C:\Source\mltesttools\Trunk\install\mltt\AdvancedInstaller\x86.msi
Applying file transforms... done.
Creating MSI database... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: ControlEvent. Extended Error:
1: 2259 2: C:\Source\mltesttools\Trunk\install\mltt\AdvancedInstaller\x86.msi 3: 4: .

Build finished because an error was encountered.
Any ideas?

Thanks,
Jebrew
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please send us the AIP which shows this problem and it's dependencies (eventually the dialogs used from the repository) to support at advancedinstaller dot com so we can investigate the problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Re: Yet another 1627

Hi guys

Any news on this? It seems we ran into it too:

Creating CAB file(s)... done.
Creating MSI database...
Exception - Error calling Msi API: 1627 Method: MsiViewExecute Table: Control. Extended Error:
1: 2259
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Yet another 1627

Hi,

Usually this problem is caused by a duplicate Control Event on one of the installation dialogs. However, I'm not sure if this is the case for you.
If you cannot find a duplicate control event in your project, please send it to support at advancedinstaller dot com so we can investigate it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Re: Yet another 1627

I've managed to fix the faulty project file, which seemed to be caused by a custom dialog. Unfortunately I didn't keep a copy of the project file before I deleted the dialog, so I'm not sure why it wasn't working.

Thanks nonetheless.
srisdal
Posts: 6
Joined: Tue Apr 22, 2008 1:41 am

Re: Yet another 1627

In case anyone needs an answer:

I had this problem and it was related to duplicate events in a custom dialog. I solved it by:

1) Right clicking on the suspect dialog and choosing Save to Repository.

2) Deleting it from the dialogs/Install Sequence and verifying that I could successfully build without it.

3) Go to the Repository directory for that dialog (e.g. C:\programdata\caphyon\repository\<dialog name> and edit the .aip file with Notepad or another text editor.

4) In my case the problem was in Control Events and the duplication was obvious for the Up and NewFolder events. Change:

<COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
<ROW Dialog_="NewHistoryDlg_2" Control_="Up" Event="DirectoryListUp" Argument="0" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="NewFolder" Event="DirectoryListNew" Argument="0" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="Cancel" Event="SpawnDialog" Argument="CancelDlg" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="Up" Event="DirectoryListUp" Argument="0" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="NewFolder" Event="DirectoryListNew" Argument="0" Condition="1" Ordering="1"/>
</COMPONENT>

to:

<COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
<ROW Dialog_="NewHistoryDlg_2" Control_="Up" Event="DirectoryListUp" Argument="0" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="NewFolder" Event="DirectoryListNew" Argument="0" Condition="1" Ordering="1"/>
<ROW Dialog_="NewHistoryDlg_2" Control_="Cancel" Event="SpawnDialog" Argument="CancelDlg" Condition="1" Ordering="1"/>
</COMPONENT>

and save.

5) Re-open your project and add the Dialog back into the Install Sequence. Should build.

Scott

Return to “Common Problems”