Addon Windows Media Player 11 for Server 2003 x86-x64

Discussion in 'Windows XP / Older OS' started by MilkChan, Aug 27, 2022.

  1. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
  2. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
  3. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    #47 MilkChan, Sep 18, 2022
    Last edited: Sep 18, 2022
    (OP)
    off topic
    Today it will be announced that there will be a special version of the abandoned Addon of
    YumeYao updated by me Windows Media Player 10 and Windows Format Runtime 11
    (ENU ONLY)
    For those who do not want Windows Media Player 11 on Server 2003
    and XP

    Today I tested my Windows Media Player again with PTP on Server 2003.
    (scanner and camera wizard can't open)
    I noticed a service called Windows Image Acquisition (WIA).
    is off by MS default If anyone tries to share pictures from their phone or camera, turn on this service.
     
  4. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
  5. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    3.4.6-v2
    Added a missing security catalog from the original.
    setup_wm.exe (kb926251)
     
  6. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    Now I found the Chinese version. It's version v3.4.4.
    But the Japanese language is no longer available.

    3.4.6-v3
    Fixed BuildDate KB973540
     
  7. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
  8. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
  9. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    Update 1.1a update for x64 fixed frequent regsvr32 issues.
     
  10. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    Update 1.1b for x64
    Add a skin file copy to the wmp11.cab file.
    In 2003, wanted
     
  11. un user

    un user MDL Member

    Jun 16, 2013
    163
    123
    10
    Hi @MilkChan.
    If you want to use only MTP features from WMP11, i can give details how to do.
    I just made some tweaks for my WES2009 and i have tested MTP part on my build.
     
  12. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10

    Hello, I don't know if you've fine-tuned my command to work.
    Because I never released this version and I don't know if it works with nLite.
    You can elaborate on it. I will read tomorrow morning
    thank you
     
  13. un user

    un user MDL Member

    Jun 16, 2013
    163
    123
    10
    #57 un user, Nov 5, 2022
    Last edited: Nov 6, 2022
    It is not integrated with nLite, sorry.
    For WES2009, is integrated directly at build time.
    For XP, only need to copy some files and to add some lines in two infs.

    wpdmtp.inf is modified see below
    Code:
    ; Installation inf for devices supporting Media Transfer Protocol (MTP)
    ;
    ; Copyright (c) Microsoft Corporation.
    ;
    
    
    [Version]
    Signature="$WINDOWS NT$"
    Class=WPD
    ClassGUID={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
    Provider=%Msft%
    LayoutFile=layout.inf
    DriverVer=02/22/2006,5.2.5326.4762
    
    [ClassInstall32.NT]
    AddReg=WPDClassReg
    
    [DestinationDirs]
    MTP.Files.Kernel = 12
    MTP.Files.XPRT_USB = 11
    MTP.Files.Core = 11
    MTP.Files.UMDFDDriver = 12,UMDF ; copy to system32\drivers\umdf
    
    Language.EN.Files=11
    WPD.Files=11
    WPD.Files.inf=17
    WPD.Files.x86=11
    
    [Manufacturer]
    %MfgName%=Generic,NTx86,NTamd64
    %MfgNameVendorModels%=VendorModels,NTx86,NTamd64
    
    [Generic.NTx86]
    ;
    ;Device is identified by Microsoft OS descriptor
    ;If your device does not support it, use specific VID & PID for identification
    ;
    %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
    %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
    ;%GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
    
    [Generic.NTamd64]
    ;
    ;Device is identified by Microsoft OS descriptor
    ;If your device does not support it, use specific VID & PID for identification
    ;
    %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
    %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
    ;%GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
    
    [VendorModels.NTx86]
    
    [VendorModels.NTamd64]
    
    ;;******************************************************************************
    ;; The following are to be used in vendor specific "Includes" and "Needs" sections.
    ;; Specifically, the INF should contain:
    ;;
    ;; [DDInstall]
    ;; Include = wpdmtp.inf
    ;; Needs   = WPD.MTP
    ;;
    ;; [DDInstall.hw]
    ;; Include = wpdmtp.inf
    ;; Needs   = WPD.MTP.Registration       <- includes all default legacy API and autoplay registration for the device
    ;;  - OR -
    ;; Needs   = WPD.MTP.RegistrationBasic  <- only do minimum registration, no legacy API or autoplay
    ;;
    ;; [DDInstall.Services]
    ;; Include = wpdmtp.inf
    ;; Needs   = WPD.MTP.Services
    ;;
    ;; [DDInstall.CoInstallers]
    ;; Include = wpdmtp.inf
    ;; Needs = WPD.MTP.CoInstallers
    ;;
    ;; [DDInstall.Wdf]
    ;; Include = wpdmtp.inf
    ;; Needs = WPD.MTP.Wdf
    ;; UmdfServiceOrder=WpdMtpDriver
    ;;
    ;;******************************************************************************
    
    [WPD.MTP]
    ;CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
    ;CopyFiles = Language.EN.Files,WPD.Files,WPD.Files.inf,WPD.Files.x86
    RegisterDlls = MTP.RegisterComServers
    
    [WPD.MTP.Registration]
    AddReg    = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration, MTPUSB.Interface.Registration
    
    [WPD.MTP.RegistrationBasic]
    AddReg    = WDF.Registration, MTPUSB.Transport.Registration
    
    [WPD.MTP.Services]
    AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 - assigned the name service as the PnP function driver
    AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService, MTPEventlog.AddService
    
    [WPD.MTP.CoInstallers]
    AddReg   = WDF.CoInstaller
    
    [WPD.MTP.Wdf]
    UmdfService=WpdMtpDriver,WpdMtpDriver_Install
    
    [WPDClassReg]
    HKLM,SYSTEM\CurrentControlSet\Control\Class\{EEC5AD98-8080-425f-922A-DABF3DE3F69A},,,%WpdClassName%
    HKLM,SYSTEM\CurrentControlSet\Control\Class\{EEC5AD98-8080-425f-922A-DABF3DE3F69A},Icon,,100
    HKLM,SYSTEM\CurrentControlSet\Control\Class\{EEC5AD98-8080-425f-922A-DABF3DE3F69A},Installer32,,"wpd_ci.dll,WpdClassInstaller"
    HKLM,SYSTEM\CurrentControlSet\Control\Class\{EEC5AD98-8080-425f-922A-DABF3DE3F69A},Class,,"WPD"
    
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\MTPMediaPlayerArrival,"MSWMDMHandler",,""
    
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDClassInstaller","CategoryCount",0x00010001,3
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDClassInstaller","EventMessageFile",0x00020000,"%11%\wpd_ci.dll"
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDClassInstaller","CategoryMessageFile",0x00020000,"%11%\wpd_ci.dll"
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDClassInstaller","TypesSupported",0x00010001,7
    
    ;;******************************************************************************
    ;; MTP section
    ;;******************************************************************************
    
    [MTP.NT]
    ;CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
    ;CopyFiles = CopyFiles = Language.EN.Files,WPD.Files,WPD.Files.inf,WPD.Files.x86
    
    RegisterDlls = MTP.RegisterComServers
    
    [MTP.NT.hw]
    AddReg    = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration, MTPUSB.Interface.Registration
    
    [MTP.NT.Services]
    AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 - assigned the name service as the PnP function driver
    AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService, MTPEventlog.AddService
    
    [MTP.NT.CoInstallers]
    AddReg = WDF.CoInstaller
    
    [MTP.NT.Wdf]
    UmdfService=WpdMtpDriver,WpdMtpDriver_Install
    UmdfServiceOrder=WpdMtpDriver
    
    [MTPUSB.Transport.Registration]
    HKR,"WpdMtpDriver","TransportClassID",0x0,"{34C445BA-07EB-4b5d-8EE9-F66BB9DA403B}"
    
    ;To enable partners to run in official Vista Beta2 build, to work around bug in wpdusb.sys
    [MTPUSB.Interface.Registration]
    HKR,,"Interfaces", 0x00010000,"{14480d3f-7a47-4a75-aaef-b14f56397153}"
    ;HKR,,"Icons", 0x00010000,"%SystemRoot%\system32\wpdshext.dll,-704"
    ;HKR,,"WMDMSPCLSID", 0x00000000,"{77F7F122-20B0-4117-A2FB-059D1FC88256}"
    ;HKR,,"UseExtendedWmdm", 0x10001,1
    ;HKR,,"PortableDeviceType", 0x10001,2
    
    ;;******************************************************************************
    ;; Common section
    ;;   1. File copy
    ;;   2. Regsvr COM servers
    ;;   3. AutoPlay
    ;;   4. WDF
    ;;   5. Registration
    ;;   6. WMDM/WIA legacy support
    ;;   7. Kernel mode service (WPDUSB)
    ;;   8. Eventlog service
    ;;******************************************************************************
    
    
    [MTP.Files.Kernel]
    WpdUsb.sys,,,0x0100
    
    [MTP.Files.XPRT_USB]
    WpdMtpUS.dll,,,0x0100
    WpdConns.dll,,,0x0100
    
    [MTP.Files.Core]
    WpdMtp.dll,,,0x0100
    
    [MTP.Files.UMDFDDriver]
    WpdMtpDr.dll,,,0x0100
    
    [MTP.RegisterComServers]
    11,,audiodev.dll,1
    11,,wpdconns.dll,1
    11,,wpdmtpus.dll,1
    11,,wpdmtp.dll,1
    11,,wpdsp.dll,1
    11,,wpdshext.dll,1
    11,,WPDShServiceObj.dll,1
    11,,PortableDeviceTypes.dll,1
    11,,PortableDeviceClassExtension.dll,1
    11,,PortableDeviceApi.dll,1
    11,,PortableDeviceWMDRM.dll,1
    11,,PortableDeviceWiaCompat.dll,1
    12,UMDF,wpdmtpdr.dll,1
    
    [WPD.Files]
    PortableDeviceApi.dll
    PortableDeviceClassExtension.dll
    PortableDeviceTypes.dll
    PortableDeviceWiaCompat.dll
    PortableDeviceWMDRM.dll
    
    [WPD.Files.x86]
    wpd_ci.dll
    WpdShext.dll
    wpdshextautoplay.exe
    WPDShServiceObj.dll
    wpdsp.dll
    
    [WPD.Files.inf]
    wpdmtp.inf
    ;WPDMTPHW.INF
    
    [Language.EN.Files]
    wpdshextres.dll,locbin\wpdshextres.dll.409
    
    [MTP.AutoPlayRegistration]
    ; This lists the interfaces which WpdUsb.sys will register on device start; this list contains the legacy AutoPlay
    HKR,,"Interfaces",0x00010000,"{14480d3f-7a47-4a75-aaef-b14f56397153}"
    ; This indicates the interface used by the device for it's AutoPlay configuration; this is used by the WPD Namespace device properties AutoPlay tab on XP only
    HKR,,"PortableDeviceNameSpaceAutoPlayInterface",,"{14480d3f-7a47-4a75-aaef-b14f56397153}"
    ; Per interface setting enabling Autoplay
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceClasses\{14480d3f-7a47-4a75-aaef-b14f56397153}","DeviceGroup",,"PortableAudioPlayer"
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceClasses\{14480d3f-7a47-4a75-aaef-b14f56397153}","Label",,%Autoplay.Label%
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceClasses\{14480d3f-7a47-4a75-aaef-b14f56397153}","DeviceHandlers",,"MTPMediaPlayerHandler"
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceClasses\{14480d3f-7a47-4a75-aaef-b14f56397153}","Icons",0x00010000,"%%SystemRoot%%\system32\wpdshext.dll,-701"
    ;   DeviceHandler
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceHandlers\MTPMediaPlayerHandler\EventHandlers\DeviceArrival","MTPMediaPlayerArrival",,""
    ;   EventHandlers.  Creating an empty key will give "Take no action" option if no handlers are registered.
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\MTPMediaPlayerArrival\",,0x00000012
    
    
    [WDF.CoInstaller]
    HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll"
    
    [WDF.Registration]
    HKR,"WUDF","Exclusive",0x10001,1
    HKR,,"LowerFilters",0x00010008,"WpdUSB" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
    
    [WpdMtpDriver_Install]
    UmdfLibraryVersion=1.0.0
    ServiceBinary="%12%\umdf\WpdMtpDr.dll"
    DriverCLSID="{AAAE762B-A6A2-4c45-B5D8-9A83AFB6BB70}"
    
    ; =============== Legacy support ===============
    
    [MTP.LEGACY.Registration]
    ; Request for auto-determination of WIA/WMDM legacy API (and autoplay) support based on device capabilities and type
    HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
    
    ; Report EXIF format as JPEG for WIA
    HKR,,"ReportJPGFormatForEXIF",0x10001,1
    
    ; =================== WUDFRd ===================
    
    [WUDFRD_ServiceInstall]
    ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
    StartType      = 3                  ; SERVICE_DEMAND_START
    ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
    ServiceBinary   = %12%\WUDFRd.sys
    LoadOrderGroup  = Base
    
    ; =================== WPDUSB ===================
    
    [MTP.WpdUsb.AddService]
    DisplayName    = %WpdUsb.SvcDesc%
    ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
    StartType      = 3                  ; SERVICE_DEMAND_START
    ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
    ServiceBinary  = %12%\wpdusb.sys
    LoadOrderGroup = Base
    
    [MTPEventlog.AddService]
    AddReg=MTPEventlog.Addreg
    
    [MTPEventlog.Addreg]
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDMTPDriver","CategoryCount",0x00010001,3
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDMTPDriver","EventMessageFile",0x00020000,"%12%\umdf\wpdmtpdr.dll"
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDMTPDriver","CategoryMessageFile",0x00020000,"%12%\umdf\wpdmtpdr.dll"
    HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\WPDMTPDriver","TypesSupported",0x00010001,7
    
    [Strings]
    
    ;; Localizable strings
    Msft="Microsoft"
    WpdClassName="Portable Devices"
    WpdUsb.SvcDesc="WpdUsb"
    GenericMTP.DeviceDesc="MTP Device"
    ;GenericMTPIP.DeviceDesc="MTP IP Device"
    GenericPTP.DeviceDesc="PTP MTP Device"
    MfgName="(Standard MTP-compliant devices)"
    MfgNameVendorModels="(Standard MTP-Compliant Device)"
    Autoplay.Label= "Portable Device"
    
    copy next files in system32 folder:

    PortableDeviceApi.dll
    PortableDeviceClassExtension.dll
    PortableDeviceTypes.dll
    PortableDeviceWiaCompat.dll
    PortableDeviceWMDRM.dll
    wpd_ci.dll
    WpdShext.dll
    wpdshextautoplay.exe
    WPDShServiceObj.dll
    wpdsp.dll
    WpdMtp.dll
    WpdMtpUS.dll
    WpdConns.dll

    wpdshextres.dll --> system32\locbin\wpdshextres.dll.409

    WpdUsb.sys--> system32\drivers

    wpdmtp.inf --> Windows\inf

    WpdMtpDr.dll --> system32\drivers\UMDF

    second inf is wudf_update.inf
    Code:
    [Version]
    Signature = "$WINDOWS NT$"
    Provider = %MSFT%
    ;CatalogFile = wudf_update.cat
    DriverVer=09/15/2005,1.0.0.0
    
    ; ****************************************************************************
    ;
    ; These two sections are run when Install is invoked on the INF
    ;
    ; ****************************************************************************
    
    [BaseWinOptions]
    DefaultInstall
    
    [DefaultInstall]
    ;CopyFiles = UmdfInstall_System32, UmdfInstall_Drivers
    
    [DefaultInstall.Services]
    AddService=WudfPf,%NOCLOBBER_SERVICE%,WudfPf_Install
    AddService=WudfRd,%NOCLOBBER_SERVICE%,WudfRd_Install
    AddService=WudfSvc,%NOCLOBBER_SERVICE%,WudfSvc_Install
    
    ; ****************************************************************************
    ;
    ; install the driver manager service
    ;
    ; ****************************************************************************
    
    [WudfSvc_Install]
    DisplayName=%WUDFSVC_DISPLAY_NAME%
    Description=%WUDFSVC_DESCRIPTION%
    ServiceType=0x20
    StartType=%SERVICE_DEMAND_START%
    ErrorControl=0x01
    ServiceBinary=%10%\system32\svchost.exe -k WudfServiceGroup
    LoadOrderGroup=PlugPlay
    Dependencies=PlugPlay,WudfPf
    StartName = "LocalSystem"
    AddReg=WudfSvc_Registry
    
    [UmdfInstall_System32]
    WUDFCoinstaller.dll
    WudfHost.exe
    WudfPlatform.dll
    WudfSvc.dll
    WUDFx.dll
    
    [UmdfInstall_Drivers]
    WudfPf.sys
    WudfRd.sys
    
    [WudfSvc_Registry]
    HKR, "Parameters", "ServiceDll", %REG_EXPAND_SZ%, "%SystemRoot%\System32\WUDFSvc.dll"
    HKR, "Parameters", "ServiceDllUnloadOnStop", %REG_DWORD%, 1
    HKR, ,             "FailureActions", %REG_BINARY%, 84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,53,00,65,00,01,00,00,00,C0,D4,01,00,01,00,00,00,E0,93,04,00,00,00,00,00,00,00,00,00
    HKR, ,             "ServiceSidType", %REG_DWORD%, 1
    
    HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\svchost", "WudfServiceGroup", 0x00010008, "WUDFSvc"
    HKLM, "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\WudfSvc","",0,"Service"
    HKLM, "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\WudfSvc","",0,"Service"
    
    HKLM, "%WUDF_SW_KEY%"
    HKLM, "%WUDF_SW_KEY%\Services"
    
    HKLM, "%WUDF_SW_KEY%", "LogEnable", %REG_DWORD%, 1
    HKLM, "%WUDF_SW_KEY%", "LogKd", %REG_DWORD%, 0
    HKLM, "%WUDF_SW_KEY%", "LogFlags", %REG_DWORD%, 0x00ffffff
    HKLM, "%WUDF_SW_KEY%", "LogLevel", %REG_DWORD%, 3
    HKLM, "%WUDF_SW_KEY%", "HostFailKdDebugBreak", %REG_DWORD%, 0
    
    HKLM, "%WUDF_SW_KEY%", "DefaultHostProcessGUID", %REG_SZ%, "{193a1820-d9ac-4997-8c55-be817523f6aa}"
    HKLM, "%WUDF_SW_KEY%", "NumDeviceStacksMax", %REG_DWORD%, 3
    HKLM, "%WUDF_SW_KEY%", "LogFlushPeriodSeconds", %REG_DWORD%, 300
    HKLM, "%WUDF_SW_KEY%", "LogMinidumpType", %REG_DWORD%, 0x00000120
    
    HKLM, "%WUDF_SERVICE_KEY%", "HostProcessImagePath", %REG_SZ%, "%10%\System32\wudfhost.exe"
    HKLM, "%WUDF_SERVICE_KEY%", "HostProcessDbgBreakOnStart", %REG_DWORD%, 0
    
    ; ****************************************************************************
    ;
    ; Install the reflector service
    ;
    ; ****************************************************************************
    
    [WudfRd_Install]
    DisplayName=%WUDFRD_DISPLAY_NAME%
    Description=%WUDFRD_DESCRIPTION%
    StartType=%SERVICE_DEMAND_START%
    ServiceType=0x1
    ErrorControl=0x01
    ServiceBinary=%12%\wudfrd.sys
    AddReg=WudfRd_Registry
    
    [WudfRd_Registry]
    HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\WudfRd","",0,"Driver"
    HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\WudfRd","",0,"Driver"
    
    ; ****************************************************************************
    ;
    ; Install the platform service
    ;
    ; ****************************************************************************
    
    [WudfPf_Install]
    DisplayName=%WUDFPLATFORM_DISPLAY_NAME%
    Description=%WUDFPLATFORM_DESCRIPTION%
    StartType=%SERVICE_DEMAND_START%
    ServiceType=0x1
    ErrorControl=0x01
    ServiceBinary=%12%\WudfPf.sys
    LoadOrderGroup="base"
    AddReg=WudfPf_Registry
    
    [WudfPf_Registry]
    HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\WudfPf","",0,"Driver"
    HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\WudfPf","",0,"Driver"
    
    ; ****************************************************************************
    ;
    ; Source of all files being copied.
    ;
    ; ****************************************************************************
    
    [SourceDisksNames]
    1=%SourceFiles%
    
    [SourceDisksFiles]
    WUDFCoinstaller.dll=1
    WudfHost.exe=1
    WudfPlatform.dll=1
    WudfPf.sys=1
    WudfRd.sys=1
    WudfSvc.dll=1
    WUDFx.dll=1
    
    [SourceDisksFiles.IA64]
    
    [SourceDisksFiles.AMD64]
    
    ; ****************************************************************************
    ;
    ; Destinations for each copy section.
    ;
    ; ****************************************************************************
    
    [DestinationDirs]
    
    UmdfInstall_System32=10, System32
    UmdfInstall_Drivers=12
    
    [Strings]
    MSFT="Microsoft Corporation"
    
    SourceFiles="Microsoft User-Mode Driver Framework 1.9 Install Source Files"
    
    WUDFSVC_DISPLAY_NAME="Windows Driver Foundation - User-mode Driver Framework"
    WUDFSVC_DESCRIPTION="Manages user-mode driver host processes"
    
    WUDFRD_DISPLAY_NAME="Windows Driver Foundation - User-mode Driver Framework Reflector"
    WUDFRD_DESCRIPTION="Reflect device requests to user-mode driver drivers"
    
    WUDFPLATFORM_DISPLAY_NAME="Windows Driver Foundation - User-mode Driver Framework Platform Driver"
    WUDFPLATFORM_DESCRIPTION="Provide communication services for UMDF components."
    
    WUDF_SW_KEY=     "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF"
    WUDF_SERVICE_KEY="SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}"
    
    NOCLOBBER_SERVICE=0x00000010
    SERVICE_BOOT_START=0x0
    SERVICE_DEMAND_START=0x3
    
    REG_EXPAND_SZ=0x00020000
    REG_SZ=0x00000000
    REG_DWORD=0x00010001
    REG_BINARY=0x00000001
    
    again, copy next files in system32 folder:
    WUDFCoinstaller.dll
    WudfHost.exe
    WudfPlatform.dll
    WudfSvc.dll
    WUDFx.dll

    and next files in system32\drivers:
    WudfPf.sys
    WudfRd.sys
    right click on "wudf_update.inf" select install.
    Done!!!

    When an MTP hardware will arrive, "wpdmtp_.inf" will take care of the rest.
    Basically, MTP Class is added to registry and some of the files added earlier will be registered in registry.
    Thats all. Hope it works for you.

    P.S
    Source of files (use 7zip to open/unpack .exe) "wmp11-windowsxp-x86-enu.exe" v11.0.5721.5262 --> extract "wmfdist11.exe" --> extract files for MTP installation.
    "WUDF_UPDATE_XP-SRV03.exe" v1.9 -->extract files for WUDF installation.
     
  14. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    ok see mtp code will work for you
    The problem is similar to how I initially did the Server 2003 addon.
    I do as you say
    but see my phone as a camera
    POSReady seems to have more installation issues than Server 2003.
    User 1.9 installer tells The address of the file was not specified.
    which is strange
    POSReady 2009 = Professional, but I don't know if anyone can convert Pro to POSReady 2009?

    I checked ptpusb.inf, it has no problem. thank you for your work
     
  15. un user

    un user MDL Member

    Jun 16, 2013
    163
    123
    10
    It depends what hardware id expose your phone, for example : ""USB\Class_06&SubClass_01&Prot_01"" is PTP and is serviced by ptpusb.inf.
    In order to use MTP features, your phone, should expose "USB\MS_COMP_MTP", also, wpdmtp.inf could install services for PTP features, but, it needs to be disabled from ptpusb.inf.

    POSReady belongs to Embedded branch, and, UMDF v1.9 only checks for XP or SRV 2003, thats why i choose manual install, to disregard any checks.
     
  16. MilkChan

    MilkChan MDL Senior Member

    Mar 8, 2020
    438
    239
    10
    #60 MilkChan, Nov 6, 2022
    Last edited: Nov 6, 2022
    (OP)
    It's okay, it's working now.
    Thanks to this version, I didn't pay much attention to it.