~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-08-23 22:18:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: john@arbash-meinel.com-20060823221816-832d30e909734e97
Rename test_aftp_transport to test_ftp_tranpsport

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
 
Source: "plugins\*.*"; DestDir: "{app}\plugins"; Components: plugins; Flags: createallsubdirs ignoreversion recursesubdirs;
90
 
; [[[cog
91
 
; try:
92
 
;     import pycurl
93
 
; except ImportError:
94
 
;     ca_path = None
95
 
; else:
96
 
;     supported = pycurl.version_info()[8]
97
 
;     if 'https' in supported:
98
 
;         from bzrlib.transport.http.ca_bundle import get_ca_path
99
 
;         ca_path = get_ca_path()
100
 
;         if ca_path:
101
 
;             cog.outl('Source: "%s"; DestDir: "{app}"; Components: cabundle' % ca_path)
102
 
;         else:
103
 
;             cog.msg('You have pycurl with SSL support, '
104
 
;                     'but CA Bundle (curl-ca-bundle.crt) not found!')
105
 
; ]]]
106
 
; [[[end]]]
107
 
 
108
 
 
109
 
[Components]
110
 
Name: "main"; Description: "Main Files"; Types: full compact custom; Flags: fixed
111
 
Name: "plugins"; Description: "Default plugins"; Types: full custom;
112
 
; [[[cog
113
 
; if ca_path:
114
 
;     cog.outl('Name: "cabundle"; '
115
 
;              'Description: "CA certificates for SSL support"; '
116
 
;              'Types: full custom')
117
 
; ]]]
118
 
; [[[end]]]
119
 
 
120
78
 
121
79
[Dirs]
122
80
Name: "{userappdata}\bazaar\2.0"
123
 
Name: "{app}\plugins"; Flags: uninsalwaysuninstall
124
 
 
125
81
 
126
82
[Icons]
127
 
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";
128
84
Name: "{group}\Bazaar Home Page"; Filename: "{app}\bazaar.url"; Comment: "http://www.bazaar-vcs.org";
129
 
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";
130
 
Name: "{group}\Uninstall Bazaar"; Filename: "{uninstallexe}"; IconFileName: "{sys}\shell32.dll"; IconIndex: 101; Comment: "Remove Bzr completely";
131
 
 
 
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";
132
87
 
133
88
[Tasks]
134
89
Name: Path; Description: "Add {app} directory to PATH environment variable";
135
 
Name: Shell; Description: "Add Bzr context menu to shell"; Flags: unchecked
136
 
 
137
 
 
138
 
[Registry]
139
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; Flags: noerror uninsdeletekey
140
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "InstallPath"; ValueType: string; ValueData: "{app}"; Flags: noerror
141
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "BzrlibPath"; ValueType: string; ValueData: "{app}\lib\library.zip\bzrlib"; Flags: noerror
142
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "PluginsPath"; ValueType: string; ValueData: "{app}\plugins"; Flags: noerror
143
 
Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "PythonPath"; ValueType: string; ValueData: "{app}\lib\library.zip"; Flags: noerror
144
 
; [[[cog cog.outl('Root: HKLM; Subkey: "SOFTWARE\Bazaar"; ValueName: "Version"; ValueType: string; ValueData: "%s"; Flags: noerror' % VERSION) ]]]
145
 
; [[[end]]]
146
 
 
 
90
Name: Shell; Description: "Add Bzr context menu to shell";
147
91
 
148
92
[Run]
149
93
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--start-bzr"; Flags: skipifdoesntexist runhidden;
150
 
; [[[cog
151
 
; import os
152
 
; if os.path.isfile('win32_bzr.exe/lib/win32ui.pyd'):   # pywin32 mfc wrapper
153
 
;     cog.outl('Filename: "{app}\bzr_postinstall.exe"; '
154
 
;              'Parameters: "--check-mfc71"; '
155
 
;              'Flags: skipifdoesntexist skipifsilent runhidden;')
156
 
; ]]]
157
 
; [[[end]]]
 
94
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--check-mfc71"; Flags: skipifdoesntexist skipifsilent runhidden;
158
95
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-path"; Tasks: Path; Flags: skipifdoesntexist skipifsilent runhidden;
159
96
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-shell-menu"; Tasks: Shell; Flags: skipifdoesntexist skipifsilent runhidden;
160
97
 
161
 
 
162
98
[UninstallRun]
163
99
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--delete-path --delete-shell-menu --silent"; Flags: skipifdoesntexist runhidden; 
164
 
 
165
 
 
166
 
[UninstallDelete]
167
 
Type: filesandordirs; Name: "{app}\plugins\*"