~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Alexander Belchenko
  • Date: 2006-07-30 16:43:12 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060730164312-b025fd3ff0cee59e
rename  gpl.txt => COPYING.txt

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