Yrlec
Posts: 30
Joined: Wed Jun 20, 2012 3:49 pm

Modifying the manifest file of a Java application

Hello,
We are using Advanced Installer to deploy a Java application. We need to be able to customize the manifest file of the deplyed exe file. We tried to add a file named [Exe-name].manifest but it is being ignored by Windows. After analyzing the .exe file created by Advanced Installer we noticed that it included an internal manifest file in the exe-file (with assembly name "Microsoft.Windows.AdvancedInstallerJavaClassLoader"). I assume that is the reason Windows ignores our external manifest file. Is there any way we can either modify the internal manifest file or convert it to an external?

Best Regards
Carl
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Modifying the manifest file of a Java application

Hi Carl,

Indeed, this is our default behavior.

However, can you please tell us the full content of your manifest file? If it contains confidential information you can send us to support at advancedinstaller dot com so we can investigate it.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Yrlec
Posts: 30
Joined: Wed Jun 20, 2012 3:49 pm

Re: Modifying the manifest file of a Java application

I just want to explicitly tell Windows which OS-versions we are compatible with.

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
    <assemblyIdentity         
        version="1.0.0.0"
        type="win32" 
        name="Degoo.DegooDesktop"
    />
    <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
        <application> 
            <!-- Windows 8.1 -->
            <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
            <!-- Windows Vista -->
            <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
            <!-- Windows 7 -->
            <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
            <!-- Windows 8 -->
            <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
        </application> 
    </compatibility>
</assembly>
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Modifying the manifest file of a Java application

Hello LJ,

Indeed, we don't have the Windows 8.1 set for the Operating System compatibility. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.
Until then, you can send us an email to support at advancedinstaller dot com and we can send you the fix file.

While for the other attribute from your manifest file you need to change it yourself by modifying the stubs\aijcl(w).exe files from Advanced Installer installation folder but please keep in mind that this changes will affect all the packages you create on your machine.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Modifying the manifest file of a Java application

Hello,

This was fixed in version 10.9.1 of Advanced Installer released on February 10th, 2014.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”