Applcation.bundle CUI Problems with Runtime

Applcation.bundle CUI Problems with Runtime

jdaltonAWVZ3
Participant Participant
123 Views
1 Reply
Message 1 of 2

Applcation.bundle CUI Problems with Runtime

jdaltonAWVZ3
Participant
Participant

I have an application.bundle file what has two component sections similar to the ones below. Regardless of where I put the runtime section for either the component section (like below for the CUI) or the CUI component entry section (Like the Labeler .NET example below), Autocad 2024 and below will either load the 2025 and above CUI or not load the CUI at all. This or the entirety of the component section for 2024 does not get loaded. Below is an example of my PackageContents.xml:

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" ProductType="Application"

                        Name="CompanyLoader"

                        AppVersion="25.6.0"

                        Description="Load Apps"

                        Author="Josh"

                        Icon="./Contents/Resources/logo icon.ico"

                        HelpFile="./Contents/Resources/help file.html"

                        ProductCode="{0A5133F3-D52D-46FC-A68A-055827DEFE14}">

  <CompanyDetails Name="Name"/>

  <Components>
    <RuntimeRequirements OS="Win64" SeriesMin="R25.0" SeriesMax="R25.0" />
    <ComponentEntry
			ModuleName="./Contents/Resources/newmain.cuix"
			Version="25.0.1"
			AppDescription="CUI File"/>
     <ComponentEntry
			AppName="Labeler From File"
			Version="25.0.2"
			ModuleName="./Contents/Labeler/asbtLabeler.dll"
			AppDescription="Labeler"
			LoadOnCommandInvocation="True"
      AppType=".Net">
      <RuntimeRequirements OS="Win64" SeriesMin="R25.0" SeriesMax="R25.0" />
      <Commands GroupName="Labeler">
        <Command Local="MHLBF" Global="MHLBF" />
      </Commands>
    </ComponentEntry> 
    ...
  </Components>

  <Components>
    <RuntimeRequirements OS="Win64" SeriesMin="R20.0" SeriesMax="R24.3" />
    <ComponentEntry
			ModuleName="./Contents-2024/Resources/main-old.cuix"
			Version="24.0.1"
			AppDescription="CUI File"/>
     <ComponentEntry
			AppName="Manhole Labeler From File"
			Version="24.0.1"
			ModuleName="./Contents-2024/Labeler/asbtLabeler.dll"
			AppDescription="Labeler"
			LoadOnCommandInvocation="True"
      AppType=".Net">
      <RuntimeRequirements OS="Win64" SeriesMin="R20.0" SeriesMax="R24.3" />
      <Commands GroupName="Labeler">
        <Command Local="MHLBF" Global="MHLBF" />
      </Commands>
    </ComponentEntry> 
    ...
  </Components>
</ApplicationPackage>

 

Any help would be appreciated, as I am trying to roll this out ASAP to get everyone up and running with 2025 CAD with little to no problems for those who lag behind.

0 Likes
Accepted solutions (1)
124 Views
1 Reply
Reply (1)
Message 2 of 2

ActivistInvestor
Mentor
Mentor
Accepted solution

You should nest RuntimeRequirements within ComponentEntry elements.  Having them at the same level is ambiguous. I recall the docs/examples originally showed it that way, but that's not correct.

  <Components>
     <ComponentEntry
        <RuntimeRequirements OS="Win64" SeriesMin="R20.0" SeriesMax="R24.3" />
        AppName="Manhole Labeler From File"
	Version="24.0.1"
	ModuleName="./Contents-2024/Labeler/asbtLabeler.dll"
	AppDescription="Labeler"
	LoadOnCommandInvocation="True"

    ..../>.../>
    

 

 

 

 

0 Likes