scripts/uninstall.py

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7256:4ef3b78ebb4e 7257:c4d0cac9b5c9
209 from pywintypes import com_error # __IGNORE_WARNING__ 209 from pywintypes import com_error # __IGNORE_WARNING__
210 except ImportError: 210 except ImportError:
211 # links were not created by install.py 211 # links were not created by install.py
212 return 212 return
213 213
214 regPath = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + \ 214 regPath = (
215 "\\User Shell Folders" 215 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" +
216 "\\User Shell Folders"
217 )
216 218
217 # 1. cleanup desktop links 219 # 1. cleanup desktop links
218 regName = "Desktop" 220 regName = "Desktop"
219 desktopEntry = getWinregEntry(regName, regPath) 221 desktopEntry = getWinregEntry(regName, regPath)
220 if desktopEntry: 222 if desktopEntry:

eric ide

mercurial