Changeset 66312 in vbox for trunk/src/VBox/Installer/win/InstallHelper
- Timestamp:
- Mar 28, 2017 6:02:37 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114241
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r63311 r66312 5 5 6 6 /* 7 * Copyright (C) 2008-201 6Oracle Corporation7 * Copyright (C) 2008-2017 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 505 505 static MSIHANDLE g_hCurrentModule = NULL; 506 506 507 static UINT _uninstallNetFlt(MSIHANDLE hModule); 508 static UINT _uninstallNetLwf(MSIHANDLE hModule); 509 507 510 static VOID vboxDrvLoggerCallback(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext) 508 511 { … … 699 702 #endif /*VBOX_WITH_NETFLT*/ 700 703 701 UINT __stdcall UninstallNetFlt(MSIHANDLE hModule)704 /*static*/ UINT _uninstallNetFlt(MSIHANDLE hModule) 702 705 { 703 706 #ifdef VBOX_WITH_NETFLT … … 740 743 #endif /* VBOX_WITH_NETFLT */ 741 744 742 /* Never fail the install even if we did not succeed. */745 /* Never fail the uninstall even if we did not succeed. */ 743 746 return ERROR_SUCCESS; 744 747 } 745 748 746 UINT __stdcall InstallNetFlt(MSIHANDLE hModule) 749 UINT __stdcall UninstallNetFlt(MSIHANDLE hModule) 750 { 751 (void)_uninstallNetLwf(hModule); 752 return _uninstallNetFlt(hModule); 753 } 754 755 static UINT _installNetFlt(MSIHANDLE hModule) 747 756 { 748 757 #ifdef VBOX_WITH_NETFLT … … 799 808 } 800 809 801 802 UINT __stdcall UninstallNetLwf(MSIHANDLE hModule) 810 UINT __stdcall InstallNetFlt(MSIHANDLE hModule) 811 { 812 (void)_uninstallNetLwf(hModule); 813 return _installNetFlt(hModule); 814 } 815 816 817 /*static*/ UINT _uninstallNetLwf(MSIHANDLE hModule) 803 818 { 804 819 #ifdef VBOX_WITH_NETFLT … … 841 856 #endif /* VBOX_WITH_NETFLT */ 842 857 843 /* Never fail the install even if we did not succeed. */858 /* Never fail the uninstall even if we did not succeed. */ 844 859 return ERROR_SUCCESS; 845 860 } 846 861 847 UINT __stdcall InstallNetLwf(MSIHANDLE hModule) 862 UINT __stdcall UninstallNetLwf(MSIHANDLE hModule) 863 { 864 (void)_uninstallNetFlt(hModule); 865 return _uninstallNetLwf(hModule); 866 } 867 868 static UINT _installNetLwf(MSIHANDLE hModule) 848 869 { 849 870 #ifdef VBOX_WITH_NETFLT … … 913 934 /* Never fail the install even if we did not succeed. */ 914 935 return ERROR_SUCCESS; 936 } 937 938 UINT __stdcall InstallNetLwf(MSIHANDLE hModule) 939 { 940 (void)_uninstallNetFlt(hModule); 941 return _installNetLwf(hModule); 915 942 } 916 943 … … 1130 1157 #endif /* VBOX_WITH_NETFLT */ 1131 1158 1132 /* Never fail the install even if we did not succeed. */1159 /* Never fail the uninstall even if we did not succeed. */ 1133 1160 return ERROR_SUCCESS; 1134 1161 } … … 1163 1190 #endif /* VBOX_WITH_NETFLT */ 1164 1191 1165 /* Never fail the install even if we did not succeed. */1192 /* Never fail the uninstall even if we did not succeed. */ 1166 1193 return ERROR_SUCCESS; 1167 1194 } … … 1244 1271 #endif /* VBOX_WITH_NETFLT */ 1245 1272 1246 /* Never fail the installeven if we did not succeed. */1273 /* Never fail the update even if we did not succeed. */ 1247 1274 return ERROR_SUCCESS; 1248 1275 } … … 1299 1326 #endif /* VBOX_WITH_NETFLT */ 1300 1327 1301 /* Never fail the install even if we did not succeed. */1328 /* Never fail the uninstall even if we did not succeed. */ 1302 1329 return ERROR_SUCCESS; 1303 1330 }
Note:
See TracChangeset
for help on using the changeset viewer.