Trong quá trình build thằng InstallShield nó phán 1 câu thế này: Mình không biết nguyên nhân mong ai có kinh nghiệm giúp mình với... đang tìm hiểu thằng này! Thanks!
ERRDOC: Build Error 6270 Document ID: Q107667 Last Revised On: Saturday, October 30, 2004 This article applies to the following: Product(s): InstallShield AdminStudio 3.x, 3.5x, 5.x, 5.5x, 6.x InstallShield Developer 7.x, 8.x InstallShield DevStudio 9.x InstallShield Premier 10.x, 10.5x InstallShield Professional 10.x, 10.5x Project Type: Windows Installer, InstallScript Symptoms When building an installation, the following error may occur: Error -6270: The record [1] in the Icon table exceeds the limit of [2] characters. As a result, the build will be unable to persist the database. [1] contains the specific record in the database that has exceeded the limit, and [2] contains the exact character limit that was surpassed. -------------------------------------------------------------------------------- Cause This error is known to occur when the specific record in the Icon table indicated in the error message exceeds the character limit also specified in the error message. For example, the error might appears as follows: Error -6270: The record ThisIsATestFile.exe.32423_3433_23D3_9IKW_339939830008282.exe in the Icon table exceeds the limit of 57 characters... The above entry contains 60 characters and, therefore, exceeds the 57 character limit. The Icon table is typically used when shortcuts, file extensions, and CLSIDs are included in the project. This behavior is known to occur in the following scenarios: A shortcut exists in the project that points to a file included in a merge module that was merged into the project. Files in merge modules have a GUID appended to them, making them considerably lengthier than their original size. The file specified in the error message is named an extremely long filename, exceeding this Microsoft Windows Installer (MSI) limitation. -------------------------------------------------------------------------------- Resolution Because a GUID is typically 36 characters in length, make sure the file included in the merge module contains a name no longer than 21 characters. Therefore, when the GUID is appended, it no longer exceeds the 57 character limit. To rename the file in the merge module, first locate the merge module that contains this file using these steps: Note the GUID appended to the file name in the error message. In the above example, the GUID would be 32423_3433_23D3_9IKW_339939830008282. This is the Module ID GUID for the merge module that contains this file. Select the Direct Editor view. Click the IsMergeModule table. In the first column of this table (the ISMergeModule column), locate the Module ID GUID referenced in the error message. It typically has the name of the merge module appended to the front of the GUID, but the actual GUID is the same. For example: MyMergeModule.32423_3433_23D3_9IKW_339939830008282 Once the row has been found, note the value contained in the Name column. This is the name of the merge module that contains the problematic record. Select the Redistributables view (Merge Modules view in Developer 7.x) and locate this merge module. Note the full path to the merge module listed in the lower panel under the File Name subheading. Once the merge module has been isolated, follow these steps: Open the merge module in the InstallShield IDE. In the File > Open dialog, choose the Wizard option in the Open As field and choose to Convert MSI/MSM to an InstallShield Project. Select the Files and Folders view (or Files view) in the IDE. In the Destination's computer's folders view, click the folder containing the file referenced in the error message. In the Destination's computer's file pane, note the location of the file in the LinkTo column. Navigate to the location of the file and rename the file. The name should contain no more than 17 characters (not including the file extension and dot character). Note: Four characters are dedicated to the file extension. For example, .exe. In the IDE, right-click the file and select Delete. Re-add the file to the folder by locating it on the source computer and drag and dropping it from the Source computer's files pane to the Destination computer's file pane. Select the Shortcuts view and make sure your shortcut points to the updated file with the shortened filename. Rebuild the merge module. Rebuild the project that contains this merge module. Rename the file being referenced in the project to a name no longer than 57 characters and re-insert it back into the project. The file can be renamed in Windows Explorer. After doing this, rebuild your setup. Chịu khó tìm trên trang chủ của nó, bạn sẽ biết cách khắc phục thôi.