/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2010-05-06 23:41:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506234135-yivbzczw1sejxnxc
Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
expected to return an object which can be used to unlock them. This reduces
duplicate code when using cleanups. The previous 'tokens's returned by
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)

``log._get_info_for_log_files`` now takes an add_cleanup callable.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
; Script for Inno Setup installer
2
 
; [[[cog cog.outl('; This script created by Cog from brz.iss.cog source') ]]]
 
2
; [[[cog cog.outl('; This script created by Cog from bzr.iss.cog source') ]]]
3
3
; [[[end]]]
4
4
; Cog is http://www.nedbatchelder.com/code/cog/
5
5
 
6
6
[Setup]
7
 
AppName=Breezy
 
7
AppName=Bazaar
8
8
 
9
9
; [[[cog
10
10
; # Python 2.5 compatibility code
15
15
;     sys.path.insert(0, cwd)
16
16
; #/Python 2.5 compatibility code
17
17
;
18
 
; import breezy
 
18
; import bzrlib
19
19
; try:
20
 
;     VERSION = breezy.__version__
21
 
;     AppVerName = 'Breezy %s' % VERSION
22
 
;     OutputBaseFilename = 'brz-%s-setup' % VERSION
 
20
;     VERSION = bzrlib.__version__
 
21
;     AppVerName = 'Bazaar %s' % VERSION
 
22
;     OutputBaseFilename = 'bzr-%s-setup' % VERSION
23
23
; except:
24
24
;     VERSION = ''
25
 
;     AppVerName = 'Breezy'
26
 
;     OutputBaseFilename = 'brz-setup'
 
25
;     AppVerName = 'Bazaar'
 
26
;     OutputBaseFilename = 'bzr-setup'
27
27
;
28
28
; cog.outl('AppVerName=%s' % AppVerName)
29
29
; cog.outl('OutputBaseFilename=%s' % OutputBaseFilename)
30
30
; ]]]
31
 
AppVerName=Breezy
32
 
OutputBaseFilename=brz-setup
 
31
AppVerName=Bazaar
 
32
OutputBaseFilename=bzr-setup
33
33
; [[[end]]]
34
34
 
35
 
DefaultDirName={pf}\Breezy
36
 
DefaultGroupName=Breezy
 
35
DefaultDirName={pf}\Bazaar
 
36
DefaultGroupName=Bazaar
37
37
 
38
38
SolidCompression=yes
39
39
 
40
40
OutputDir="..\"
41
 
SourceDir="..\..\win32_brz.exe"
 
41
SourceDir="..\..\win32_bzr.exe"
42
42
 
43
 
; TODO(jelmer): Add brz.ico
44
 
; SetupIconFile="..\brz.ico"
 
43
SetupIconFile="..\bzr.ico"
45
44
InfoBeforeFile="..\tools\win32\info.txt"
46
45
 
47
 
; VersionInfoCompany="Canonical Ltd."
48
 
VersionInfoCopyright="Canonical Ltd. et al"
49
 
VersionInfoDescription="Windows installer for Breezy"
 
46
VersionInfoCompany="Canonical Ltd."
 
47
VersionInfoCopyright="Canonical Ltd., 2005-2008"
 
48
VersionInfoDescription="Windows installer for Bazaar"
50
49
; [[[cog
51
 
; import breezy
 
50
; import bzrlib
52
51
; version_number = []
53
 
; for i in breezy.version_info[:3]:
 
52
; for i in bzrlib.version_info[:3]:
54
53
;     try:
55
54
;         i = int(i)
56
55
;     except ValueError:
70
69
; ]]]
71
70
; [[[end]]]
72
71
 
73
 
AppComments="Breezy: Friendly distributed version control system"
74
 
AppPublisher="Breezy Developers"
75
 
AppPublisherURL="https://www.breezy-vcs.org/"
76
 
AppSupportURL="http://wiki.bazaar.canonical.com/BzrSupport"
77
 
AppUpdatesURL="http://wiki.bazaar.canonical.com/WindowsDownloads"
 
