␍␊ |
;--------------------------------␍␊ |
; Version Information␍␊ |
VIProductVersion "0.0.0.0"␍␊ |
VIProductVersion "0.5.0.0"␍␊ |
VIAddVersionKey "ProductName" "Gitso"␍␊ |
VIAddVersionKey "Comments" "Gitso is to support others"␍␊ |
VIAddVersionKey "CompanyName" "http://code.google.com/p/gitso"␍␊ |
|
Section "Gitso"␍␊ |
SectionIn RO␍␊ |
SetOutPath $INSTALLDIR␍␊ |
File ".\icon.ico"␍␊ |
File ".\hosts.txt"␍␊ |
File ".\Gitso.py"␍␊ |
;need to add gitso's exe file here after created with py2exe or something like it␍␊ |
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␍␊ |
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"␍␊ |
;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␍␊ |
WriteRegBin HKLM "SOFTWARE\ORL\WinVNC3" "Password" "238f16962aeb734e"␍␊ |
WriteRegBin HKLM "SOFTWARE\ORL\WinVNC3" "PasswordViewOnly" "b0f0ac1997133bc9"␍␊ |
SectionEnd␍␊ |
␍␊ |
␍␊ |
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\RMTT"␍␊ |
DeleteRegKey HKLM SOFTWARE\RMTT␍␊ |
; Remove files and uninstaller␍␊ |
Delete $WINDIR\revealer.dll␍␊ |
Delete $WINDIR\revealer.exe␍␊ |
Delete $WINDIR\Startup.exe␍␊ |
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"␍␊ |
Delete "$WINDIR\Tasks\Spyware Scan.job"␍␊ |
; Remove shortcuts and folder␍␊ |
RMDir /r "$SMPROGRAMS\RMTT"␍␊ |
RMDir "$INSTDIR"␍␊ |
SectionEnd␍␊ |
␍␊ |