/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/brz.iss.cog

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

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 bzr.iss.cog source') ]]]
 
2
; [[[cog cog.outl('; This script created by Cog from brz.iss.cog source') ]]]
3
3
; [[[end]]]
4
4
; Cog is http://www.nedbatchelder.com/code/cog/
5
5
 
6
6
[Setup]
7
 
AppName=Bazaar
 
7
AppName=Breezy
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 bzrlib
 
18
; import breezy
19
19
; try:
20
 
;     VERSION = bzrlib.__version__
21
 
;     AppVerName = 'Bazaar %s' % VERSION
22
 
;     OutputBaseFilename = 'bzr-%s-setup' % VERSION
 
20
;     VERSION = breezy.__version__
 
21
;     AppVerName = 'Breezy %s' % VERSION
 
22
;     OutputBaseFilename = 'brz-%s-setup' % VERSION
23
23
; except:
24
24
;     VERSION = ''
25
 
;     AppVerName = 'Bazaar'
26
 
;     OutputBaseFilename = 'bzr-setup'
 
25
;     AppVerName = 'Breezy'
 
26
;     OutputBaseFilename = 'brz-setup'
27
27
;
28
28
; cog.outl('AppVerName=%s' % AppVerName)
29
29
; cog.outl('OutputBaseFilename=%s' % OutputBaseFilename)
30
30
; ]]]
31
 
AppVerName=Bazaar
32
 
OutputBaseFilename=bzr-setup
 
31
AppVerName=Breezy
 
32
OutputBaseFilename=brz-setup
33
33
; [[[end]]]
34
34
 
35
 
DefaultDirName={pf}\Bazaar
36
 
DefaultGroupName=Bazaar
 
35
DefaultDirName={pf}\Breezy
 
36
DefaultGroupName=Breezy
37
37
 
38
38
SolidCompression=yes
39
39
 
40
40
OutputDir="..\"
41
 
SourceDir="..\..\win32_bzr.exe"
 
41
SourceDir="..\..\win32_brz.exe"
42
42
 
43
 
SetupIconFile="..\bzr.ico"
 
43
; TODO(jelmer): Add brz.ico
 
44
; SetupIconFile="..\brz.ico"
44
45
InfoBeforeFile="..\tools\win32\info.txt"
45
46
 
46
 
VersionInfoCompany="Canonical Ltd."
47
 
VersionInfoCopyright="Canonical Ltd., 2005-2008"
48
 
VersionInfoDescription="Windows installer for Bazaar"
 
47
; VersionInfoCompany="Canonical Ltd."
 
48
VersionInfoCopyright="Canonical Ltd. et al"
 
49
VersionInfoDescription="Windows installer for Breezy"
49
50
; [[[cog
50
 
; import bzrlib
 
51
; import breezy
51
52
; version_number = []
52
 
; for i in bzrlib.version_info[:3]:
 
53
; for i in breezy.version_info[:3]:
53
54
;     try:
54
55
;         i = int(i)
55
56
;     except ValueError:
69
70
; ]]]
70
71
; [[[end]]]
71
72
 
72
 
AppComments="Bazaar: Friendly distributed version control system"
73
 
AppPublisher="Canonical Ltd."
 
73
AppComments="Breezy: Friendly distributed version control system"
 
74
AppPublisher="Breezy Developers"
74
75
AppPublisherURL="http://bazaar.canonical.com"
75
76
AppSupportURL="http://wiki.bazaar.canonical.com/BzrSupport"
76
77
AppUpdatesURL="http://wiki.bazaar.canonical.com/WindowsDownloads"
127
128
; else:
128
129
;     supported = pycurl.version_info()[8]
129
130
;     if 'https' in supported:
130
 
;         from bzrlib.transport.http.ca_bundle import get_ca_path
 
131
;         from breezy.transport.http.ca_bundle import get_ca_path
131
132
;         ca_path = get_ca_path()
132
133
;         if ca_path:
133
134
;             cog.outl('Source: "%s"; DestDir: "{app}"; Components: cabundle' % ca_path)
200
201
 
201
202
 
202
203
[Registry]
203
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; Flags: noerror uninsdeletekey
204
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: noerror
 
204
Root: HKLM; Subkey: "SOFTWARE\Breezy"; Flags: noerror uninsdeletekey
 
205
Root: HKLM; Subkey: "SOFTWARE\Breezy"; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: noerror
205
206
; Don't write stuff that can be implied
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) ]]]
 
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) ]]]
210
211
; [[[end]]]
211
212
 
212
213
 
213
214
[Run]
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;
 
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;
216
217
; [[[cog
217
218
; if "TBZR" in os.environ:
218
219
;     cog.outl('Filename: "regsvr32.exe"; Parameters: "/s /i: /n tbzrshellext_x86.dll"; WorkingDir: "{app}"; Components: tortoise; Description: "Registering Tortoise"; StatusMsg: "Registering Tortoise"')