gitso

gitso Commit Details


Date:2008-08-16 21:24:46 (16 years 4 months ago)
Author:xburnerx
Branch:master
Commit:256d4508840100526ce206f0d2a1ab47592aab90
Parents: dceee17be242277d82690357660a71f0a742ff39
Message:windows installer fixes

Changes:

File differences

gitso/trunk/makegitso.nsi
3939
4040
4141
42
42
43
44
45
46
47
48
49
50
4351
4452
4553
......
6270
6371
6472
65
66
73
74
75
76
77
78
6779
6880
6981
7082
71
83
7284
7385
7486
......
8193
8294
8395
84
85
96
97
8698
8799
88100
89101
90
91
92
93
94102
95
96
103
104
97105
Section "Gitso"
SectionIn RO
SetOutPath $INSTALLDIR
SetOutPath $INSTALLDIR
; Write the installation path into the registry
; Write the uninstall keys for Windows
WriteRegStr HKLM SOFTWARE\RMTT "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT" "DisplayName" "RMTT"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT" "NoRepair" 1
WriteUninstaller "uninstall.exe"
File ".\dist\Gitso.exe"
File ".\dist\bz2.pyd"
File ".\dist\icon.ico"
SetOutPath $WINDIR
File ".\arch\win32\vncviewer.exe"
File ".\arch\win32\WinVNC.exe"
File ".\arch\win32\VNCHooks.dll"
CreateShortCut "$INSTDIR\gitso.exe" "$INSTDIR\gitso.exe" "" "$INSTDIR\gitso.exe" 0
File ".\arch\win32\VNCHooks.dll"
;start menu items
CreateDirectory "$SMPROGRAMS\Gitso"
CreateShortCut "$SMPROGRAMS\Gitso\Gitso.lnk" "$INSTDIR\gitso.exe" "" "$INSTDIR\gitso.exe" 0
CreateShortCut "$SMPROGRAMS\Gitso\Gitso.lnk" "$INSTDIR\Gitso.exe" "" "$INSTDIR\Gitso.exe" 0
;Registry tweaks to TightVNC's server
WriteRegDWORD HKCU "Software\ORL\WinVNC3" "RemoveWallpaper" 1
WriteRegDWORD HKCU "Software\ORL\WinVNC3" "EnableFileTransfers" 1
;set default password to something so WinVNC.exe doesn't complain about having no password
WriteRegBin HKCU "SOFTWARE\ORL\WinVNC3" "Password" "238f16962aeb734e"
WriteRegBin HKCU "SOFTWARE\ORL\WinVNC3" "PasswordViewOnly" "b0f0ac1997133bc9"
WriteRegBin HKCU "SOFTWARE\ORL\WinVNC3" "PasswordViewOnly" "238f16962aeb734e"
;Try to set it for all users, but I'm not positive this works
WriteRegDWORD HKLM "Software\ORL\WinVNC3" "RemoveWallpaper" 1
WriteRegDWORD HKLM "Software\ORL\WinVNC3" "EnableFileTransfers" 1
;------------------------------------------------------
Section "Uninstall"
; Remove registry keys
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT"
DeleteRegKey HKLM SOFTWARE\RMTT
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gitso"
DeleteRegKey HKLM SOFTWARE\Gitso
; Remove files and uninstaller
Delete $WINDIR\vncviewer.exe
Delete $WINDIR\VNCHooks.dll
Delete $WINDIR\WinVNC.exe
Delete $INSTDIR\gitso.exe
RMDir /r $INSTDIR
Delete $INSTDIR\uninstall.exe
Delete "$DESKTOP\RMTT.lnk"
; Remove shortcuts and folder
RMDir /r "$SMPROGRAMS\RMTT"
RMDir "$INSTDIR"
RMDir /r "$SMPROGRAMS\Gitso"
RMDir /r $INSTDIR
SectionEnd

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06182s using 13 queries.