Register wpasvc service on install and unregister on uninstall
This commit is contained in:
parent
5719f73c58
commit
ed8db67247
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,8 @@ section
|
||||||
"DisplayName" "wpa_supplicant"
|
"DisplayName" "wpa_supplicant"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant" \
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant" \
|
||||||
"UninstallString" "$INSTDIR\uninstall.exe"
|
"UninstallString" "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
|
ExecWait "$INSTDIR\wpasvc.exe reg"
|
||||||
sectionEnd
|
sectionEnd
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,6 +54,8 @@ section "uninstall"
|
||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant"
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant"
|
||||||
delete "$INSTDIR\uninstall.exe"
|
delete "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
|
ExecWait "$INSTDIR\wpasvc.exe unreg"
|
||||||
|
|
||||||
delete "$INSTDIR\wpa_gui.exe"
|
delete "$INSTDIR\wpa_gui.exe"
|
||||||
delete "$INSTDIR\wpa_cli.exe"
|
delete "$INSTDIR\wpa_cli.exe"
|
||||||
delete "$INSTDIR\COPYING"
|
delete "$INSTDIR\COPYING"
|
||||||
|
|
Loading…
Reference in a new issue