mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Uninstall USB drivers during libprs500 uninstall
This commit is contained in:
parent
5616a14c28
commit
47010fb85d
@ -184,6 +184,9 @@ SectionEnd
|
|||||||
;Uninstaller Section
|
;Uninstaller Section
|
||||||
|
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
|
; Uninstall USB drivers
|
||||||
|
ExecWait '"$INSTDIR\driver\devcon.exe" remove "USB\VID_054C&PID_029B"' $0
|
||||||
|
DetailPrint "devcon returned exit code $0"
|
||||||
;ADD YOUR OWN FILES HERE...
|
;ADD YOUR OWN FILES HERE...
|
||||||
RMDir /r "$INSTDIR"
|
RMDir /r "$INSTDIR"
|
||||||
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
|
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
|
||||||
@ -207,7 +210,6 @@ Section "Uninstall"
|
|||||||
; Remove installation directory from PATH
|
; Remove installation directory from PATH
|
||||||
Push "$INSTDIR"
|
Push "$INSTDIR"
|
||||||
Call un.RemoveFromPath
|
Call un.RemoveFromPath
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
'''
|
'''
|
||||||
def __init__(self, name, py2exe_dir, output_dir):
|
def __init__(self, name, py2exe_dir, output_dir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user