Changeset 47 for remote_control
- Timestamp:
- 06/11/10 11:43:53 (12 years ago)
- Location:
- remote_control
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remote_control/PuzzleboxBrainstorms-install.nsi
r46 r47 14 14 ; SetDateSave off ; (can be on to have files restored to their orginal date) 15 15 16 ;LicenseText "You must agree to this license before installing."17 ;LicenseData "license.txt"16 LicenseText "You must agree to this license before installing." 17 LicenseData "license.txt" 18 18 19 19 InstallDir "$PROGRAMFILES\Puzzlebox Brainstorms" 20 InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox \Puzzlebox Brainstorms" ""20 InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "" 21 21 ;DirShow show ; (make this hide to not let the user change it) 22 DirText "Select the directory to install thePuzzlebox Brainstorms into:"22 DirText "Select the directory to install Puzzlebox Brainstorms into:" 23 23 24 24 InstallColors /windows … … 27 27 SetOutPath "$INSTDIR" 28 28 ; add files / whatever that need to be installed here. 29 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox \Puzzlebox Brainstorms" "" "$INSTDIR"30 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox \Puzzlebox Brainstorms" "DisplayName" "Puzzlebox Brainstorms (remove only)"31 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox \Puzzlebox Brainstorms" "UninstallString" '"$INSTDIR\PuzzlesboxBrainstorms-Uninstall.exe"'29 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "" "$INSTDIR" 30 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "DisplayName" "Puzzlebox Brainstorms (remove only)" 31 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "UninstallString" '"$INSTDIR\PuzzlesboxBrainstorms-Uninstall.exe"' 32 32 33 33 File dist\bz2.pyd … … 42 42 File dist\libvorbis-0.dll 43 43 File dist\libvorbisfile-3.dll 44 File dist\MSVCR71.dll44 ; File dist\MSVCR71.dll 45 45 File dist\puzzlebox_brainstorms_client_local.exe 46 46 File dist\puzzlebox_brainstorms_client_network.exe … … 112 112 ; File dist\fonts\tahoma.ttf 113 113 114 File package\vcredist_x86.exe 115 116 ExecWait 'package\Vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log"' 117 114 118 115 119 ; write out uninstaller … … 123 127 SetOutPath $INSTDIR 124 128 CreateDirectory "$SMPROGRAMS\Puzzlebox Brainstorms" 125 CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Uninstall Puzzlebox Brainstorms.lnk" \126 "$INSTDIR\PuzzleboxBrainstorms-Uninstall.exe"127 129 CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms.lnk" \ 128 130 "$INSTDIR\puzzlebox_brainstorms_client_local.exe" \ … … 134 136 "$INSTDIR\puzzlebox_brainstorms_server.exe" \ 135 137 "" "" "0" "SW_SHOWMINIMIZED" 138 CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Edit Puzzlebox Brainstorms Configuration.lnk" \ 139 "$INSTDIR\puzzlebox_brainstorms_configuration.ini" \ 140 "" "" "0" "" 141 CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Uninstall Puzzlebox Brainstorms.lnk" \ 142 "$INSTDIR\PuzzleboxBrainstorms-Uninstall.exe" 136 143 CreateShortCut "$DESKTOP\Puzzlebox Brainstorms.lnk" "$INSTDIR\puzzlebox_brainstorms_client_local.exe" \ 137 144 "" "" "0" "SW_SHOWMINIMIZED" … … 144 151 Section Uninstall 145 152 ; add delete commands to delete whatever files/registry keys/etc you installed here. 146 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms.lnk" 147 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms Network Client.lnk" 148 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms Network Server.lnk" 149 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Uninstall Puzzlebox Brainstorms.lnk" 150 RMDir "$SMPROGRAMS\Puzzlebox Brainstorms" 151 Delete "$DESKTOP\Puzzlebox Brainstorms.lnk" 153 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms.lnk" 154 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms Network Client.lnk" 155 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms Network Server.lnk" 156 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Edit Puzzlebox Brainstorms Configuration.lnk" 157 Delete "$SMPROGRAMS\Puzzlebox Brainstorms\Uninstall Puzzlebox Brainstorms.lnk" 158 RMDir "$SMPROGRAMS\Puzzlebox Brainstorms" 159 Delete "$DESKTOP\Puzzlebox Brainstorms.lnk" 152 160 153 161 … … 237 245 238 246 Delete "$INSTDIR\PuzzleboxBrainstorms-Uninstall.exe" 239 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox \Puzzlebox Brainstorms"247 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" 240 248 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms" 241 249 RMDir "$INSTDIR"
Note: See TracChangeset
for help on using the changeset viewer.