cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AdminStudio Error ?3204 occurs at build time after repackaging an application.

Symptoms

AdminStudio Error ?3204 occurs at build time after repackaging an application. The message is displayed in the following format:

Cannot extract icon with index 144 from file nero.exe for Icon_nero1.exe

 

Cause

An application may create a registry entry that references a nonexisting icon index. For example, the registry key below references the 144th icon of nero.exe.

[HKEY_CLASSES_ROOT\NeroCDExtraType\DefaultIcon]
@="%ProgramFilesFolder%\\ahead\\nero\\nero.exe,144"

This key would be captured by repackager successfully. After this information is imported into the ISM file, the build engine attempts to extract the 144th icon from nero.exe at build time. However, nero.exe does not contain 144 icons, and the build cannot extract the icon.

 

Resolution

  1. Find the standard.nir file for the application. You can find the standard.nir file in the repackager output folder that you specified while running the Repackager Wizard. By default, this location is C:\Packages.

     

  2. Open the standard.nir in Notepad and search for the icon number referenced in the error. For example, 144.

     

  3. Once the registry key is found, modify it so that 144 is negative as shown below. For example,

    [HKEY_CLASSES_ROOT\NeroCDExtraType\DefaultIcon]
    @="%ProgramFilesFolder%\\ahead\\nero\\nero.exe,-144"

  4. Reimport the .inc and rebuild the release.

 

Additional Information

For more information on this error, see Knowledge Base article Q107112 ERRDOC: Build Error -3204.

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎May 08, 2019 08:27 AM
Updated by: