FredThompson
17th February 2017, 01:22
These will manually install Ut DirectShow filters:
regsvr32 /s C:\Windows\System32\utv_dmo.dll
regsvr32 /s C:\Windows\SysWOW64\utv_dmo.dll
How to also manually install them as VFW?
Or, alternately, is there a way to do silent install/uninstall of Ut from the command line/batch?
StainlessS
17th February 2017, 02:30
Hi Fred,
Thread about similar:- https://forum.doom9.org/showthread.php?t=154069
MS Stuff on editing registry:- https://support.microsoft.com/en-gb/help/310516/how-to-add,-modify,-or-delete-registry-subkeys-and-values-by-using-a-.reg-file
Deleting Registry Keys and Values
To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the
Test subkey from the following registry key:
HKEY_LOCAL_MACHINE\Software
put a hyphen in front of the following registry key in the .reg file:
HKEY_LOCAL_MACHINE\Software\Test
The following example has a .reg file that can perform this task.
[-HKEY_LOCAL_MACHINE\Software\Test]
To delete a registry value with a .reg file, put a hyphen (-) after the equals sign following the DataItemName in the .reg file.
For example, to delete the TestValue registry value from the following registry key:
HKEY_LOCAL_MACHINE\Software\Test
put a hyphen after the "TestValue"= in the .reg file. The following example has a .reg file that can perform this task.
HKEY_LOCAL_MACHINE\Software\Test
"TestValue"=-
To create the .reg file, use Regedit.exe to export the registry key that you want to delete, and then use Notepad to edit the .reg file and
insert the hyphen.
For me on XP32, I went to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
Right clicking on the Drivers32 key, select Export.
Will export a load of stuff eg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"midimapper"="midimap.dll"
"msacm.imaadpcm"="imaadp32.acm"
"msacm.msadpcm"="msadp32.acm"
"msacm.msg711"="msg711.acm"
"msacm.msgsm610"="msgsm32.acm"
"msacm.trspch"="tssoft32.acm"
"vidc.cvid"="iccvid.dll"
"vidc.I420"="i420vfw.dll"
"vidc.iv31"="ir32_32.dll"
"vidc.iv32"="ir32_32.dll"
"vidc.iv41"="ir41_32.ax"
"vidc.iyuv"="iyuv_32.dll"
"vidc.mrle"="msrle32.dll"
"vidc.msvc"="msvidc32.dll"
"vidc.uyvy"="msyuv.dll"
"vidc.yuy2"="msyuv.dll"
"vidc.yvu9"="tsbyuv.dll"
"vidc.yvyu"="msyuv.dll"
"wavemapper"="msacm32.drv"
"msacm.msg723"="msg723.acm"
"vidc.M263"="msh263.drv"
"vidc.M261"="msh261.drv"
"msacm.msaudio1"="msaud32.acm"
"msacm.sl_anet"="sl_anet.acm"
"msacm.iac2"="C:\\WINDOWS\\system32\\iac25_32.ax"
"vidc.iv50"="ir50_32.dll"
"msacm.l3acm"="C:\\WINDOWS\\system32\\l3codeca.acm"
"msacm.l3codec"="l3codecp.acm"
"vidc.yv12"="yv12vfw.dll"
"VIDC.HFYU"="huffyuv.dll"
"VIDC.FFDS"="ff_vfw.dll"
"wave"="wdmaud.drv"
"midi"="wdmaud.drv"
"mixer"="wdmaud.drv"
"VIDC.ULRA"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULRG"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULY0"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULY2"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULH0"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULH2"="C:\\WINDOWS\\system32\\utv_vcm.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\Terminal Server]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\Terminal Server\RDP]
"wave"="rdpsnd.dll"
"mixer"="rdpsnd.dll"
"MaxBandwidth"=dword:000056b9
"wavemapper"="msacm32.drv"
"EnableMP3Codec"=dword:00000001
"midimapper"="midimap.dll"
To Add, Edit to like so, "Ut_Vidio_Install.reg"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.ULRA"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULRG"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULY0"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULY2"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULH0"="C:\\WINDOWS\\system32\\utv_vcm.dll"
"VIDC.ULH2"="C:\\WINDOWS\\system32\\utv_vcm.dll"
to delete, "Ut_Vidio_UnInstall.reg" (NOTE the =- at end)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.ULRA"=-
"VIDC.ULRG"=-
"VIDC.ULY0"=-
"VIDC.ULY2"=-
"VIDC.ULH0"=-
"VIDC.ULH2"=-
EDIT: Will need admin rights.
Presumably the SysWOW64 version will be in same place in registry, but dont know that for sure.
NOTE, the double slashes in the file paths, will fail if not double slashed.
FredThompson
17th February 2017, 06:06
Thanks for your reply.
I screwed up in the initial post. Those are DirectShow register commands.
FWIW, I like to have everything as portable as possible. That includes editing codecs.
Attached is what I have for Ut. I use one of the Universal Extractor builds to unpack Ut's installer. These files are supposed to register as DirectShow and VFW.
For some reason, which I haven't figured out, they aren't showing up as installed for VFW but all the registry entries are the same with my routines and the Ut installer.
.ax register just fine. There's something about .dll as VFW on Windows x64 that eludes me. Searched the web and found lots of explanations but nothing that addresses this situation.
I haven't tried a forced restart of Windows Explorer because that closes all open Explorer windows.
Here's how to do that:
taskkill /im explorer.exe /f
start "" /d "%systemroot%" /i /normal explorer.exe
Ut's install_script.iss includes these lines at the end of the [RUN] section:
Filename: "{sys}\regsvr32.exe"; Parameters: "/u /s {sys}\utv_mft.dll"; MinVersion: 0.0,6.0; Flags: 32bit
Filename: "{sys}\regsvr32.exe"; Parameters: "/u /s {sys}\utv_mft.dll"; Check: "Is64BitInstallMode"; MinVersion: 0.0,6.0; Flags: 64bit
Universal Extractor doesn't extract utv_mft.dll and it's not a visible file after installation. Really odd.
I've also thought about making an .inf using Cedocida's as a start. That's a lot more text, though. Having Windows create the registry entries itself makes more sense.
Midzuki
17th February 2017, 12:49
For what it's worth...
1) this is my utvideo.inf file
(32-bit only, because I use only the 32-bit edition of VirtualDub):
; UT Video Codec Suite version 17.4.0
[Version]
Signature="$CHICAGO$"
Class=Media
[DefaultInstall]
CopyFiles=utvideo.Files.Inf,utvideo.Files.Dll
AddReg=utvideo.AddReg
UpdateInis=utvideo.UpdateIni
MediaType=SOFTWARE
[DefaultUnInstall]
DelFiles=utvideo.Files.Inf,utvideo.Files.Dll,utvideo.Files.Pnf
DelReg=utvideo.AddReg
UpdateInis=utvideo.UpdateIni.Del
[SourceDisksNames]
1="UT Lossless Video Codec version 17.4.0","",1
[SourceDisksFiles]
utvideo.inf=1
utv_vcm.dll=1
utv_core.dll=1
[DestinationDirs]
utvideo.Files.Inf=17 ; windows\inf
utvideo.Files.Dll=11 ; windows\system
[utvideo.Files.Inf]
utvideo.inf
[utvideo.Files.Dll]
utv_vcm.dll
utv_core.dll
[utvideo.Files.Pnf]
utvideo.pnf
[utvideo.UpdateIni]
system.ini, drivers32,,"VIDC.ULRA=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULRG=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY4=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY2=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY0=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH4=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH2=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH0=utv_vcm.dll"
[utvideo.UpdateIni.Del]
system.ini, drivers32,,"VIDC.ULRA=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULRG=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY4=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY2=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULY0=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH4=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH2=utv_vcm.dll"
system.ini, drivers32,,"VIDC.ULH0=utv_vcm.dll"
[utvideo.AddReg]
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULRA,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULRG,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULY4,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULY2,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULY0,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULH4,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULH2,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,VIDC.ULH0,,"utv_vcm.dll"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\utvideo
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\utvideo,DisplayName,,"UT VfW Codec 17.4.0 (remove)"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\utvideo,UninstallString,,"rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\utvideo.inf"
The files "utv_*.dll" must be in the same directory as the .INF, of course.
2) this is my utvideo.cmd batch file:
@echo off
cd %windir%\SysWow64
rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 B:\INFSETUP\utvideo.inf
exit
You will have to change "B:\INFSETUP\utvideo.inf" to the actual location of utvideo.inf on your computer, of course.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.