Change the order in which Addins are loaded by SolidWorks during startup

Hello All,


I am developing an addin for SolidWorks. I wanted to know how can we change the order in which plugins are loaded during startup?

Description:

According to my understanding SolidWorks during startup looks at the  location HKLM\Software\Solidworks\AddIns in the system registry to read the active Addins and decided whether to load the plugin at startup by seeing at the following location HKCU\Software\SolidWorks\AddInsStartup

Now if I have following entries in system registry:

-HKLM

   - SOFTWARE

      - SolidWorks

         - AddIns

            - { 03d2XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(A)

            - { 35D3XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(B)

            - { 581DXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX } ------------------------------(C)

            - { 8155XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX }  -----------------------------(D)

            - { 898FXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX }  -----------------------------(E)

SolidWorks seems to load the addins in the above order means first A followed by B ...........and at last E.

I want SolidWorks to load the addin (D)  before (A) during startup, How can I achieve this ?


Thanks,

Amit

SolidworksApi/macros