diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-08-03 15:38:46 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-04 10:03:57 -0500 |
| commit | 5815688519a60e63e18c13dfe0908d76757cbc53 (patch) | |
| tree | f2c6b78263ed996f0b36915f7bb5984e87c2e3e2 /src/burn/engine/engine.cpp | |
| parent | ab47449ca6ccd2ae2b6f0bf477bcea7e49aa8f6b (diff) | |
| download | wix-5815688519a60e63e18c13dfe0908d76757cbc53.tar.gz wix-5815688519a60e63e18c13dfe0908d76757cbc53.tar.bz2 wix-5815688519a60e63e18c13dfe0908d76757cbc53.zip | |
Update Burn ARP command lines to skip clean room.
This also adds an escape hatch to Burn for antivirus interfering with clean room.
Diffstat (limited to 'src/burn/engine/engine.cpp')
| -rw-r--r-- | src/burn/engine/engine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/burn/engine/engine.cpp b/src/burn/engine/engine.cpp index 4323b540..e6cb1708 100644 --- a/src/burn/engine/engine.cpp +++ b/src/burn/engine/engine.cpp | |||
| @@ -71,8 +71,7 @@ extern "C" BOOL EngineInCleanRoom( | |||
| 71 | // that should be setting this command line option, that is in our control. | 71 | // that should be setting this command line option, that is in our control. |
| 72 | BOOL fInCleanRoom = (wzCommandLine && | 72 | BOOL fInCleanRoom = (wzCommandLine && |
| 73 | (wzCommandLine[0] == L'-' || wzCommandLine[0] == L'/') && | 73 | (wzCommandLine[0] == L'-' || wzCommandLine[0] == L'/') && |
| 74 | CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, wzCommandLine + 1, cchCleanRoomSwitch, BURN_COMMANDLINE_SWITCH_CLEAN_ROOM, cchCleanRoomSwitch) && | 74 | CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, wzCommandLine + 1, cchCleanRoomSwitch, BURN_COMMANDLINE_SWITCH_CLEAN_ROOM, cchCleanRoomSwitch) |
| 75 | wzCommandLine[1 + cchCleanRoomSwitch] == L'=' | ||
| 76 | ); | 75 | ); |
| 77 | 76 | ||
| 78 | return fInCleanRoom; | 77 | return fInCleanRoom; |
