[Version]
signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=11/24/2000 (1.00.04.00)

[ClassInstall]
AddReg=ImageClassReg

[ImageClassReg]
HKR,,,0,%ImageClassName%
HKR,,Icon,0,-23

[Manufacturer]
%Mfg%=Creative

[DestinationDirs]
DefaultDestDir=11
Camera.CopyDrivers=11
Camera.Individual=11
Camera.CopyKernelDrivers=10,SYSTEM32\DRIVERS
Camera.CopyTwainSystemFiles=10
Camera.CopyTwainDriver=10,TWAIN_32\%TWAIN_FOLDER%
Camera.CopyTwainUI=10,TWAIN_32\%TWAIN_FOLDER%
Camera.CopyControls=11
;Creative Additional
Camera.CopyWinFiles=10

[Camera.Device]
DriverVer=11/24/2000 (1.00.04.00)
AddReg=     Camera.AddReg, VidCap.AddReg, G2VideoControl.AddReg
CopyFiles=  Camera.CopyDrivers, Camera.CopyKernelDrivers, Camera.CopyTwainSystemFiles, Camera.CopyTwainDriver, Camera.CopyTwainUI, Camera.CopyControls, Camera.Individual, Camera.CopyWinFiles
KnownFiles= Camera.KnownFiles
UpdateInis= Camera.Ini
; Creative
CtUninstall=CtlCam.Uninstall

[Camera.Device.NT]
AddReg=     Camera.AddReg, VidCap.AddReg.NT, G2VideoControl.AddReg
CopyFiles=  Camera.CopyDrivers, Camera.CopyKernelDrivers, Camera.CopyTwainSystemFiles, Camera.CopyTwainDriver, Camera.CopyTwainUI, Camera.CopyControls, Camera.Individual, Camera.CopyWinFiles
;Creative
CtUninstall=CtlCam.Uninstall.NT

[SourceDisksNames]
1="%STVNUM% Driver Disk", "%STVNUM%.cab",0 ,

[Camera.CopyTwainSystemFiles]
twunk_16.exe,,,0x20
twunk_32.exe,,,0x20
twain.dll,,,0x20
twain_32.dll,,,0x20

[Camera.CopyControls]
g2video1.ocx

[Camera.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%STVNUM%.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
; Creative Additional Reg Info 
HKR,,FSDName,,wgomnfsd.dll
HKR,,CFGName,,wgomncfg.dll
HKR,,EVTName,,wgomnevt.dll
HKR,,HWCapabilities,,3
HKR,,VfwDeviceDesc,,%VFWDesc%
HKR,,"Camera Name",3,43,72,65,61,74,69,76,65,20,57,65,62,43,61,6d,20,47,6f,20,4d,69,6e,69
HKR,,"Last Image Size",3,64,01,00,00,24,01,00,00
; ** For installation **
HKLM,%RunOnce%,"WebCam Go Mini Install",,"CtDrvIns -filelog -setup usb\vid_041E&pid_4007"
HKLM,%LanguagePath%,"LanguageName",,%LanguageString%
; ** For add/remove programs applet **
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%,"DisplayName",0,%UninstallDisplayString%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%,"UninstallString",0,"%10%\CtDrvIns.exe -filelog -uninstall usb\vid_041E&pid_4007 -plugin Wgomnpin.dll -pluginres Wgomnpin.crl"

[VidCap.AddReg]
; Creative
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"Description",,%VFWDesc%
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"FriendlyName",,%G2DEVICE.DeviceDesc%
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"Driver",,"%STVNUM%sg.drv"
HKR,Drivers,MIGRATED,0,0
HKR,Drivers\msvideo,,0,

[VidCap.AddReg.NT]
; Creative
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"Description",,%VFWDesc%
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"FriendlyName",,%G2DEVICE.DeviceDesc%
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%,"Driver",,"%STVNUM%tg.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers32,"msvideo8",,"%STVNUM%tg.dll"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\Drivers.Desc,"%STVNUM%tg.dll",,%G2DEVICE.DeviceDesc%

[G2VideoControl.AddReg]
HKLM,Software\CLASSES\CLSID\%G2VIDPP_CLSID%,,,"G2Video1 Property Page"
HKLM,Software\CLASSES\CLSID\%G2VIDPP_CLSID%\InprocServer32,,,"%11%\G2VIDEO1.OCX"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%,,,"G2Video1 Control"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\ProgID,,,"G2VIDEO.G2VideoCtrl.1"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\InprocServer32,,,"%11%\G2Video1.ocx"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\InprocServer32,"ThreadingModel",,"Apartment"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\ToolboxBitmap32,,,"%11%\G2Video1.ocx, 1"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\MiscStatus,,,"0"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\MiscStatus\1,,,"131473"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Control,,,
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\TypeLib,,,"%G2VID_CLSID%"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Version,,,"1.0"
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Implemented Categories,,,
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Implemented Categories\{E6E10B20-1139-11d4-A0F7-00A024AD71C2},,,
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Implemented Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502},,,
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Implemented Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502},,,
HKLM,Software\CLASSES\CLSID\%G2VID_CLSID%\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4},,,
HKCR,G2VIDEO.G2VideoCtrl.1,,,"G2Video1 Control"
HKCR,G2VIDEO.G2VideoCtrl.1\CLSID,,,"%G2VID_CLSID%"

