21 |
21 |
22 def createWindowsLinks(): |
22 def createWindowsLinks(): |
23 """ |
23 """ |
24 Create Desktop and Start Menu links. |
24 Create Desktop and Start Menu links. |
25 """ |
25 """ |
26 regPath = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + \ |
26 regPath = ( |
27 "\\User Shell Folders" |
27 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + |
|
28 "\\User Shell Folders" |
|
29 ) |
28 |
30 |
29 # 1. create desktop shortcuts |
31 # 1. create desktop shortcuts |
30 regName = "Desktop" |
32 regName = "Desktop" |
31 desktopFolder = os.path.normpath( |
33 desktopFolder = os.path.normpath( |
32 os.path.expandvars(getWinregEntry(regName, regPath))) |
34 os.path.expandvars(getWinregEntry(regName, regPath))) |