Help Request: Setting Icon resource for Java Product Failed - Advanced Installer Community
malloc
Posts: 1
Joined: Fri Jun 29, 2007 2:51 am

Help Request: Setting Icon resource for Java Product Failed

Can anyone offer any insight on the error below? I'm just trying to build a very simple java app to test the installer. Everything seemed intuitive enough until I tried to actually build the package. I'm not even sure what "AFT36.exe" is... it's not part of my test app, it's not found on my drive anyplace, no hits in google. I'm running this on a win2k3 server. I'm not sure where to start with troubleshooting this error...

DefaultBuild
Building package (en): C:\Documents and Settings\Administrator\Desktop\TestSoftware\Test.msi
Applying file transforms... Exception - Reason: Setting icon resource for Java Product "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\AFT36.exe" failed!

Build finished because an error was encountered.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You get that error message because the file you have entered as the "Icon Path" for the Java Product in the "Java Products" page is missing (cannot be found on your computer).

So change this file and build again. Let me know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Josiah
Posts: 2
Joined: Thu Nov 15, 2007 4:49 pm

Hello,

I am also getting this error, however my application is a console app and the "Icon Path" textfield is deactivated in the "Java Products" page. How can I resolve this?

Here is the error message:

DefaultBuild
Building package (en): C:\Documents and Settings\bagleyj\Desktop\FELIX\AdvancedInstallerJava\Felix.msi
Preparing files... Exception - Reason: Setting icon resource for Java Product "C:\DOCUME~1\bagleyj\LOCALS~1\Temp\AFT333.exe" failed!

Build finished because an error was encountered.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please send us the AIP (if it doesn't contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate this problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Josiah
Posts: 2
Joined: Thu Nov 15, 2007 4:49 pm

What is an AIP? The project file?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
What is an AIP? The project file?
Yes. When creating and saving a project in Advanced Installer you will create a ".AIP" file that is used to create the MSI package. Please send it to us so we can investigate your problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NeverUseQ
Posts: 7
Joined: Fri Jan 23, 2015 2:33 pm

Re: Help Request: Setting Icon resource for Java Product Failed

This seems like an old thread but I'm having a similar issue like the one mentioned here...

Checking builds status
Build required.

[ DefaultBuild ]
Building package:
\\sanprisicl100d\wfm\_____AI_Project_Packages\CME_MDDS_Supervisor_(x64)\4_Completed_PKG\CME MDDS Supervisor QA.msi
Prepare build
Detecting MSI incompatible resources
Preparing files
Setting icon "" for Java Product failed!
Error details

Build finished because an error was encountered.

I did have an icon set, except I decided to clear it in all the places I could to see if it would clear the error. It hasn't gone away. Any guidance?
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Help Request: Setting Icon resource for Java Product Failed

Hello,

I'm not sure why this happens.

Can you please send us the .AIP (setup project) file and the icon file by email to support at advancedinstaller dot com so we can further test and investigate this?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”