Skip to content

Commit

Permalink
Fixed the bug that "Npcap Loopback Adapter" can't be uninstalled.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Dec 10, 2016
1 parent 2442a59 commit 83805cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions installer/Npcap-for-nmap.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,6 @@ Function un.remove_win7_XXbit_home_dlls
Delete $INSTDIR\LICENSE
Delete $INSTDIR\DiagReport.bat
Delete $INSTDIR\DiagReport.ps1
Delete $INSTDIR\loopback.ini
FunctionEnd

Function un.remove_xp_XXbit_system_dlls
Expand Down Expand Up @@ -1952,9 +1951,7 @@ Section "Uninstall"

; Remove "Npcap Loopback Adapter" if it exists
${If} $ndis6_driver == "yes"
${If} $loopback_support == "yes"
ExecWait '"$INSTDIR\NPFInstall.exe" -n -ul' $0
${EndIf}
ExecWait '"$INSTDIR\NPFInstall.exe" -n -ul' $0

; delete the driver files in home folder
Call un.remove_win7_driver
Expand All @@ -1978,6 +1975,8 @@ Section "Uninstall"

; Delete the uninstaller
Delete $INSTDIR\uninstall.exe

Delete $INSTDIR\loopback.ini

RMDir "$INSTDIR"

Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#define /*
!define /**/ WINPCAP_BUILD 1123
#define /*
!define /**/ WINPCAP_VER_STRING "0.78 r3"
!define /**/ WINPCAP_VER_STRING "0.78 r4"

#define WINPCAP_PACKET9x_STRING_VERSION WINPCAP_VER_STRING
#define WINPCAP_WPCAP_STRING_VERSION WINPCAP_VER_STRING
Expand Down

0 comments on commit 83805cd

Please sign in to comment.