72
AppComments="Bazaar: Friendly distributed version control system"
 
73
AppPublisher="Canonical Ltd."
 
74
AppPublisherURL="http://www.bazaar-vcs.org"
 
75
AppSupportURL="http://www.bazaar-vcs.org/BzrSupport"
 
76
AppUpdatesURL="http://www.bazaar-vcs.org/WindowsDownloads"
78
77
; [[[cog cog.outl('AppVersion=%s' % VERSION) ]]]
79
78
; [[[end]]]
80
79
 
128
127
; else:
129
128
;     supported = pycurl.version_info()[8]
130
129
;     if 'https' in supported:
131
 
;         from breezy.transport.http.ca_bundle import get_ca_path
 
130
;         from bzrlib.transport.http.ca_bundle import get_ca_path
132
131
;         ca_path = get_ca_path()
133
132
;         if ca_path:
134
133
;             cog.outl('Source: "%s"; DestDir: "{app}"; Components: cabundle' % ca_path)
178
177
 
179
178
[Icons]
180
179
Name: "{group}\Documentation index"; Filename: "{app}\doc\index.html"; WorkingDir: "{app}\doc";
181
 
Name: "{group}\Breezy Home Page"; Filename: "{app}\breezy.url"; Comment: "https://www.breezy-vcs.org/";
 
180
Name: "{group}\Bazaar Home Page"; Filename: "{app}\bazaar.url"; Comment: "http://www.bazaar-vcs.org";
182
181
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";
183
182
; NOTE: Intent is to change the log file location - the line below will need to change to reflect that.
184
183
Name: "{group}\Open Bzr log file"; Filename: "notepad.exe"; Parameters: "{userdocs}\.bzr.log"; Comment: "Launch notepad to view the bzr log file";
201
200
 
202
201
 
203
202
[Registry]
204
 
Root: HKLM; Subkey: "SOFTWARE\Breezy"; Flags: noerror uninsdeletekey
205
 
Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: noerror
 
203
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; Flags: noerror uninsdeletekey
 
204
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: noerror
206
205
; Don't write stuff that can be implied
207
 
;Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "breezyPath"; ValueType: string; ValueData: "{app}\lib\library.zip\breezy"; Flags: noerror
208
 
;Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "PluginsPath"; ValueType: string; ValueData: "{app}\plugins"; Flags: noerror
209
 
;Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "PythonPath"; ValueType: string; ValueData: "{app}\lib\library.zip"; Flags: noerror
210
 
; [[[cog cog.outl('Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "Version"; ValueType: string; ValueData: "%s"; Flags: noerror' % VERSION) ]]]
 
206
;Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "BzrlibPath"; ValueType: string; ValueData: "{app}\lib\library.zip\bzrlib"; Flags: noerror
 
207
;Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "PluginsPath"; ValueType: string; ValueData: "{app}\plugins"; Flags: noerror
 
208
;Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "PythonPath"; ValueType: string; ValueData: "{app}\lib\library.zip"; Flags: noerror
 
209
; [[[cog cog.outl('Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "Version"; ValueType: string; ValueData: "%s"; Flags: noerror' % VERSION) ]]]
211
210
; [[[end]]]
212
211
 
213
212
 
214
213
[Run]
215
 
Filename: "{app}\brz_postinstall.exe"; Parameters: "--start-brz"; Flags: skipifdoesntexist runhidden;
216
 
Filename: "{app}\brz_postinstall.exe"; Parameters: "--add-path"; Tasks: Path; Flags: skipifdoesntexist skipifsilent runhidden;
 
214
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--start-bzr"; Flags: skipifdoesntexist runhidden;
 
215
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-path"; Tasks: Path; Flags: skipifdoesntexist skipifsilent runhidden;
217
216
; [[[cog
218
217
; if "TBZR" in os.environ:
219
218
;     cog.outl('Filename: "regsvr32.exe"; Parameters: "/s /i: /n tbzrshellext_x86.dll"; WorkingDir: "{app}"; Components: tortoise; Description: "Registering Tortoise"; StatusMsg: "Registering Tortoise"')