- NSIS Discussion
- registering Xvid-codec. Decode is ok but Xvid not visible in ENCODE software
Archive: registering Xvid-codec. Decode is ok but Xvid not visible in ENCODE software
Idioteque
19th September 2003 16:10 UTC
registering Xvid-codec. Decode is ok but Xvid not visible in ENCODE software
OK what am I doing wrong ?
copied xvid.dll and xvid.ax to SYSDIR and registered xvid.ax
Decoding Xvid is OK but Xvid is not visible in Encoder software.
When I install Xvid NIC's version who also uses NSIS installer. it does show in encoder software.
What am I doing wrong ?
Joost Verburg
19th September 2003 16:16 UTC
This is not really a NSIS related question, but if you attach a script someone might be able to find something. Maybe you can also ask the person that wrote that other installer for a script.
IceCork
19th September 2003 16:29 UTC
Do you have the following line in your script ?
WriteINIStr "$WINDIR\system.ini" "drivers32" "VIDC.XVID" "XVID.dll"
Joost Verburg
19th September 2003 16:30 UTC
That looks like an old Win9x file. I don't think that will work with new Windows versions.
Idioteque
19th September 2003 17:11 UTC
;--------------------------------
CopyFiles /SILENT "$INSTDIR\xvid.dll" "$SYSDIR\xvid.dll"
CopyFiles /SILENT "$INSTDIR\xvid.ax" "$SYSDIR\xvid.ax"
CopyFiles /SILENT "$INSTDIR\divxdec.ax" "$SYSDIR\divxdec.ax"
CopyFiles /SILENT "$INSTDIR\divx.dll" "$SYSDIR\divx.dll"
;--------------------------------
;Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\VHL-Codecpack "Install_Dir" "$INSTDIR"
;--------------------------------
;; Register filters
RegDLL "$SYSDIR\divxdec.ax"
RegDLL "$SYSDIR\xvid.ax"
Have attached VHL 4.0.nsi
I would think this in a NSI question coz when NIc's xvid uses NSIS it does register in encoder software. When I use regdll it doesn't. Perhaps a hidden feature ? ;)
Joost Verburg
19th September 2003 18:52 UTC
Please attach large scripts. That makes it easier to read.
You'd better use the UpgradeDLL macro to upgrade the DLL files, because they could be in use.
Idioteque
19th September 2003 19:03 UTC
Using that does not solve my problem of the codec ;)
Joost Verburg
19th September 2003 20:36 UTC
It's better to use that macro anyway. I think you have to regiter your codec somewhere, ask other Xvid developers.
Idioteque
19th September 2003 20:43 UTC
That's right.
I use:
RegDLL "$SYSDIR\divxdec.ax"
RegDLL "$SYSDIR\xvid.ax"
and the dll's are registerd. I Know coz I can watch Xvid movies.
I'll ask Nic from Xvid
But thx for the info anyway
IceCork
20th September 2003 21:34 UTC
Did you try the line I posted above ?
Works for me under WinXP.