126

Re: WSH: Использование COM-сервера без его регистрации в системе

Xameleon

Читаю свой пост и улыбаюсь )) ... Информативности в нем ровным счетом 0, поэтому буду исправляться ....

Итак имею следующий набор файлов рядом со скриптом (test_logParser.vbs):

test_logParser.vbs


FileName = "c:\report.csv"
PathFile = "D:\Log Parser 2.2\*.exe"
Set oParser = CreateObject("MSUtil.LogQuery")
Set oLogInputFmt = CreateObject("MSUtil.LogQuery.FileSystemInputFormat")
Set oLogOutputFmt = CreateObject("MSUtil.LogQuery.CSVOutputFormat")
oParser.ExecuteBatch "SELECT Size,Attributes,LastWriteTime,Path INTO " & _
		FileName & " FROM '" & PathFile & "' ORDER BY Size ", oLogInputFmt, oLogOutputFmt
msgbox "Finish"

wscript.exe (x86)
WScript.exe.manifest


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
  type="win32"
  name="wscript.exe"
  version="1.0.0.0" /> 

  <dependency>
          <dependentAssembly>
              <assemblyIdentity
                  type="win32"
                  name="LogParser.sxs"
                  version="1.0.0.0" />
          </dependentAssembly>
  </dependency>

</assembly>

LogParser.dll
LogParser.sxs.manifest (по умолчанию сформировал через regsvr42.exe)


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
    type="win32"
    name="LogParser.sxs"
    version="1.0.0.0" />

<file name="LogParser.dll">

    <comClass
        description="LogQuery"
        clsid="{8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery" />

    <comClass
        description="LogQuery.IISW3CInputFormat"
        clsid="{6120A3D1-AD55-41F9-ADB0-7266E2623364}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISW3CInputFormat" />

    <comClass
        description="LogQuery.IISNCSAInputFormat"
        clsid="{C13EDD32-5280-4F40-B002-A21F05219371}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISNCSAInputFormat" />

    <comClass
        description="LogQuery.IISIISInputFormat"
        clsid="{252A24E7-067F-4875-8510-7533F8B6915E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISInputFormat" />

    <comClass
        description="LogQuery.IISODBCInputFormat"
        clsid="{B331653F-522E-4FBD-BEA2-D47ED26DA8CC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISODBCInputFormat" />

    <comClass
        description="LogQuery.IISBINInputFormat"
        clsid="{A5BFDB31-5D80-4496-AF9C-79549E2F7BEC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISBINInputFormat" />

    <comClass
        description="LogQuery.IISIISMSIDInputFormat"
        clsid="{4E1AD8B6-39B6-4802-90EF-B5D86774D815}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISMSIDInputFormat" />

    <comClass
        description="LogQuery.HttpErrorInputFormat"
        clsid="{F6751CB0-4CE6-4033-A489-5CC2D8C9D716}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.HttpErrorInputFormat" />

    <comClass
        description="LogQuery.EventLogInputFormat"
        clsid="{9BE3E5B2-BBC3-40BB-AAFE-C94DDA631D32}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.EventLogInputFormat" />

    <comClass
        description="LogQuery.URLScanLogInputFormat"
        clsid="{9A6E2BE0-96E4-4985-87AF-BDC668EA15A5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.URLScanLogInputFormat" />

    <comClass
        description="LogQuery.TextWordInputFormat"
        clsid="{0A402C88-0CEB-42C6-A15B-32AA45052706}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextWordInputFormat" />

    <comClass
        description="LogQuery.TextLineInputFormat"
        clsid="{E17FE5B0-C2BC-4C97-8EBF-8EF2F763FCA8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextLineInputFormat" />

    <comClass
        description="LogQuery.FileSystemInputFormat"
        clsid="{BA8BAB06-715C-49F5-A94F-3E70B1CE38C6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.FileSystemInputFormat" />

    <comClass
        description="LogQuery.CSVInputFormat"
        clsid="{4A1AAA95-FD08-449B-BD16-E87083D8F087}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVInputFormat" />

    <comClass
        description="LogQuery.W3CInputFormat"
        clsid="{3ED0372B-4117-4CA3-A638-EF9BF3720248}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3CInputFormat" />

    <comClass
        description="LogQuery.ETWInputFormat"
        clsid="{3B942793-EEB0-41B8-BF12-4CD3EDDC9205}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ETWInputFormat" />

    <comClass
        description="LogQuery.RegistryInputFormat"
        clsid="{C17BDE3A-CDBD-45E0-9BCF-FD286A344EE8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.RegistryInputFormat" />

    <comClass
        description="LogQuery.TSVInputFormat"
        clsid="{FFB760AB-4ACA-4070-99D5-194D9272B47D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVInputFormat" />

    <comClass
        description="LogQuery.ADSInputFormat"
        clsid="{F2455538-58A0-45FF-B16C-5F5DBA8D811C}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ADSInputFormat" />

    <comClass
        description="LogQuery.NetMonInputFormat"
        clsid="{0173E9B3-19C1-4A25-995B-4B19EBD68025}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NetMonInputFormat" />

    <comClass
        description="LogQuery.XMLInputFormat"
        clsid="{0776E95A-34E3-4488-886E-094BA16BB6BD}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLInputFormat" />

    <comClass
        description="LogQuery.NativeOutputFormat"
        clsid="{DEA6399C-EA9F-4864-BABB-0F6720A92CE1}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NativeOutputFormat" />

    <comClass
        description="LogQuery.W3COutputFormat"
        clsid="{DC691F49-FD32-4E17-8C5F-F7C31F46FDF5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3COutputFormat" />

    <comClass
        description="LogQuery.IISOutputFormat"
        clsid="{88937009-2404-483D-B6A7-49AA184426B9}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISOutputFormat" />

    <comClass
        description="LogQuery.SQLOutputFormat"
        clsid="{0FFF4843-4EAD-447C-8AA4-2D3BF639F5FC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SQLOutputFormat" />

    <comClass
        description="LogQuery.CSVOutputFormat"
        clsid="{80C997CD-A676-4028-8860-BB5F2F8278F6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVOutputFormat" />

    <comClass
        description="LogQuery.XMLOutputFormat"
        clsid="{29467682-1CFC-46EA-B64D-EB31A56B321D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLOutputFormat" />

    <comClass
        description="LogQuery.TemplateOutputFormat"
        clsid="{8235D6A5-AAFD-4D39-BFE8-EF1641AB9257}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TemplateOutputFormat" />

    <comClass
        description="LogQuery.DataGridOutputFormat"
        clsid="{8F054D20-354E-4A4D-92E4-10CDBA47D848}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.DataGridOutputFormat" />

    <comClass
        description="LogQuery.ChartOutputFormat"
        clsid="{2C4C2DB5-61C5-4D45-A66F-2071EC069328}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ChartOutputFormat" />

    <comClass
        description="LogQuery.SYSLOGOutputFormat"
        clsid="{342148B3-7F11-4F39-A287-6829F83FABDA}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SYSLOGOutputFormat" />

    <comClass
        description="LogQuery.TSVOutputFormat"
        clsid="{38E8C317-D7A1-49EE-8437-8DFE91462B1E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVOutputFormat" />

</file>

</assembly>

test.cmd


@Echo off
Cls
".\wscript.exe" ".\test_LogParser.vbs"
Pause

Запускаю на выполнение test.cmd и вижу такой результат:
http://f6.s.qip.ru/~yVu0pCjY.png

127

Re: WSH: Использование COM-сервера без его регистрации в системе

В одном из ранних постов были ссылки:

max7 пишет:

....
Начать, я думаю, можно с этих ссылок:

Статья про "Windows Side-by-Side" (на английском)
http://www.mazecomputer.com/sxs.htm
http://www.mazecomputer.com/sxs/help/inside1.htm
http://www.mazecomputer.com/sxs/help/inside2.htm

попытался ручками собрать манифест, за основу взяв пример из статьи
http://www.mazecomputer.com/sxs/help/inside2.htm

получился LogParser.sxs.manifest такого плана:


<?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
    type="win32"
    name="LogParser.sxs"
    version="1.0.0.0" />

<file name="LogParser.dll">

    <comClass
        description="LogQuery"
        clsid="{8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.1" >

    <progid>MSUtil.LogQuery</progid>
    </comClass>

    <comClass
        description="LogQuery.IISW3CInputFormat"
        clsid="{6120A3D1-AD55-41F9-ADB0-7266E2623364}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISW3CInputFormat.1" >

    <progid>MSUtil.LogQuery.IISW3CInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISNCSAInputFormat"
        clsid="{C13EDD32-5280-4F40-B002-A21F05219371}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISNCSAInputFormat.1" >

    <progid>MSUtil.LogQuery.IISNCSAInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISIISInputFormat"
        clsid="{252A24E7-067F-4875-8510-7533F8B6915E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISInputFormat.1" >

    <progid>MSUtil.LogQuery.IISIISInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISODBCInputFormat"
        clsid="{B331653F-522E-4FBD-BEA2-D47ED26DA8CC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISODBCInputFormat.1" >

    <progid>MSUtil.LogQuery.IISODBCInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISBINInputFormat"
        clsid="{A5BFDB31-5D80-4496-AF9C-79549E2F7BEC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISBINInputFormat.1" >

    <progid>MSUtil.LogQuery.IISBINInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISIISMSIDInputFormat"
        clsid="{4E1AD8B6-39B6-4802-90EF-B5D86774D815}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISMSIDInputFormat.1" >

    <progid>MSUtil.LogQuery.IISIISMSIDInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.HttpErrorInputFormat"
        clsid="{F6751CB0-4CE6-4033-A489-5CC2D8C9D716}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.HttpErrorInputFormat.1" >

    <progid>MSUtil.LogQuery.HttpErrorInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.EventLogInputFormat"
        clsid="{9BE3E5B2-BBC3-40BB-AAFE-C94DDA631D32}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.EventLogInputFormat.1" >

    <progid>MSUtil.LogQuery.EventLogInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.URLScanLogInputFormat"
        clsid="{9A6E2BE0-96E4-4985-87AF-BDC668EA15A5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.URLScanLogInputFormat.1" >

    <progid>MSUtil.LogQuery.URLScanLogInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TextWordInputFormat"
        clsid="{0A402C88-0CEB-42C6-A15B-32AA45052706}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextWordInputFormat.1" >

    <progid>MSUtil.LogQuery.TextWordInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TextLineInputFormat"
        clsid="{E17FE5B0-C2BC-4C97-8EBF-8EF2F763FCA8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextLineInputFormat.1" >

    <progid>MSUtil.LogQuery.TextLineInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.FileSystemInputFormat"
        clsid="{BA8BAB06-715C-49F5-A94F-3E70B1CE38C6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.FileSystemInputFormat.1" >

    <progid>MSUtil.LogQuery.FileSystemInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.CSVInputFormat"
        clsid="{4A1AAA95-FD08-449B-BD16-E87083D8F087}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVInputFormat.1" >

    <progid>MSUtil.LogQuery.CSVInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.W3CInputFormat"
        clsid="{3ED0372B-4117-4CA3-A638-EF9BF3720248}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3CInputFormat.1" >

    <progid>MSUtil.LogQuery.W3CInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ETWInputFormat"
        clsid="{3B942793-EEB0-41B8-BF12-4CD3EDDC9205}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ETWInputFormat.1" >

    <progid>MSUtil.LogQuery.ETWInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.RegistryInputFormat"
        clsid="{C17BDE3A-CDBD-45E0-9BCF-FD286A344EE8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.RegistryInputFormat.1" >

    <progid>MSUtil.LogQuery.RegistryInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TSVInputFormat"
        clsid="{FFB760AB-4ACA-4070-99D5-194D9272B47D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVInputFormat.1" >

    <progid>MSUtil.LogQuery.TSVInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ADSInputFormat"
        clsid="{F2455538-58A0-45FF-B16C-5F5DBA8D811C}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ADSInputFormat.1" >

    <progid>MSUtil.LogQuery.ADSInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.NetMonInputFormat"
        clsid="{0173E9B3-19C1-4A25-995B-4B19EBD68025}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NetMonInputFormat.1" >

    <progid>MSUtil.LogQuery.NetMonInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.XMLInputFormat"
        clsid="{0776E95A-34E3-4488-886E-094BA16BB6BD}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLInputFormat.1" >

    <progid>MSUtil.LogQuery.XMLInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.NativeOutputFormat"
        clsid="{DEA6399C-EA9F-4864-BABB-0F6720A92CE1}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NativeOutputFormat.1" >

    <progid>MSUtil.LogQuery.NativeOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.W3COutputFormat"
        clsid="{DC691F49-FD32-4E17-8C5F-F7C31F46FDF5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3COutputFormat.1" >

    <progid>MSUtil.LogQuery.W3COutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISOutputFormat"
        clsid="{88937009-2404-483D-B6A7-49AA184426B9}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISOutputFormat.1" >

    <progid>MSUtil.LogQuery.IISOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.SQLOutputFormat"
        clsid="{0FFF4843-4EAD-447C-8AA4-2D3BF639F5FC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SQLOutputFormat.1" >

    <progid>MSUtil.LogQuery.SQLOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.CSVOutputFormat"
        clsid="{80C997CD-A676-4028-8860-BB5F2F8278F6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVOutputFormat.1" >

    <progid>MSUtil.LogQuery.CSVOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.XMLOutputFormat"
        clsid="{29467682-1CFC-46EA-B64D-EB31A56B321D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLOutputFormat.1" >

    <progid>MSUtil.LogQuery.XMLOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TemplateOutputFormat"
        clsid="{8235D6A5-AAFD-4D39-BFE8-EF1641AB9257}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TemplateOutputFormat.1" >

    <progid>MSUtil.LogQuery.TemplateOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.DataGridOutputFormat"
        clsid="{8F054D20-354E-4A4D-92E4-10CDBA47D848}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.DataGridOutputFormat.1" >

    <progid>MSUtil.LogQuery.DataGridOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ChartOutputFormat"
        clsid="{2C4C2DB5-61C5-4D45-A66F-2071EC069328}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ChartOutputFormat.1" >

    <progid>MSUtil.LogQuery.ChartOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.SYSLOGOutputFormat"
        clsid="{342148B3-7F11-4F39-A287-6829F83FABDA}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SYSLOGOutputFormat.1" >

    <progid>MSUtil.LogQuery.SYSLOGOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TSVOutputFormat"
        clsid="{38E8C317-D7A1-49EE-8437-8DFE91462B1E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVOutputFormat.1" >

    <progid>MSUtil.LogQuery.TSVOutputFormat</progid>
    </comClass>

</file>

</assembly>

но и такой вариант манифеста не хочет работать ((... Получаю опять таки ошибку:
http://f6.s.qip.ru/~yVu0pCjY.png

128 (изменено: TAOSoft, 2017-10-02 17:00:15)

Re: WSH: Использование COM-сервера без его регистрации в системе

еще 2 таких варианта манифеста попытался использовать, но получаю ошибку из скрина выше ((

Вариант 1


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
    type="win32"
    name="LogParser.sxs"
    version="1.0.0.0" />

<file name="LogParser.dll">

    <comClass
        description="LogQuery"
        clsid="{8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery" />

    <comClass
        description="LogQuery.IISW3CInputFormat"
        clsid="{6120A3D1-AD55-41F9-ADB0-7266E2623364}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISW3CInputFormat" />

    <comClass
        description="LogQuery.IISNCSAInputFormat"
        clsid="{C13EDD32-5280-4F40-B002-A21F05219371}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISNCSAInputFormat" />

    <comClass
        description="LogQuery.IISIISInputFormat"
        clsid="{252A24E7-067F-4875-8510-7533F8B6915E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISInputFormat" />

    <comClass
        description="LogQuery.IISODBCInputFormat"
        clsid="{B331653F-522E-4FBD-BEA2-D47ED26DA8CC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISODBCInputFormat" />

    <comClass
        description="LogQuery.IISBINInputFormat"
        clsid="{A5BFDB31-5D80-4496-AF9C-79549E2F7BEC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISBINInputFormat" />

    <comClass
        description="LogQuery.IISIISMSIDInputFormat"
        clsid="{4E1AD8B6-39B6-4802-90EF-B5D86774D815}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISMSIDInputFormat" />

    <comClass
        description="LogQuery.HttpErrorInputFormat"
        clsid="{F6751CB0-4CE6-4033-A489-5CC2D8C9D716}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.HttpErrorInputFormat" />

    <comClass
        description="LogQuery.EventLogInputFormat"
        clsid="{9BE3E5B2-BBC3-40BB-AAFE-C94DDA631D32}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.EventLogInputFormat" />

    <comClass
        description="LogQuery.URLScanLogInputFormat"
        clsid="{9A6E2BE0-96E4-4985-87AF-BDC668EA15A5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.URLScanLogInputFormat" />

    <comClass
        description="LogQuery.TextWordInputFormat"
        clsid="{0A402C88-0CEB-42C6-A15B-32AA45052706}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextWordInputFormat" />

    <comClass
        description="LogQuery.TextLineInputFormat"
        clsid="{E17FE5B0-C2BC-4C97-8EBF-8EF2F763FCA8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextLineInputFormat" />

    <comClass
        description="LogQuery.FileSystemInputFormat"
        clsid="{BA8BAB06-715C-49F5-A94F-3E70B1CE38C6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.FileSystemInputFormat" />

    <comClass
        description="LogQuery.CSVInputFormat"
        clsid="{4A1AAA95-FD08-449B-BD16-E87083D8F087}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVInputFormat" />

    <comClass
        description="LogQuery.W3CInputFormat"
        clsid="{3ED0372B-4117-4CA3-A638-EF9BF3720248}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3CInputFormat" />

    <comClass
        description="LogQuery.ETWInputFormat"
        clsid="{3B942793-EEB0-41B8-BF12-4CD3EDDC9205}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ETWInputFormat" />

    <comClass
        description="LogQuery.RegistryInputFormat"
        clsid="{C17BDE3A-CDBD-45E0-9BCF-FD286A344EE8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.RegistryInputFormat" />

    <comClass
        description="LogQuery.TSVInputFormat"
        clsid="{FFB760AB-4ACA-4070-99D5-194D9272B47D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVInputFormat" />

    <comClass
        description="LogQuery.ADSInputFormat"
        clsid="{F2455538-58A0-45FF-B16C-5F5DBA8D811C}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ADSInputFormat" />

    <comClass
        description="LogQuery.NetMonInputFormat"
        clsid="{0173E9B3-19C1-4A25-995B-4B19EBD68025}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NetMonInputFormat" />

    <comClass
        description="LogQuery.XMLInputFormat"
        clsid="{0776E95A-34E3-4488-886E-094BA16BB6BD}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLInputFormat" />

    <comClass
        description="LogQuery.NativeOutputFormat"
        clsid="{DEA6399C-EA9F-4864-BABB-0F6720A92CE1}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NativeOutputFormat" />

    <comClass
        description="LogQuery.W3COutputFormat"
        clsid="{DC691F49-FD32-4E17-8C5F-F7C31F46FDF5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3COutputFormat" />

    <comClass
        description="LogQuery.IISOutputFormat"
        clsid="{88937009-2404-483D-B6A7-49AA184426B9}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISOutputFormat" />

    <comClass
        description="LogQuery.SQLOutputFormat"
        clsid="{0FFF4843-4EAD-447C-8AA4-2D3BF639F5FC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SQLOutputFormat" />

    <comClass
        description="LogQuery.CSVOutputFormat"
        clsid="{80C997CD-A676-4028-8860-BB5F2F8278F6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVOutputFormat" />

    <comClass
        description="LogQuery.XMLOutputFormat"
        clsid="{29467682-1CFC-46EA-B64D-EB31A56B321D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLOutputFormat" />

    <comClass
        description="LogQuery.TemplateOutputFormat"
        clsid="{8235D6A5-AAFD-4D39-BFE8-EF1641AB9257}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TemplateOutputFormat" />

    <comClass
        description="LogQuery.DataGridOutputFormat"
        clsid="{8F054D20-354E-4A4D-92E4-10CDBA47D848}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.DataGridOutputFormat" />

    <comClass
        description="LogQuery.ChartOutputFormat"
        clsid="{2C4C2DB5-61C5-4D45-A66F-2071EC069328}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ChartOutputFormat" />

    <comClass
        description="LogQuery.SYSLOGOutputFormat"
        clsid="{342148B3-7F11-4F39-A287-6829F83FABDA}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SYSLOGOutputFormat" />

    <comClass
        description="LogQuery.TSVOutputFormat"
        clsid="{38E8C317-D7A1-49EE-8437-8DFE91462B1E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVOutputFormat" />

      <typelib tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}"
        version="1.0"
        helpdir="" />

</file>

      <comInterfaceExternalProxyStub
        name="ICOMSQLOutputContext"
        iid="{023D89CA-32BE-44DC-B442-478EC7478D62}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMRegistryInputContext"
        iid="{09631558-6E49-4D0D-927F-628BA883CB1D}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogRecord"
        iid="{185FFF88-E24A-4984-9621-AA41BEAE8513}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMNativeOutputContext"
        iid="{1979F191-21AA-489D-BCDC-8CB6DC60AF42}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMEventLogInputContext"
        iid="{1D8AD32F-4DF0-41A7-AD76-8B3345EB1144}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTemplateOutputContext"
        iid="{2547428D-535E-4467-9C0C-77511E47BE0D}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMDataGridOutputContext"
        iid="{2690326C-0A98-41A0-A53A-BE0D58F0E936}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMNetMonInputContext"
        iid="{3837E95F-07DB-4D09-99CD-586B4E094208}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMHttpErrorInputContext"
        iid="{3A698D1E-D6AE-46B0-B9F5-FA1C6F9092F4}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogQuery"
        iid="{3BDE06BC-89E4-42FD-BE64-832A5F33D7D3}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLOutputContext"
        iid="{5481A119-1977-4190-B585-C62373A6A024}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISIISMSIDInputContext"
        iid="{55FCA9B8-56BB-479C-92C7-388011A6E45B}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMW3CInputContext"
        iid="{6642B90C-5D0B-4547-A67D-C844746E7C1C}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLInputContext"
        iid="{72B09A81-FB17-4187-B5F8-AD7E9592548E}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLInputContext"
        iid="{72B09A81-FB17-4187-B5F8-AD7E9592548E}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMFileSystemInputContext"
        iid="{76DDDBC5-5DFF-4A2B-9E09-4E1C26C6A938}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISOutputContext"
        iid="{7A5A3711-A707-4381-9C86-9ECADFB88975}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMCSVInputContext"
        iid="{80206B7F-6424-41FA-984C-7DBD92CE0C48}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTSVInputContext"
        iid="{84C54BEB-D3C1-4E89-A868-F6F40B184D68}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMADSInputContext"
        iid="{85B21BA3-4271-4B10-A837-B715FDF3B0A1}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTSVOutputContext"
        iid="{8819BA1E-1931-4CCF-9F71-64547651AA54}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMURLScanLogInputContext"
        iid="{9EBC373B-4E35-455A-8611-8A9ECE6689F5}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMW3COutputContext"
        iid="{9F3A6096-C1A3-428D-BE12-EEA7CDB3627F}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISODBCInputContext"
        iid="{ADE25553-5361-44BA-9270-31B08B4A8D6F}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTextLineInputContext"
        iid="{AF3F77B5-028D-4DE3-BDE7-8D84C30573C0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMSYSLOGOutputContext"
        iid="{B0936B89-8035-42CE-A33C-9E2E22DEADD2}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMETWInputContext"
        iid="{B53E5AF6-3D61-42B1-8F65-4F4F7368EC59}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTextWordInputContext"
        iid="{BCE40C1E-DEE2-477A-B479-7E817D5446F3}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISNCSAInputContext"
        iid="{C0B28DCB-F1D8-48A3-B4F4-FC28BEBA5EBA}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMChartOutputContext"
        iid="{C0D19115-1C4F-4A49-A02C-60BF913BEFF9}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogRecordset"
        iid="{C9452B1B-093C-4842-ABD1-F81410926874}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISIISInputContext"
        iid="{CB6A017F-69ED-48D2-8ED7-42B1BCB80844}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISW3CInputContext"
        iid="{CC00A85E-22A3-4E73-8FA8-088EE78B1DC5}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogStringCollection"
        iid="{DA56E00E-E07C-4AB0-954E-0F901E9179A0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogStringCollection"
        iid="{DA56E00E-E07C-4AB0-954E-0F901E9179A0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISBINInputContext"
        iid="{F0FF3746-6CA6-4AB6-AE64-79A26FA82950}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMCSVOutputContext"
        iid="{FB96582A-63D4-4564-A65A-26EB352734FA}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

</assembly>

Вариант 2


<?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
    type="win32"
    name="LogParser.sxs"
    version="1.0.0.0" />

<file name="LogParser.dll">

    <comClass
        description="LogQuery"
        clsid="{8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.1" >

    <progid>MSUtil.LogQuery</progid>
    </comClass>

    <comClass
        description="LogQuery.IISW3CInputFormat"
        clsid="{6120A3D1-AD55-41F9-ADB0-7266E2623364}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISW3CInputFormat.1" >

    <progid>MSUtil.LogQuery.IISW3CInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISNCSAInputFormat"
        clsid="{C13EDD32-5280-4F40-B002-A21F05219371}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISNCSAInputFormat.1" >

    <progid>MSUtil.LogQuery.IISNCSAInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISIISInputFormat"
        clsid="{252A24E7-067F-4875-8510-7533F8B6915E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISInputFormat.1" >

    <progid>MSUtil.LogQuery.IISIISInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISODBCInputFormat"
        clsid="{B331653F-522E-4FBD-BEA2-D47ED26DA8CC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISODBCInputFormat.1" >

    <progid>MSUtil.LogQuery.IISODBCInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISBINInputFormat"
        clsid="{A5BFDB31-5D80-4496-AF9C-79549E2F7BEC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISBINInputFormat.1" >

    <progid>MSUtil.LogQuery.IISBINInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISIISMSIDInputFormat"
        clsid="{4E1AD8B6-39B6-4802-90EF-B5D86774D815}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISIISMSIDInputFormat.1" >

    <progid>MSUtil.LogQuery.IISIISMSIDInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.HttpErrorInputFormat"
        clsid="{F6751CB0-4CE6-4033-A489-5CC2D8C9D716}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.HttpErrorInputFormat.1" >

    <progid>MSUtil.LogQuery.HttpErrorInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.EventLogInputFormat"
        clsid="{9BE3E5B2-BBC3-40BB-AAFE-C94DDA631D32}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.EventLogInputFormat.1" >

    <progid>MSUtil.LogQuery.EventLogInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.URLScanLogInputFormat"
        clsid="{9A6E2BE0-96E4-4985-87AF-BDC668EA15A5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.URLScanLogInputFormat.1" >

    <progid>MSUtil.LogQuery.URLScanLogInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TextWordInputFormat"
        clsid="{0A402C88-0CEB-42C6-A15B-32AA45052706}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextWordInputFormat.1" >

    <progid>MSUtil.LogQuery.TextWordInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TextLineInputFormat"
        clsid="{E17FE5B0-C2BC-4C97-8EBF-8EF2F763FCA8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TextLineInputFormat.1" >

    <progid>MSUtil.LogQuery.TextLineInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.FileSystemInputFormat"
        clsid="{BA8BAB06-715C-49F5-A94F-3E70B1CE38C6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.FileSystemInputFormat.1" >

    <progid>MSUtil.LogQuery.FileSystemInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.CSVInputFormat"
        clsid="{4A1AAA95-FD08-449B-BD16-E87083D8F087}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVInputFormat.1" >

    <progid>MSUtil.LogQuery.CSVInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.W3CInputFormat"
        clsid="{3ED0372B-4117-4CA3-A638-EF9BF3720248}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3CInputFormat.1" >

    <progid>MSUtil.LogQuery.W3CInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ETWInputFormat"
        clsid="{3B942793-EEB0-41B8-BF12-4CD3EDDC9205}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ETWInputFormat.1" >

    <progid>MSUtil.LogQuery.ETWInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.RegistryInputFormat"
        clsid="{C17BDE3A-CDBD-45E0-9BCF-FD286A344EE8}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.RegistryInputFormat.1" >

    <progid>MSUtil.LogQuery.RegistryInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TSVInputFormat"
        clsid="{FFB760AB-4ACA-4070-99D5-194D9272B47D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVInputFormat.1" >

    <progid>MSUtil.LogQuery.TSVInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ADSInputFormat"
        clsid="{F2455538-58A0-45FF-B16C-5F5DBA8D811C}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ADSInputFormat.1" >

    <progid>MSUtil.LogQuery.ADSInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.NetMonInputFormat"
        clsid="{0173E9B3-19C1-4A25-995B-4B19EBD68025}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NetMonInputFormat.1" >

    <progid>MSUtil.LogQuery.NetMonInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.XMLInputFormat"
        clsid="{0776E95A-34E3-4488-886E-094BA16BB6BD}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLInputFormat.1" >

    <progid>MSUtil.LogQuery.XMLInputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.NativeOutputFormat"
        clsid="{DEA6399C-EA9F-4864-BABB-0F6720A92CE1}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.NativeOutputFormat.1" >

    <progid>MSUtil.LogQuery.NativeOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.W3COutputFormat"
        clsid="{DC691F49-FD32-4E17-8C5F-F7C31F46FDF5}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.W3COutputFormat.1" >

    <progid>MSUtil.LogQuery.W3COutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.IISOutputFormat"
        clsid="{88937009-2404-483D-B6A7-49AA184426B9}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.IISOutputFormat.1" >

    <progid>MSUtil.LogQuery.IISOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.SQLOutputFormat"
        clsid="{0FFF4843-4EAD-447C-8AA4-2D3BF639F5FC}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SQLOutputFormat.1" >

    <progid>MSUtil.LogQuery.SQLOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.CSVOutputFormat"
        clsid="{80C997CD-A676-4028-8860-BB5F2F8278F6}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.CSVOutputFormat.1" >

    <progid>MSUtil.LogQuery.CSVOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.XMLOutputFormat"
        clsid="{29467682-1CFC-46EA-B64D-EB31A56B321D}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.XMLOutputFormat.1" >

    <progid>MSUtil.LogQuery.XMLOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TemplateOutputFormat"
        clsid="{8235D6A5-AAFD-4D39-BFE8-EF1641AB9257}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TemplateOutputFormat.1" >

    <progid>MSUtil.LogQuery.TemplateOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.DataGridOutputFormat"
        clsid="{8F054D20-354E-4A4D-92E4-10CDBA47D848}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.DataGridOutputFormat.1" >

    <progid>MSUtil.LogQuery.DataGridOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.ChartOutputFormat"
        clsid="{2C4C2DB5-61C5-4D45-A66F-2071EC069328}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.ChartOutputFormat.1" >

    <progid>MSUtil.LogQuery.ChartOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.SYSLOGOutputFormat"
        clsid="{342148B3-7F11-4F39-A287-6829F83FABDA}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.SYSLOGOutputFormat.1" >

    <progid>MSUtil.LogQuery.SYSLOGOutputFormat</progid>
    </comClass>

    <comClass
        description="LogQuery.TSVOutputFormat"
        clsid="{38E8C317-D7A1-49EE-8437-8DFE91462B1E}"
        threadingModel="Apartment"
        progid="MSUtil.LogQuery.TSVOutputFormat.1" >

    <progid>MSUtil.LogQuery.TSVOutputFormat</progid>
    </comClass>

      <typelib tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}"
        version="1.0"
        helpdir="" />

</file>

      <comInterfaceExternalProxyStub
        name="ICOMSQLOutputContext"
        iid="{023D89CA-32BE-44DC-B442-478EC7478D62}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMRegistryInputContext"
        iid="{09631558-6E49-4D0D-927F-628BA883CB1D}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogRecord"
        iid="{185FFF88-E24A-4984-9621-AA41BEAE8513}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMNativeOutputContext"
        iid="{1979F191-21AA-489D-BCDC-8CB6DC60AF42}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMEventLogInputContext"
        iid="{1D8AD32F-4DF0-41A7-AD76-8B3345EB1144}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTemplateOutputContext"
        iid="{2547428D-535E-4467-9C0C-77511E47BE0D}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMDataGridOutputContext"
        iid="{2690326C-0A98-41A0-A53A-BE0D58F0E936}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMNetMonInputContext"
        iid="{3837E95F-07DB-4D09-99CD-586B4E094208}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMHttpErrorInputContext"
        iid="{3A698D1E-D6AE-46B0-B9F5-FA1C6F9092F4}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogQuery"
        iid="{3BDE06BC-89E4-42FD-BE64-832A5F33D7D3}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLOutputContext"
        iid="{5481A119-1977-4190-B585-C62373A6A024}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISIISMSIDInputContext"
        iid="{55FCA9B8-56BB-479C-92C7-388011A6E45B}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMW3CInputContext"
        iid="{6642B90C-5D0B-4547-A67D-C844746E7C1C}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLInputContext"
        iid="{72B09A81-FB17-4187-B5F8-AD7E9592548E}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMXMLInputContext"
        iid="{72B09A81-FB17-4187-B5F8-AD7E9592548E}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMFileSystemInputContext"
        iid="{76DDDBC5-5DFF-4A2B-9E09-4E1C26C6A938}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISOutputContext"
        iid="{7A5A3711-A707-4381-9C86-9ECADFB88975}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMCSVInputContext"
        iid="{80206B7F-6424-41FA-984C-7DBD92CE0C48}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTSVInputContext"
        iid="{84C54BEB-D3C1-4E89-A868-F6F40B184D68}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMADSInputContext"
        iid="{85B21BA3-4271-4B10-A837-B715FDF3B0A1}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTSVOutputContext"
        iid="{8819BA1E-1931-4CCF-9F71-64547651AA54}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMURLScanLogInputContext"
        iid="{9EBC373B-4E35-455A-8611-8A9ECE6689F5}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMW3COutputContext"
        iid="{9F3A6096-C1A3-428D-BE12-EEA7CDB3627F}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISODBCInputContext"
        iid="{ADE25553-5361-44BA-9270-31B08B4A8D6F}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTextLineInputContext"
        iid="{AF3F77B5-028D-4DE3-BDE7-8D84C30573C0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMSYSLOGOutputContext"
        iid="{B0936B89-8035-42CE-A33C-9E2E22DEADD2}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMETWInputContext"
        iid="{B53E5AF6-3D61-42B1-8F65-4F4F7368EC59}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMTextWordInputContext"
        iid="{BCE40C1E-DEE2-477A-B479-7E817D5446F3}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISNCSAInputContext"
        iid="{C0B28DCB-F1D8-48A3-B4F4-FC28BEBA5EBA}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMChartOutputContext"
        iid="{C0D19115-1C4F-4A49-A02C-60BF913BEFF9}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogRecordset"
        iid="{C9452B1B-093C-4842-ABD1-F81410926874}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISIISInputContext"
        iid="{CB6A017F-69ED-48D2-8ED7-42B1BCB80844}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISW3CInputContext"
        iid="{CC00A85E-22A3-4E73-8FA8-088EE78B1DC5}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogStringCollection"
        iid="{DA56E00E-E07C-4AB0-954E-0F901E9179A0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ILogStringCollection"
        iid="{DA56E00E-E07C-4AB0-954E-0F901E9179A0}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMIISBINInputContext"
        iid="{F0FF3746-6CA6-4AB6-AE64-79A26FA82950}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

      <comInterfaceExternalProxyStub
        name="ICOMCSVOutputContext"
        iid="{FB96582A-63D4-4564-A65A-26EB352734FA}"
        proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
        baseInterface="{00000000-0000-0000-C000-000000000046}"
        tlbid="{A7E75D86-41CD-4B6E-B4BD-CC2ED34B3FB0}" />

</assembly>

Вот чувствую, что уже где то рядом .... Но не могу сообразить где ошибка (((

129

Re: WSH: Использование COM-сервера без его регистрации в системе

TAOSoft, если есть возможность - выложите пожалуйста весь набор файлов, включая DLL. Попробую выяснить в чём проблема.

Передумал переделывать мир. Пашет и так, ну и ладно. Сделаю лучше свой !

130 (изменено: TAOSoft, 2017-10-04 09:19:57)

Re: WSH: Использование COM-сервера без его регистрации в системе

Здравствуйте Xameleon !

Весьма признателен Вам за то, что не оставили мою сложность без внимания.
По ссылке на google drive, архив с "комбо". Дополнительно в архив поместил файлик ReadMe.txt.
https://drive.google.com/open?id=0B_QgC … GNZSWJQUjg

131

Re: WSH: Использование COM-сервера без его регистрации в системе

Хм... Пока получаю такой же результат, как и Вы. Буду думать.

Передумал переделывать мир. Пашет и так, ну и ладно. Сделаю лучше свой !

132

Re: WSH: Использование COM-сервера без его регистрации в системе

TAOSoft, провел несколько экспериментов в свободное время.

Наткнулся на то, что разные версии WScript по разному реагируют на манифест.

WScript.exe версии 5.8.7601.18283, взятый из Win 7, прекрасно понимает манифест и создаёт MSUtil.LogQuery

WScript.exe версии 5.812.10240.16384, взятый из Win 10 никак не хочет создавать его.

Результаты прикладываю во вложении. (для тестирования запустите test.cmd)

Предполагаю, что для WScript из Win 10 нужна дополнительная информация в манифесте, но это лишь моё предположение...

Post's attachments

LogParser.zip 623.88 kb, 4 downloads since 2017-10-08 

You don't have the permssions to download the attachments of this post.
Передумал переделывать мир. Пашет и так, ну и ладно. Сделаю лучше свой !

133

Re: WSH: Использование COM-сервера без его регистрации в системе

Здравствуйте Xameleon!

Ваш вариант действительно работает под WScript.exe версии 5.8.7601.18283, взятый из Win 7. Спасибо огромное.
Но у меня в голове немного не укладывается.
Пост 37 этой темы (http://forum.script-coding.com/viewtopi … 569#p27569) говорит нам о том, что манифест должен быть как к библиотеке, так и приложению, использующему эту библиотеку.

...
Имя файла манифеста состоит из названия приложения и «.manifest». Этот файл может являться как ресурсом приложения, так и располагаться в директории программы или библиотеки.

1. example.exe.manifest
2. example.dll.manifest
3. example.exe.<resource ID>.manifest
4. example.dll.<resource ID>.manifest
...

В Вашем варианте реализации используется лишь 1 манифест для WScript.exe и как бы я нахожусь в замешательстве... Как такое вообще возможно?

134

Re: WSH: Использование COM-сервера без его регистрации в системе

TAOSoft,

Пост 37 этой темы (http://forum.script-coding.com/viewtopi … 569#p27569) говорит нам о том, что манифест должен быть как к библиотеке, так и приложению, использующему эту библиотеку.

Не могу согласиться. В моём видении в посте говорится о файле манифеста (в единственном числе), который может быть в директории, а может быть ресурсом приложения. )

Изначально манифест нужен именно загрузчику приложения, чтобы знать что приложению нужно для запуска: (включение тем оформления / ссылки на COM DLL / права запуска / поддержка масштабирования и т.п.).

1) Возникает резонный вопрос - а зачем тогда нужны манифесты на dll, если можно всё "сунуть" в манифест приложения ? На сколько мне известно, в случае большого количества DLL их манифесты выносятся наружу в виде файлов, либо складываются внутрь ресурсов DLL, дабы каждый раз не править основной манифест приложения в случае изменения одной из DLL. А уже из манифеста приложения делаются ссылки на внешние манифесты DLL / OCX (либо на файл манифеста либо на саму dll, если ресурс внутри) и т.п.

2) По поводу неработоспособности WScript последней версии - хотел вчера написать, но поздновато уже было. Предполагаю, что как раз в ресурсах и кроется проблема. У WScript версии 5.812.10240.16384, манифест уже зашит внутрь. И видимо поэтому загрузчик игнорирует внешний манифест. Я сделал тест - умышленно испортил внешний манифест и поочередно запустил с ним WScript-ы разных версий. В итоге первый ругается, что манифест содержит ошибку, а второй игнорирует его и продолжает запуск. Я предположил, что можно запуститься и со вторым WScript, если в нём подменить внутренний манифест на нужный, но пока не получилось. При попытке любого изменения манифеста получаю ошибку.

Передумал переделывать мир. Пашет и так, ну и ладно. Сделаю лучше свой !