aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-20 18:49:58 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-20 18:49:58 (GMT)
commited8db67247a496183e66e35d214033e1ff0667ee (patch)
tree89c01a33d24f7e5c39381e63a14b4101050abe3f
parent5719f73c580e2f8142fbcdc443c40b2f3ad9773f (diff)
downloadhostap-06-ed8db67247a496183e66e35d214033e1ff0667ee.zip
hostap-06-ed8db67247a496183e66e35d214033e1ff0667ee.tar.gz
hostap-06-ed8db67247a496183e66e35d214033e1ff0667ee.tar.bz2
Register wpasvc service on install and unregister on uninstall
-rw-r--r--wpa_supplicant/wpa_supplicant.nsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.nsi b/wpa_supplicant/wpa_supplicant.nsi
index 604f711..27761bd 100644
--- a/wpa_supplicant/wpa_supplicant.nsi
+++ b/wpa_supplicant/wpa_supplicant.nsi
@@ -45,6 +45,8 @@ section
"DisplayName" "wpa_supplicant"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant" \
"UninstallString" "$INSTDIR\uninstall.exe"
+
+ ExecWait "$INSTDIR\wpasvc.exe reg"
sectionEnd
@@ -52,6 +54,8 @@ section "uninstall"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\wpa_supplicant"
delete "$INSTDIR\uninstall.exe"
+ ExecWait "$INSTDIR\wpasvc.exe unreg"
+
delete "$INSTDIR\wpa_gui.exe"
delete "$INSTDIR\wpa_cli.exe"
delete "$INSTDIR\COPYING"