[Camera.Ini]
system.ini,drivers,,"msvideo.%STVNUM%=%STVNUM%sg.drv"

[Camera.Device.NT.Services]
AddService = %STVNUM%,0x00000002,Camera.ServiceInstall

[Camera.ServiceInstall]
DisplayName   = %G2DEVICE.DeviceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\%STVNUM%.sys


;                                                ;
; ======= DirectShow specific information =======;
;                                                ;

[Camera.Device.HW]
AddReg=Camera.AddReg.HW

[Camera.Device.Interfaces]
;AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,

Camera.Device.NT.Interfaces]
;AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,

[VideoCapture]
;AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%G2DEVICE.DeviceDesc%
; IAMVideoCompression installed as static interface on both output pins
HKR,PinFactory\0\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}
HKR,PinFactory\1\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}

;------------------ Interfaces ------------------;

; ICustomCameraProp (IID_IG2CameraInterface)
HKCR,CLSID\%G2CUSTOMPROP_IID%,,,%PlugIn_G2CamIF%
HKCR,CLSID\%G2CUSTOMPROP_IID%\InprocServer32,,,testprop.ax
HKCR,CLSID\%G2CUSTOMPROP_IID%\InprocServer32,ThreadingModel,,Both
; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%G2CUSTOMPROP_IID%,,,%PlugIn_G2CamIF%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%G2CUSTOMPROP_IID%,IID,1,42,83,BD,2B,A2,6A, d3,11, 0xA0, 0x76, 0x00, 0xA0, 0x24, 0xAD, 0x71, 0xC2

;---------------- Property Pages ----------------;

; G2 Properties Page (CLSID_CamPropertiesPage)
HKCR,CLSID\%G2PROPPAGE_CLSID%,,,%PropPage_CCamProps%
HKCR,CLSID\%G2PROPPAGE_CLSID%\InprocServer32,,,testprop.ax
HKCR,CLSID\%G2PROPPAGE_CLSID%\InprocServer32,ThreadingModel,,Both

; G2 Statistics Page (CLSID_CamStatisticsPage)
HKCR,CLSID\%G2STATPAGE_CLSID%,,,%PropPage_CCamStats%
HKCR,CLSID\%G2STATPAGE_CLSID%\InprocServer32,,,testprop.ax
HKCR,CLSID\%G2STATPAGE_CLSID%\InprocServer32,ThreadingModel,,Both

;---- Property Pages / Interface Association ----;

; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\%G2CUSTOMPROP_IID%\PropertyPages\%G2PROPPAGE_CLSID%,,,%PropPage_CCamProps%
HKLM,System\CurrentControlSet\Control\MediaSets\%G2CUSTOMPROP_IID%\PropertyPages\%G2STATPAGE_CLSID%,,,%PropPage_CCamStats%



[strings]
Manufacturer         ="Creative Labs"
Mfg                  ="Creative Labs"
TWAIN_FOLDER         ="Creative"
G2VID_CLSID          ="{BEBE43B1-7CFC-11D4-A154-00A024AD71C2}"
G2VIDPP_CLSID        ="{3CE935AC-1117-11D4-A0F7-00A024AD71C2}"

