Skip to content

Commit

Permalink
Use /DEPENDENTLOADFLAG to tell the loader...
Browse files Browse the repository at this point in the history
...to load DLLs from System32 only.

(Belt and suspenders to current approaches.) See
https://devblogs.microsoft.com/oldnewthing/20230328-00/?p=107978.

Fixes wixtoolset/issues#7319.
  • Loading branch information
barnson committed Dec 31, 2023
1 parent c890f0e commit 7b3f847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/burn/stub/stub.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<SwapRunFromCD>true</SwapRunFromCD>
<SwapRunFromNET>true</SwapRunFromNET>
<DelayLoadDLLs>cabinet.dll;crypt32.dll;msi.dll;shlwapi.dll;userenv.dll;version.dll;wininet.dll;wintrust.dll</DelayLoadDLLs>
<AdditionalOptions>/DEPENDENTLOADFLAG:0x800 %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>

Expand Down

0 comments on commit 7b3f847

Please sign in to comment.