~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to source/vcpp/cube.nsi

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name "Cube"
 
2
 
 
3
OutFile "cube_2005_08_22_setup.exe"
 
4
 
 
5
InstallDir $PROGRAMFILES\Cube
 
6
 
 
7
InstallDirRegKey HKLM "Software\Cube" "Install_Dir"
 
8
 
 
9
SetCompressor /SOLID lzma
 
10
XPStyle on
 
11
 
 
12
Page components
 
13
Page directory
 
14
Page instfiles
 
15
 
 
16
UninstPage uninstConfirm
 
17
UninstPage instfiles
 
18
 
 
19
Section "Cube (required)"
 
20
 
 
21
  SectionIn RO
 
22
  
 
23
  SetOutPath $INSTDIR
 
24
  
 
25
  File /r "..\cube\*.*"
 
26
  
 
27
  WriteRegStr HKLM SOFTWARE\Cube "Install_Dir" "$INSTDIR"
 
28
  
 
29
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "DisplayName" "Cube"
 
30
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "UninstallString" '"$INSTDIR\uninstall.exe"'
 
31
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "NoModify" 1
 
32
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "NoRepair" 1
 
33
  WriteUninstaller "uninstall.exe"
 
34
  
 
35
SectionEnd
 
36
 
 
37
Section "Start Menu Shortcuts"
 
38
 
 
39
  CreateDirectory "$SMPROGRAMS\Cube"
 
40
  CreateShortCut "$SMPROGRAMS\Cube\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
 
41
  CreateShortCut "$SMPROGRAMS\Cube\Cube.lnk"      "$INSTDIR\cube.bat"      "" "$INSTDIR\cube.bat" 0
 
42
  CreateShortCut "$SMPROGRAMS\Cube\README.lnk"    "$INSTDIR\README.html"   "" "$INSTDIR\README.html" 0
 
43
SectionEnd
 
44
 
 
45
Section "Uninstall"
 
46
  
 
47
  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube"
 
48
  DeleteRegKey HKLM SOFTWARE\Cube
 
49
 
 
50
  RMDir /r "$SMPROGRAMS\Cube"
 
51
  RMDir /r "$INSTDIR"
 
52
 
 
53
SectionEnd