Correct one other leaked change that broke encoding (damn some of this
[xiph/unicode.git] / oggds / ogg.nsi
blob1201cc392afaf95fcf9bedd4484b66cdf6e9807c
1 ; The name of the installer
2 Name "Ogg Vorbis DirectShow filter collection"
4 ; The file to write
5 OutFile "OggDS.exe"
7 ;License page
8 LicenseText "This installer will install the Ogg Vorbis DirectShow filter collection. Please read the license below."
9 LicenseData license.txt
11 ; hide the "show details" box
12 ShowInstDetails show
14 SetOverwrite ifnewer
16 ; The stuff to install
17 Section "ThisNameIsIgnoredSoWhyBother?"
18 SetOutPath $SYSDIR
20 ; File to extract
21 File "C:\WINDOWS\SYSTEM32\msvcr70.DLL"
22 File "release\ogg.DLL"
23 File "release\vorbis.DLL"
24 File "release\vorbisenc.DLL"
25 File "release\OggDS.DLL"
26 Exec "regsvr32 $SYSDIR\OggDS.DLL /s"
27 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OggDS" "DisplayName" "Direct Show Ogg Vorbis Filter (remove only)"
28 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OggDS" "UninstallString" '"$SYSDIR\OggDSuninst.exe"'
29 SectionEnd
31 UninstallText "This will uninstall Direct Show Ogg Vorbis Filter."
32 UninstallExeName "$SYSDIR\OggDSuninst.exe"
34 Section "Uninstall"
35 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OggDS"
36 Exec "regsvr32 /u /s $SYSDIR\OggDS.DLL"
37 Delete $SYSDIR\OggDS.DLL
38 Delete $SYSDIR\OggDSUninst.exe
39 SectionEnd
41 ; eof