~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2010-01-12 03:53:21 UTC
  • mfrom: (4948 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4964.
  • Revision ID: andrew.bennetts@canonical.com-20100112035321-hofpz5p10224ryj3
Merge lp:bzr, resolving conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
; #/Python 2.5 compatibility code
17
17
;
18
18
; import bzrlib
19
 
; try: 
 
19
; try:
20
20
;     VERSION = bzrlib.__version__
21
21
;     AppVerName = 'Bazaar %s' % VERSION
22
 
;     OutputBaseFilename = 'bzr-setup-%s' % VERSION
 
22
;     OutputBaseFilename = 'bzr-%s-setup' % VERSION
23
23
; except:
24
24
;     VERSION = ''
25
25
;     AppVerName = 'Bazaar'
106
106
;     cog.outl('Source: "tbzrshellext_x64.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace uninsrestartdelete; Components: tortoise; Check: IsWin64;')
107
107
;     cog.outl(r'Source: "plugins\qbzr\*"; DestDir: "{app}\plugins\qbzr"; Flags: createallsubdirs ignoreversion recursesubdirs restartreplace uninsrestartdelete; Components: tortoise')
108
108
;
109
 
;     cog.outl('Source: "%s\\doc\\index.html"; DestDir: "{app}\\doc\\tbzr"; Flags: ignoreversion; Components: tortoise' % os.environ['TBZR'])
 
109
;     cog.outl('Source: "%s\\doc\\*.html"; DestDir: "{app}\\doc\\tbzr"; Flags: ignoreversion; Components: tortoise' % os.environ['TBZR'])
110
110
; ]]]
111
111
; [[[end]]]
112
112
 
137
137
; ]]]
138
138
; [[[end]]]
139
139
 
 
140
; imageformats plugins for PyQt4
 
141
; [[[cog
 
142
; plug_dir = os.path.join(os.path.dirname(cog.inFile), # $(bzr_src_root)/tools/win32
 
143
;                         '..', '..', 'win32_bzr.exe', 'imageformats')
 
144
; if os.path.isdir(plug_dir):
 
145
;     cog.outl('Source: "imageformats\\*.*"; DestDir: "{app}\\imageformats"; '
 
146
;              'Flags: createallsubdirs ignoreversion recursesubdirs restartreplace uninsrestartdelete;')
 
147
; else:
 
148
;     cog.msg('imageformats plugins for PyQt4 not found')
 
149
; ]]]
 
150
; [[[end]]]
 
151
 
140
152
[Types]
141
153
Name: "typical"; Description: "A typical installation"
142
154
Name: "full"; Description: "Full Installation (typical installation plus test utilities)"
211
223
 
212
224
 
213
225
[UninstallRun]
214
 
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--delete-path --delete-shell-menu --silent"; Flags: skipifdoesntexist runhidden; 
 
226
Filename: "{app}\bzr_postinstall.exe"; Parameters: "--delete-path --delete-shell-menu --silent"; Flags: skipifdoesntexist runhidden;
215
227
; [[[cog
216
228
; if "TBZR" in os.environ:
217
229
;     cog.outl('Filename: "regsvr32.exe"; Parameters: "/u /s /i: tbzrshellext_x86.dll"; WorkingDir: "{app}"; Components: tortoise; StatusMsg: "Unregistering Tortoise"; Flags: skipifdoesntexist')
316
328
end;
317
329
 
318
330
 
319
 
function InitializeUninstall(): Boolean; 
 
331
function InitializeUninstall(): Boolean;
320
332
begin
321
333
    ShutdownTBZR;
322
334
    result := True;