VirtualBox

Ignore:
Timestamp:
Apr 6, 2011 9:30:03 AM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Apply WFP settings after taking ownership and settings access rights.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r36455 r36571  
    733733  Pop $0
    734734
    735 !if $%VBOX_WITH_GUEST_INSTALL_HELPER% == "1"
    736   !ifdef WFP_FILE_EXCEPTION
    737     VBoxGuestInstallHelper::DisableWFP "$0"
    738     Pop $1 ; Get return value (ignored for now)
    739     DetailPrint "Setting WFP exception for '$0': $1"
    740   !endif
    741 !endif
    742 
    743735  IfFileExists "$g_strSystemDir\takeown.exe" 0 +2
    744736    nsExec::ExecToLog '"$g_strSystemDir\takeown.exe" /F "$0"'
     
    749741  Pop $1
    750742  DetailPrint "Setting access rights for '$0': $1"
     743
     744!if $%VBOX_WITH_GUEST_INSTALL_HELPER% == "1"
     745  !ifdef WFP_FILE_EXCEPTION
     746    VBoxGuestInstallHelper::DisableWFP "$0"
     747    Pop $1 ; Get return value (ignored for now)
     748    DetailPrint "Setting WFP exception for '$0': $1"
     749  !endif
     750!endif
    751751
    752752FunctionEnd
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette