diff --git a/src/libs/zmbv/zmbv.inf b/src/libs/zmbv/zmbv.inf index 736f51db..a98ea016 100644 --- a/src/libs/zmbv/zmbv.inf +++ b/src/libs/zmbv/zmbv.inf @@ -1,5 +1,8 @@ -[version] -signature="$CHICAGO$" +[Version] +Signature="$CHICAGO$" +Provider=%ZMBV_PUBLISHER% +Class=MEDIA + [DefaultInstall] CopyFiles=ZMBV.Files.Inf,ZMBV.Files.Dll @@ -8,7 +11,12 @@ UpdateInis=ZMBV.INIs [DefaultInstall.ntx86] CopyFiles=ZMBV.Files.Inf,ZMBV.Files.Dll -AddReg=ZMBV.RegNT +AddReg=ZMBV.RegNTx86 +UpdateInis=ZMBV.INIs + +[DefaultInstall.ntamd64] +CopyFiles=ZMBV.Files.Inf,ZMBV.Files.Dll.NTamd64 +AddReg=ZMBV.RegNTamd64 UpdateInis=ZMBV.INIs [DefaultUnInstall] @@ -18,7 +26,12 @@ UpdateInis=ZMBV.INIs.Del [DefaultUnInstall.ntx86] DelFiles=ZMBV.Files.Dll,ZMBV.Files.Inf,ZMBV.Files.Ini -DelReg=ZMBV.RegNT +DelReg=ZMBV.RegNTx86 +UpdateInis=ZMBV.INIs.Del + +[DefaultUnInstall.ntamd64] +DelFiles=ZMBV.Files.Dll.NTamd64,ZMBV.Files.Inf,ZMBV.Files.Ini +DelReg=ZMBV.RegNTamd64 UpdateInis=ZMBV.INIs.Del [SourceDisksNames] @@ -30,6 +43,7 @@ ZMBV.INF=1 [DestinationDirs] ZMBV.Files.Inf=17 ZMBV.Files.Dll=11 +ZMBV.Files.Dll.NTamd64=10,SysWOW64 ZMBV.Files.Ini=25 [ZMBV.Files.Inf] @@ -38,28 +52,54 @@ zmbv.inf [ZMBV.Files.Dll] zmbv.dll +[ZMBV.Files.Dll.NTamd64] +zmbv.dll + [ZMBV.Files.Ini] zmbv.ini [ZMBV.Reg9x] -HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.ZMBV,Description,,"Zip Motion Block Video [ZMBV]" +HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.ZMBV,Description,,"%ZMBV_DISPLAY_NAME%" HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.ZMBV,Driver,,"zmbv.dll" -HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.ZMBV,FriendlyName,,"Zip Motion Block Video [ZMBV]" +HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\VIDC.ZMBV,FriendlyName,,"%ZMBV_DISPLAY_NAME%" HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV -HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,DisplayName,,"Zip Motion Block Video codec (Remove Only)" +HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,DisplayName,,"%ZMBV_UNINST_DISPLAY_NAME%" HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\ZMBV.INF" -[ZMBV.RegNT] -HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,zmbv.dll,,"Zip Motion Block Video [ZMBV]" -HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,VIDC.ZMBV,,zmbv.dll +[ZMBV.RegNTx86] +HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,zmbv.dll,,"%ZMBV_DISPLAY_NAME%" +HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.zmbv,,zmbv.dll -HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV -HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,DisplayName,,"Zip Motion Block Video codec (Remove Only)" -HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,UninstallString,,"rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 %17%\ZMBV.INF" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,DisplayName,,"%ZMBV_UNINST_DISPLAY_NAME%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,Publisher,,"%ZMBV_PUBLISHER%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,URLInfoAbout,,"%ZMBV_URL_HOMEPAGE%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,NoRepair,0x10001,01,00,00,00 +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,NoModify,0x10001,01,00,00,00 +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,UninstallString,,"rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 %17%\ZMBV.INF" + +[ZMBV.RegNTamd64] +HKLM,SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\drivers.desc,zmbv.dll,,"%ZMBV_DISPLAY_NAME%" +HKLM,SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.zmbv,,zmbv.dll + +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,DisplayName,,"%ZMBV_UNINST_DISPLAY_NAME%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,Publisher,,"%ZMBV_PUBLISHER%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,URLInfoAbout,,"%ZMBV_URL_HOMEPAGE%" +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,NoRepair,0x10001,01,00,00,00 +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,NoModify,0x10001,01,00,00,00 +HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZMBV,UninstallString,,"rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\ZMBV.INF" [ZMBV.INIs] system.ini, drivers32,, "VIDC.ZMBV=zmbv.dll" [ZMBV.INIs.Del] system.ini, drivers32, "VIDC.ZMBV=zmbv.dll" + +[Strings] +ZMBV_PUBLISHER = "DOSBox Team" +ZMBV_DISPLAY_NAME = "Zip Motion Block Video [ZMBV]" +ZMBV_UNINST_DISPLAY_NAME = "Zip Motion Block Video codec (Remove Only)" +ZMBV_URL_HOMEPAGE = "http://www.dosbox.com/" +CODEC_INSTALLATION_FINISHED = "Zip Motion Block Video codec installation is complete."