[Solved] Installing codecs outside system folder via registry

2 posters

Go down

[Solved] Installing codecs outside system folder via registry  Empty [Solved] Installing codecs outside system folder via registry

Post by DennisSmith Mon Jun 08, 2015 1:35 pm

Hi everyone, I'm currently rewriting a lot of ini files that install codecs.
These codecs can't be registered via regsvrv32 because they don't have the entry-point but installing them via registry works just fine.

Currently the dll's are placed under System32 or SysWOW64 and than the following registry entry's are made. This works just fine however I'm supposed to change that so that the dll's are under 'Program Files' or 'Program Files (x86)' and simply adding the path to the dll in the registry does not work.

I feel like I'm missing something obviously here but i cant make it work, so i hope you guys can give me some pointers.
Thank you all very much in advanced.


Current Working Version, with dll's in system folder:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.MyDllFourCC"="MyDLL.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"MyDLL.dll"="NiceName"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.MyDllFourCC "="MyDLL.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"MyDLL.dll"="NiceName"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.MyDllFourCC ]
"Description"="NiceName"
"Driver"="MyDLL.dll"
"FriendlyName"="VeryNiceName"


Not Working with dll's in program files:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.MyDllFourCC"="C:\Program Files\MyCodes\MyDLL.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"C:\Program Files\MyCodes\MyDLL.dll"="NiceName"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32]
"VIDC.MyDllFourCC "="C:\Program Files (x86)\MyCodes\MyDLL.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\drivers.desc]
"C:\Program Files (x86)\MyCodes\MyDLL.dll"="NiceName"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.MyDllFourCC ]
"Description"="NiceName"
"Driver"="C:\Program Files\MyCodes\MyDLL.dll"
"FriendlyName"="VeryNiceName"


Last edited by DennisSmith on Mon Jun 08, 2015 4:25 pm; edited 1 time in total

DennisSmith

Posts : 2
Join date : 2015-06-08

Back to top Go down

[Solved] Installing codecs outside system folder via registry  Empty Re: [Solved] Installing codecs outside system folder via registry

Post by Admin Mon Jun 08, 2015 2:43 pm

You need to use the shortened (8.3) file and folder names. You can see those by using DIR /X at the command prompt. For example Program Files is PROGRA~1. But be warned, the short names depend on the contents of the file systems, so they are not necessary equal on all systems. They aren't fixed values that you can use in a script. Why are you using .inf scripts?

Admin
Admin

Posts : 7384
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

[Solved] Installing codecs outside system folder via registry  Empty Re: [Solved] Installing codecs outside system folder via registry

Post by DennisSmith Mon Jun 08, 2015 4:14 pm

Wow thanks! worked right away!!!

64bit Windows Media Player is crashing now!? I probably made a small error but 32 bit works.
I'm certain i can find the reason for that.

i know .inf scripts are not ideal but for several other reasons I'm stuck with them for the moment.

Thank you !!!

DennisSmith

Posts : 2
Join date : 2015-06-08

Back to top Go down

[Solved] Installing codecs outside system folder via registry  Empty Re: [Solved] Installing codecs outside system folder via registry

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum