AccessibleMarshal.dll registered?

Post Reply
mnpg
Posts:15
Joined:Sat Jan 14, 2006 6:22 pm
Location:Lyon, FRANCE
AccessibleMarshal.dll registered?

Post by mnpg » Sat Oct 28, 2006 3:29 pm

hi DraconPern,
i have a question : In the install.log of Mozilla Firefox, i have seen that the original setup registers the "accessiblemarshal.dll".
But in yours MSI, it's not declare.

it is deliberate?
Taken from the MozillaFirefox 2's install.log

DLL Registration
-------------------------------------------------------------------------------
Registered: C:\Program Files\Mozilla Firefox\AccessibleMarshal.dll
Last edited by mnpg on Sun Oct 29, 2006 12:06 pm, edited 1 time in total.

User avatar
DraconPern
Site Admin
Posts:1218
Joined:Thu Oct 30, 2003 11:47 pm
Location:Texas
Contact:

Post by DraconPern » Sun Oct 29, 2006 1:38 am

Good catch, it'll be fixed for 2.0
FrontMotion Lead Developer

mnpg
Posts:15
Joined:Sat Jan 14, 2006 6:22 pm
Location:Lyon, FRANCE

Post by mnpg » Sun Oct 29, 2006 7:35 am

for your information :

instead using the selfreg table to do this (File : Accessiblemarshal.dll , cost: 1) , better use custom action that execute msiexec /y or msiexec /z to register/unregister the DLL.

taken from my msi and adapted to your :
  • table CUSTOMACTION (3 entries)

    Code: Select all

    Action : REG_AccessibleMarshal.dll
    Type : 3170
    Source : INSTALLDIR
    Target : [SystemFolder] msiexec /y "[#accessiblemarshal.dll]"        
    
    Action : UNREG_AccessibleMarshal.dll
    Type : 98
    Source : INSTALLDIR
    Target : [SystemFolder] msiexec /z "[#accessiblemarshal.dll]"
    
    Action : ROLL_REG_AccessibleMarshal.dll
    Type : 1378
    Source : INSTALLDIR
    Target : [SystemFolder] msiexec /z "[#accessiblemarshal.dll]"
  • table INSTALLEXECUTESEQUENCE (3 entries)

    Code: Select all

    Action : UNREG_AccessibleMarshal.dll
    Condition : $F_FirefoxMain.INSTALLDIR_1_AccessibleMarshal.dll = 2
    Sequence : 2201 
    (between SelfUnregModules -2200- and UnregisterTypeLibraries -2300-)
    
    Action : REG_AccessibleMarshal.dll
    Condition : $F_FirefoxMain.INSTALLDIR_1_AccessibleMarshal.dll > 2
    Sequence : 5701 
    (between RegisterComPlus -5700- and InstallServices -5800-)
    
    Action : ROLL_REG_AccessibleMarshal.dll
    Condition : NOT Installed
    Sequence : 5702 
    (between RegisterComPlus -5700- and InstallServices -5800- and AFTER REG_AccessibleMarshal.dll)
    
Last edited by mnpg on Wed Nov 01, 2006 5:44 pm, edited 1 time in total.

User avatar
DraconPern
Site Admin
Posts:1218
Joined:Thu Oct 30, 2003 11:47 pm
Location:Texas
Contact:

Post by DraconPern » Sun Oct 29, 2006 11:54 pm

Curious, why is the custom action better than using selfreg?
FrontMotion Lead Developer

mnpg
Posts:15
Joined:Sat Jan 14, 2006 6:22 pm
Location:Lyon, FRANCE

Post by mnpg » Wed Nov 01, 2006 12:31 pm

The Selfreg action processes the DLLs in random order.

I know that, in the case of one dll to register, it's not necessary.

but, taken from many websites, it's better if you can avoid using Selfreg table.

Post Reply