Fix com server registration via /Regserver
authorMarkus Schaber <markus@pep-security.net>
Tue, 03 May 2016 20:15:26 +0200
changeset 718d19e1c194f0
parent 70 000c4f33e0f8
child 72 6afc06b8c3c5
Fix com server registration via /Regserver
pEpCOMServerAdapter.rgs
pEpEngine.rgs
     1.1 --- a/pEpCOMServerAdapter.rgs	Tue May 03 16:27:25 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.rgs	Tue May 03 20:15:26 2016 +0200
     1.3 @@ -1,3 +1,11 @@
     1.4  HKCR
     1.5  {
     1.6 -}
     1.7 +       NoRemove AppID
     1.8 +       {
     1.9 +              '%APPID%' = s 'pEpCOMServerAdapter'
    1.10 +              'pEpCOMServerAdapter.EXE'
    1.11 +              {
    1.12 +                     val AppID = s '%APPID%'
    1.13 +              }
    1.14 +       }
    1.15 +}
    1.16 \ No newline at end of file
     2.1 --- a/pEpEngine.rgs	Tue May 03 16:27:25 2016 +0200
     2.2 +++ b/pEpEngine.rgs	Tue May 03 20:15:26 2016 +0200
     2.3 @@ -1,15 +1,25 @@
     2.4  HKCR
     2.5  {
     2.6 -	NoRemove CLSID
     2.7 -	{
     2.8 -		ForceRemove {EF1B073D-5058-4E0E-829E-B4D22CA21EA2} = s 'pEpEngine Class'
     2.9 -		{
    2.10 -			LocalServer32 = s '%MODULE%'
    2.11 -			{
    2.12 -				val ServerExecutable = s '%MODULE%'
    2.13 -			}
    2.14 -			TypeLib = s '{3EC2E1A4-40E8-48E4-A7B0-1876D34F9462}'
    2.15 -			Version = s '1.0'
    2.16 -		}
    2.17 -	}
    2.18 +       pEpCOMServerAdapter.pEpCOMServerAdapter.1 = s 'pEpCOMServerAdapter Class'
    2.19 +       {
    2.20 +              CLSID = s '{EF1B073D-5058-4E0E-829E-B4D22CA21EA2}'
    2.21 +       }
    2.22 +       pEpCOMServerAdapter.pEpEngine = s 'pEpEngine Class'
    2.23 +       {
    2.24 +              CLSID = s '{EF1B073D-5058-4E0E-829E-B4D22CA21EA2}'
    2.25 +              CurVer = s 'pEpCOMServerAdapter.pEpCOMServerAdapter.1'
    2.26 +       }
    2.27 +       NoRemove CLSID
    2.28 +       {
    2.29 +	          ForceRemove {EF1B073D-5058-4E0E-829E-B4D22CA21EA2} = s 'pEpEngine Class'
    2.30 +              {
    2.31 +                     ProgID = s 'ATLExeCOMServer.ATLSimpleObjectSTA.1'
    2.32 +                     VersionIndependentProgID = s 'pEpCOMServerAdapter.pEpCOMServerAdapter'
    2.33 +                     LocalServer32 = s '%MODULE%'
    2.34 +                    
    2.35 +                     ForceRemove 'Programmable'
    2.36 +                     TypeLib = s '{3EC2E1A4-40E8-48E4-A7B0-1876D34F9462}'
    2.37 +                     Version = s '1.0'
    2.38 +              }
    2.39 +       }
    2.40  }