tmixinstall.nsi - mixmaster - mixmaster 3.0 patched for libressl
HTML git clone git://parazyd.org/mixmaster.git
DIR Log
DIR Files
DIR Refs
DIR README
---
tmixinstall.nsi (2244B)
---
1 Name "Mixmaster"
2
3 OutFile "Mixmaster-Setup.exe"
4
5 InstallDir $PROGRAMFILES\Mixmaster
6
7 ; Registry key to check for directory (so if you install again, it will
8 ; overwrite the old one automatically)
9 InstallDirRegKey HKLM "Software\Mixmaster" "Install_Dir"
10
11 ;--------------------------------
12
13 ; Pages
14
15 Page components
16 Page directory
17 Page instfiles
18
19 UninstPage uninstConfirm
20 UninstPage instfiles
21
22 ;--------------------------------
23
24 Section "Mixmaster"
25 SectionIn RO
26 SetOutPath $INSTDIR
27 File "..\release\mix.exe"
28 File "..\release\mixlib.dll"
29 File "..\..\Src\openssl\out32dll\libeay32.dll"
30 File "c:\winnt\system32\msvcr71.dll"
31
32 WriteRegStr HKLM SOFTWARE\Mixmaster "Install_Dir" "$INSTDIR"
33
34 ; Write the uninstall keys for Windows
35 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Mixmaster" "DisplayName" "Mixmaster"
36 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Mixmaster" "UninstallString" '"$INSTDIR\uninstall.exe"'
37 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Mixmaster" "NoModify" 1
38 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Mixmaster" "NoRepair" 1
39 WriteUninstaller "uninstall.exe"
40 SectionEnd
41
42 Section "Start Menu Shortcuts (All Users)"
43 SetShellVarContext all
44 CreateDirectory "$SMPROGRAMS\Mixmaster"
45 CreateShortCut "$SMPROGRAMS\Mixmaster\Mixmaster.lnk" "$INSTDIR\mix.exe" "" "$INSTDIR\mix.exe" 0
46 CreateShortCut "$SMPROGRAMS\Mixmaster\Uninstall Mixmaster.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
47 SectionEnd
48
49 Section "Create Desktop Item (All Users)"
50 SetShellVarContext all
51 CreateShortCut "$DESKTOP\Mixmaster.lnk" "$INSTDIR\mix.exe" "" "$INSTDIR\mix.exe" 0
52 SectionEnd
53
54 Section "Uninstall"
55 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Mixmaster"
56 DeleteRegKey HKLM SOFTWARE\Mixmaster
57
58 Delete $INSTDIR\mix.exe
59 Delete $INSTDIR\mixlib.dll
60 Delete $INSTDIR\libeay32.dll
61 Delete $INSTDIR\msvcr71.dll
62 Delete $INSTDIR\uninstall.exe
63
64 SetShellVarContext all
65 Delete "$SMPROGRAMS\Mixmaster\*.*"
66 RMDir "$SMPROGRAMS\Mixmaster"
67 Delete "$DESKTOP\Mixmaster.lnk"
68
69 RMDir "$INSTDIR"
70 SectionEnd