Ignore:
Timestamp:
06/11/10 11:43:53 (11 years ago)
Author:
sc
Message:

license.txt:

  • initial checkin
  • GNU GPL v2

package/vcredist_x86.exe:

  • initial checkin
  • Microsoft Visual C++ 2005 Redistributable Package (x86)

install.nsi:

  • automatically and silently installs MS VC++ package
  • final 0.1.2 release version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/PuzzleboxBrainstorms-install.nsi

    r46 r47  
    1414; SetDateSave off ; (can be on to have files restored to their orginal date) 
    1515 
    16 ;LicenseText "You must agree to this license before installing." 
    17 ;LicenseData "license.txt" 
     16LicenseText "You must agree to this license before installing." 
     17LicenseData "license.txt" 
    1818 
    1919InstallDir "$PROGRAMFILES\Puzzlebox Brainstorms" 
    20 InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox\Puzzlebox Brainstorms" "" 
     20InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "" 
    2121;DirShow show ; (make this hide to not let the user change it) 
    22 DirText "Select the directory to install the Puzzlebox Brainstorms into:" 
     22DirText "Select the directory to install Puzzlebox Brainstorms into:" 
    2323 
    2424InstallColors /windows 
     
    2727SetOutPath "$INSTDIR" 
    2828; 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"' 
     29WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "" "$INSTDIR" 
     30WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "DisplayName" "Puzzlebox Brainstorms (remove only)" 
     31WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms\Puzzlebox Brainstorms" "UninstallString" '"$INSTDIR\PuzzlesboxBrainstorms-Uninstall.exe"' 
    3232       
    3333 File dist\bz2.pyd 
     
    4242 File dist\libvorbis-0.dll 
    4343 File dist\libvorbisfile-3.dll 
    44  File dist\MSVCR71.dll 
     44; File dist\MSVCR71.dll 
    4545 File dist\puzzlebox_brainstorms_client_local.exe 
    4646 File dist\puzzlebox_brainstorms_client_network.exe 
     
    112112; File dist\fonts\tahoma.ttf 
    113113 
     114 File package\vcredist_x86.exe 
     115 
     116ExecWait 'package\Vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log"' 
     117 
    114118 
    115119; write out uninstaller 
     
    123127  SetOutPath $INSTDIR 
    124128  CreateDirectory "$SMPROGRAMS\Puzzlebox Brainstorms" 
    125   CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Uninstall Puzzlebox Brainstorms.lnk" \ 
    126                  "$INSTDIR\PuzzleboxBrainstorms-Uninstall.exe" 
    127129  CreateShortCut "$SMPROGRAMS\Puzzlebox Brainstorms\Puzzlebox Brainstorms.lnk" \ 
    128130                 "$INSTDIR\puzzlebox_brainstorms_client_local.exe" \ 
     
    134136                 "$INSTDIR\puzzlebox_brainstorms_server.exe" \ 
    135137                 ""  ""  "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" 
    136143  CreateShortCut "$DESKTOP\Puzzlebox Brainstorms.lnk" "$INSTDIR\puzzlebox_brainstorms_client_local.exe" \ 
    137144                  ""  ""  "0"  "SW_SHOWMINIMIZED" 
     
    144151Section Uninstall 
    145152; 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" 
    152160 
    153161 
     
    237245 
    238246Delete "$INSTDIR\PuzzleboxBrainstorms-Uninstall.exe" 
    239 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox\Puzzlebox Brainstorms" 
     247DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Puzzlebox Brainstorms\Puzzlebox Brainstorms" 
    240248DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Puzzlebox Brainstorms" 
    241249RMDir "$INSTDIR" 
Note: See TracChangeset for help on using the changeset viewer.