ICE30 Similairly named files not recognized as different - 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!

wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

ICE30 Similairly named files not recognized as different

Here is the output from the log:

Creating CAB file(s)... done.
Creating MSI database... done.
Writing Summary Information... done.
Adding merge modules... done.
Validating MSI database...
WARNING ICE23 ICE Internal Error 3. API Returned: 1601.
ERROR ICE27 Unknown action: 'MsiPublishAssemblies' of AdvtExecuteSequence table. Not a standard action and not found in CustomAction or Dialog tables
ERROR ICE30 The target file 'Infras~1.dll|Infrastructure.PurgeLogFile.Xml.dll' is installed in '[TARGETDIR]\APPDIR\Monaco\' by two different components on an SFN system: 'Infrastructure.PurgeLogFile.Xml.dll' and 'Infrastructure.Persistence.Xml.dll'. This breaks component reference counting.
ERROR ICE30 The target file 'Infras~1.dll|Infrastructure.PurgeLogFile.Xml.dll' is installed in '[TARGETDIR]\APPDIR\Monaco\' by two different components on an SFN system: 'Infrastructure.PurgeLogFile.Xml.dll' and 'Infrastructure.Persistence.Xml.dll'. This breaks component reference counting.
WARNING ICE39 ICE Internal Error 4. API Returned: 1627.
WARNING ICE39 ICE Internal Error 4. API Returned: 1627.
WARNING ICE45 ICE Internal Error 1001. API Returned: 1627.
Creating EXE file... done.
Build time: 14 sec.

Total build time: 14 sec.
Build finished successfully.

While I am concerned about the others, the most disturbing part of this is the ICE30 errors. They are 2 different files that are being assigned the same key because the shortname for both would be the same. This is going to be an increasingly common problem as more C# code gets added. The 2 files are Infrastructure.PurgeLogFile.Xml.dll and Infrastructure.Persistence.Xml.dll, reducing these down to 8.3 shortname would provide Infras~[index].dll. However, the code being used to determine the index is just hardcoded to 1.

I have attached the project to this post.
Attachments
Setup.aip
(292.67 KiB) Downloaded 382 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: ICE30 Similairly named files not recognized as different

Hello,

This behavior is occurring because you marked all those folders to be installed in the parent folder. We have no way of knowing that the two files (which in the folder structure in Advanced Installer are located in different folders) will end up in the same folder and the short names would conflict.

I have fixed your .aip project file by replacing the shortname for Infrastructure.PurgeLogFile.Xml.dll to infras~2.dll

Try avoiding marking all those folders as install to parent if this is not needed.

Best regards,
Gabriel
Attachments
Setup.aip
(292.67 KiB) Downloaded 437 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”