G2STATPAGE_CLSID     ="{4F8243D1-3190-11d4-951B-005004478CB4}"
G2PROPPAGE_CLSID     ="{4F8243D0-3190-11d4-951B-005004478CB4}"
G2CUSTOMPROP_IID     ="{2BBD8342-6AA2-11d3-A076-00A024AD71C2}"
STVNUM               ="STVgmn"
G2DEVICE.DeviceDesc  ="Creative WebCam Go Mini"
; Creative additional string
;;;;VFWDesc              ="Video Blaster WebCam Go Mini (VFW)"
VFWDesc              ="Creative WebCam Go Mini (VFW)"
UninstallString      ="Creative Video Blaster WebCam Go Mini"
UninstallDisplayString="Creative Video Blaster WebCam Go Mini Driver"
RunOnce="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
LanguagePath="Software\Vision\USB Camera (STVgmn)"
;;;;; Select Language Here 
LanguageString="English"
;LanguageString="Français"
;LanguageString="Deutsch"
;LanguageString="Portugês (do Brasil)"
;LanguageString="Español"
;LanguageString="Italiano"
;LanguageString="Nederlands"
;LanguageString="Korean"
;LanguageString="Chinese (Simp.)"
;LanguageString="Chinese (Trad.)"
;LanguageString="Japanese"


[Camera.AddReg.HW]
;HKR,,"UpperFilters",0x00010000,"STVgmnm.sys"

[Creative]
%G2DEVICE.DeviceDesc%=Camera.Device,USB\VID_041E&PID_4007

[Camera.Individual]
stvcol.dll
stvgmnsl.dll

[SourceDisksFiles]
stvgmn.sys=1
;stvgmnm.sys=1
stvgmnu.dll=1
stvgmnsg.drv=1
stvgmntg.dll=1
stvgmnu.cfg=1
stvgmnsl.dll=1
stvcol.dll=1
stvscale.dll=1
twain.dll=1
twain_32.dll=1
twunk_16.exe=1
twunk_32.exe=1
g2video1.ocx=1
;;; Creative files
wgomnfsd.dll=1
wgomncfg.dll=1
wcmisc.dll=1
ctdrvins.exe=1
wgomnpin.dll=1
wgomnpin.crl=1
wgomntwn.ds=1
wgomntwn.crl=1
wgomnevt.dll=1
cttwnui.crl=1
cttwnui.dll=1
ctskin.dll=1
ctspea32.dll=1
ctres32.dll=1
twacker.ini=1
default.src=1

[Camera.CopyKernelDrivers]
stvgmn.sys

[Camera.CopyDrivers]
stvgmnu.dll
stvgmnsg.drv
stvgmntg.dll
stvgmnu.cfg
stvscale.dll
;;; Creative Files
wgomnfsd.dll
wgomncfg.dll
wcmisc.dll
wgomnpin.dll
wgomnpin.crl
wgomnevt.dll

[Camera.CopyTwainDriver]
; Creative
wgomntwn.ds
wgomntwn.crl
[Camera.CopyTwainUI]
cttwnui.crl
cttwnui.dll
ctskin.dll
ctspea32.dll
ctres32.dll

;;;[Camera.IndividualReg]

;;;[Camera.IndividualIni]

;Creative additional files
[Camera.CopyWinFiles]
ctdrvins.exe
twacker.ini
default.src

;
; Special case => no VfW drivers installed
;
[Camera_NoVfW.Device]
AddReg=     Camera.AddReg
CopyFiles=  Camera.CopyDrivers, Camera.CopyKernelDrivers, Camera.CopyTwainSystemFiles, Camera.CopyTwainDriver, Camera.Individual

[Camera_NoVfW.Device.NT]
AddReg=     Camera.AddReg
CopyFiles=  Camera.CopyDrivers, Camera.CopyKernelDrivers, Camera.CopyTwainDriver, Camera.Individual

[Camera_NoVfW.Device.NT.Services]
AddService = %STVNUM%,0x00000002,Camera.ServiceInstall
                                                                  
;----------------------- UNINSTALLATION -------------------------------------

[CtlCam.Uninstall]
DelFiles=Camera.CopyDrivers,Camera.CopyKernelDrivers,Camera.CopyTwainSystemFiles,Camera.CopyTwainDriver,Camera.CopyControls,Camera.Individual
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
ctDelDevClassInst=CtlCam.DelDevClass


[CtlCam.Uninstall.NT]
DelFiles=Camera.CopyDrivers, Camera.CopyKernelDrivers, Camera.CopyTwainSystemFiles, Camera.CopyTwainDriver, Camera.CopyControls, Camera.Individual
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg, G2VideoControl.AddReg

[CtlCam.DelReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallString%
HKLM,Software\Vision\"USB Camera (STVgmn)"

[CtlCam.Service.DelReg]


[CtlCam.Vfw.DelReg]
HKLM,System\CurrentControlSet\control\MediaResources\msvideo\MSVideo.%STVNUM%

[CtlCam.DelRunApp]


[CtlCam.DelDevClass]
{0e960cb0-5b19-4401-a1eb-63c2fcf5c03a},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0
