~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/bzr-win32-bdist-postinstall.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-06 09:32:53 UTC
  • mfrom: (2946.2.2 installer)
  • Revision ID: pqm@pqm.ubuntu.com-20071106093253-8f3a6b1nhw56f3mk
uninstall action shortcut for windows python-based installer

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                    args,
133
133
                    os.path.join(sys.exec_prefix, 'Scripts'))
134
134
    file_created(dst)
 
135
 
 
136
    # uninstall shortcut
 
137
    uninst = os.path.join(sys.exec_prefix, 'Removebzr.exe')
 
138
    dst = os.path.join(fldr, 'Uninstall Bazaar.lnk')
 
139
    create_shortcut(uninst,
 
140
                    'Uninstall Bazaar',
 
141
                    dst,
 
142
                    '-u bzr-wininst.log',
 
143
                    sys.exec_prefix,
 
144
                    )
 
145
    file_created(dst)