~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: 2007-01-17 17:21:14 UTC
  • mfrom: (2229.2.5 reserved-ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070117172114-dc75493dad46088c
Ensure reserved ids are never stored

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
InfoBeforeFile="..\tools\win32\info.txt"
45
45
 
46
46
VersionInfoCompany="Canonical Ltd."
47
 
VersionInfoCopyright="Canonical Ltd., 2005-2007"
 
47
VersionInfoCopyright="Canonical Ltd., 2005-2006"
48
48
VersionInfoDescription="Installer for stand-alone bzr.exe"
49
49
; [[[cog
50
50
; import bzrlib
78
78
; [[[end]]]
79
79
 
80
80
ChangesEnvironment=yes
81
 
PrivilegesRequired=none
82
 
 
83
81
 
84
82
[Files]
85
83
Source: "*.*"; DestDir: "{app}"; Flags: ignoreversion;
86
84
Source: "lib\*.*"; DestDir: "{app}\lib"; Flags: createallsubdirs ignoreversion recursesubdirs;
87
85
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
86
 
118
87
[Dirs]
119
88
Name: "{userappdata}\bazaar\2.0"
120
89
 
121
 
 
122
90
[Icons]
123
91
Name: "{group}\Documentation index"; Filename: "{app}\doc\index.htm"; WorkingDir: "{app}\doc";
124
92
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
 
 
 
93
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";
 
94
Name: "{group}\Uninstall Bzr"; Filename: "{uninstallexe}"; IconFileName: "{sys}\shell32.dll"; IconIndex: 101; Comment: "Remove Bzr completely";
128
95
 
129
96
[Tasks]
130
97
Name: Path; Description: "Add {app} directory to PATH environment variable";
131
 
Name: Shell; Description: "Add Bzr context menu to shell"; Flags: unchecked
132
 
 
 
98
Name: Shell; Description: "Add Bzr context menu to shell";
133
99
 
134
100
[Run]
135
101
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]]]
 
102
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--check-mfc71"; Flags: skipifdoesntexist skipifsilent runhidden;
144
103
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-path"; Tasks: Path; Flags: skipifdoesntexist skipifsilent runhidden;
145
104
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--add-shell-menu"; Tasks: Shell; Flags: skipifdoesntexist skipifsilent runhidden;
146
105
 
147
 
 
148
106
[UninstallRun]
149
107
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--delete-path --delete-shell-menu --silent"; Flags: skipifdoesntexist runhidden;