2 ;--------------------------------
6 !define OURNAME
"Tf4Mono v0.5.1"
8 ; The name of the installer
14 ; The default installation directory
15 InstallDir $PROGRAMFILES\Tf4Mono
17 ;--------------------------------
21 !insertmacro MUI_PAGE_DIRECTORY
22 !insertmacro MUI_PAGE_INSTFILES
24 !insertmacro MUI_UNPAGE_CONFIRM
25 !insertmacro MUI_UNPAGE_INSTFILES
27 ;--------------------------------
29 !insertmacro MUI_LANGUAGE
"English"
31 ; The stuff to install
32 Section "" ;No components page, name is not important
34 ; Set output path to the installation directory.
38 File class\lib\net_2_0\Microsoft
.TeamFoundation
.Client
.dll
39 File class\lib\net_2_0\Microsoft
.TeamFoundation
.Common
.dll
40 File class\lib\net_2_0\Microsoft
.TeamFoundation
.dll
41 File class\lib\net_2_0\Microsoft
.TeamFoundation
.VersionControl
.Client
.dll
42 File class\lib\net_2_0\Microsoft
.TeamFoundation
.VersionControl
.Common
.dll
45 ; not sure of a good way to do this yet...
46 File C:\Mono
-1.2.4\lib\mono\
2.0\Mono
.GetOptions
.dll
48 WriteUninstaller "$INSTDIR\Uninstall.exe"
50 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tf4Mono" "DisplayName" "Tf4Mono (remove only)"
51 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tf4Mono" "UninstallString" "$INSTDIR\Uninstall.exe"
53 SectionEnd ; end the section
57 Delete "$INSTDIR\Microsoft.TeamFoundation.Client.dll"
58 Delete "$INSTDIR\Microsoft.TeamFoundation.Common.dll"
59 Delete "$INSTDIR\Microsoft.TeamFoundation.dll"
60 Delete "$INSTDIR\Microsoft.TeamFoundation.VersionControl.Client.dll"
61 Delete "$INSTDIR\Microsoft.TeamFoundation.VersionControl.Common.dll"
62 Delete "$INSTDIR\tf.exe"
63 Delete "$INSTDIR\Uninstall.exe"
64 Delete "$INSTDIR\Mono.GetOptions.dll"
67 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Tf4Mono"
68 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tf4Mono"