~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/bzr.iss.cog

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-17 07:52:09 UTC
  • mfrom: (1910.3.4 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20060817075209-e85a1f9e05ff8b87
(andrew) Trivial fixes to NotImplemented errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
AppName=Bazaar
8
8
 
9
9
; [[[cog
10
 
; # Python 2.5 compatibility code
11
 
; import os
12
 
; import sys
13
 
; cwd = os.getcwd()
14
 
; if cwd not in sys.path:
15
 
;     sys.path.insert(0, cwd)
16
 
; #/Python 2.5 compatibility code
17
 
;
18
10
; import bzrlib
19
11
; try: 
20
12
;     VERSION = bzrlib.__version__
41
33
SourceDir="..\..\win32_bzr.exe"
42
34
 
43
35
SetupIconFile="..\bzr.ico"
44
 
InfoBeforeFile="..\tools\win32\info.txt"
45
 
InfoAfterFile="..\tools\win32\survey.txt"
 
36
LicenseFile="..\COPYING.txt"
46
37
 
47
38
VersionInfoCompany="Canonical Ltd."
48
 
VersionInfoCopyright="Canonical Ltd., 2005-2007"
 
39
VersionInfoCopyright="Canonical Ltd., 2005-2006"
49
40
VersionInfoDescription="Installer for stand-alone bzr.exe"
50
41
; [[[cog
51
42
; import bzrlib
79
70
; [[[end]]]
80
71
 
81
72
ChangesEnvironment=yes
82
 
PrivilegesRequired=none
83
 
 
84
73
 
85
74
[Files]
86
75
Source: "*.*"; DestDir: "{app}"; Flags: ignoreversion;
87
76
Source: "lib\*.*"; DestDir: "{app}\lib"; Flags: createallsubdirs ignoreversion recursesubdirs;
88
77
Source: "doc\*.*"; DestDir: "{app}\doc"; Flags: createallsubdirs ignoreversion recursesubdirs;
89
 
; [[[cog
90
 
; try:
91
 
;     import pycurl
92
 
; except ImportError:
93
 
;     ca_path = None
94
 
; else:
95
 
;     supported = pycurl.version_info()[8]
96
 
;     if 'https' in supported:
97
 
;         from bzrlib.transport.http.ca_bundle import get_ca_path
98
 
;         ca_path = get_ca_path()
99
 
;         if ca_path:
100
 
;             cog.outl('Source: "%s"; DestDir: "{app}"; Components: cabundle' % ca_path)
101
 
;         else:
102
 
;             cog.msg('You have pycurl with SSL support, '
103
 
;                     'but CA Bundle (curl-ca-bundle.crt) not found!')
104
 
; ]]]
105
 
; [[[end]]]
106
 
 
107
 
 
108
 
[Components]
109
 
Name: "main"; Description: "Main Files"; Types: full compact custom; Flags: fixed
110
 
; [[[cog
111
 
; if ca_path:
112
 
;     cog.outl('Name: "cabundle"; '
113
 
;              'Description: "CA certificates for SSL support"; '
114
 
;              'Types: full custom')
115
 
; ]]]
116
 
; [[[end]]]
117
 
 
118
78
 
119
79
[Dirs]
120
80
Name: "{userappdata}\bazaar\2.0"
121
81
 
122
 
 
123
82
[Icons]
124
 
Name: "{group}\Documentation index"; Filename: "{app}\doc\index.html"; WorkingDir: "{app}\doc";
 
83
Name: "{group}\Documentation index"; Filename: "{app}\doc\index.htm"; WorkingDir: "{app}\doc";
125
84
Name: "{group}\Bazaar Home Page"; Filename: "{app}\bazaar.url"; Comment: "http://www.bazaar-vcs.org";
126
 
Name: "{group}\Start Bzr in cmd shell"; Filename: "{cmd}"; Parameters: "/K start_bzr.bat"; WorkingDir: "{app}"; IconFilename: "{app}\bzr.exe"; Comment: "Open new Bzr session";
127
 
Name: "{group}\Uninstall Bazaar"; Filename: "{uninstallexe}"; IconFileName: "{sys}\shell32.dll"; IconIndex: 101; Comment: "Remove Bzr completely";
128
 
 
 
85
Name: "{group}\Start Bzr in cmd shell"; Filename: "{sys}\cmd.exe"; Parameters: "/K start_bzr.bat"; WorkingDir: "{app}"; IconFilename: "{app}\bzr.exe"; Comment: "Open new Bzr session";
 
86
Name: "{group}\Uninstall Bzr"; Filename: "{uninstallexe}"; IconFileName: "{sys}\shell32.dll"; IconIndex: 101; Comment: "Remove Bzr completely";
129
87
 
130
88
[Tasks]
131
89
Name: Path; Description: "Add {app} directory to PATH environment variable";
132
 
Name: Shell; Description: "Add Bzr context menu to shell"; Flags: unchecked
133
 
 
 
90
Name: Shell; Description: "Add Bzr context menu to shell";
134
91
 
135
92
[Run]
136
93
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--start-bzr"; Flags: skipifdoesntexist runhidden;
137
 
; [[[cog
138
 
; import os
139
 
; if os.path.isfile('win32_bzr.exe/lib/win32ui.pyd'):   # pywin32 mfc wrapper
140
 
;     cog.outl('Filename: "{app}\bzr_postinstall.exe"; '
141
 
;              'Parameters: "--check-mfc71"; '
142
 
;              'Flags: skipifdoesntexist skipifsilent runhidden;')
143
 
; ]]]
144
 
; [[[end]]]
 
94
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--check-mfc71"; Flags: skipifdoesntexist skipifsilent runhidden;
145
95
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-path"; Tasks: Path; Flags: skipifdoesntexist skipifsilent runhidden;
146
96
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-shell-menu"; Tasks: Shell; Flags: skipifdoesntexist skipifsilent runhidden;
147
97
 
148
 
 
149
98
[UninstallRun]
150
99
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--delete-path --delete-shell-menu --silent"; Flags: skipifdoesntexist runhidden;