InstallShield express packaging Delphi encounters 'internal error 25001.1615: registrationcosting: costallisself

Source: Internet
Author: User

After the project is completed, package it With InstallShield Express. The first time I used this plug-in, I encountered a problem and reported the following error.

'Internal error 25001.1615: registrationcosting: costallisselfregentries: msidatabaseopenview (hdatabase, _ T ("select * From isselfreg"), hview'

I am not alone in the Internet. Unfortunately, I have not answered any questions on the Internet in China. I have finally solved the problem and posted the following post:

Abstract: when deploying certain Delphi merge modules, and then running the setup file that is created, you receive that error. This article explains how to work around it.

Problem:

Using InstallShield, I build a setup file which contains the basevcl, basertl, and samplevcl merge modules. When I run setup I get:

'Internal error 25001.1615: registrationcosting: costallisselfregentries: msidatabaseopenview (hdatabase, _ T ("select * From isselfreg"), hview'

Followed:

'Internal error 25001.6: registrationcosting: costallisselfregentries: msiviewexecute (hview, null )'.

I can then continue execution and the application appears to install correctly. What is going on?

 

Answer:

This is because D7 merge modules include some custom actions that are used to process self-registering files. but since there are no self-registering files in the mergemodules, any setup application developed using ISX that includes des the D7 mergemodules might throw some run-time errors. please note that this workaround is not required if your setup application already des any additonal self-registering files.

Workaround-I:
--------------

Open your setup's. MSI file in orca and remove the rows mentioned below.

Go to installexecutesequence table and delete the rows with the following names in the Action column:
Isselfregisterfinalize
Isselfregistercosting
Isselfregisterfiles
Isunselfregisterfiles

To be able to edit your setup's. MSI file, you should build your release as an uncompressed media, ie., set compression to "no" in your release configuration.

If you are not familiar with orca:

Orca is a utility from Microsoft that enables one to view and modify MSI database tables directly. it's part of the Windows Installer SDK. please download and install the Windows Installer SDK. then install orca by running orca. msi that is installed as a part of the Windows Installer SDK.

Workaround-II:
---------------

If you are an advanced user and have good working knowledge of MSI and orca, then you can also edit the Delphi7 mergemodules (ie .,. MSM files) directly in Orca to remove the following actions from moduleinstallexecutesequence table.
Isselfregisterfinalize
Isselfregistercosting
Isselfregisterfiles
Isunselfregisterfiles

Note: If you choose the 2nd workaround, it is highly recommended that you take a backup of all Borland Delphi7 mergemodules before editing them in orca.

 

It's very easy to get English. You don't need to translate it. orca. There is a Chinese version in China, so it's easy to get it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.