~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Alexander Belchenko
  • Date: 2007-10-26 21:49:15 UTC
  • mto: (2947.4.2 0.92)
  • mto: This revision was merged to the branch mainline in revision 2971.
  • Revision ID: bialix@ukr.net-20071026214915-5eacqh9k2ps6jagj
windows python-based installer: shortcut for uninstall action

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)