Skip to content

Commit

Permalink
Add manual configurator for IE browser emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Mar 24, 2024
1 parent 7333f3b commit 5fc8193
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DISMTools.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@
<None Include="settings.ini">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Tools\DT_IEConfig.reg" />
</ItemGroup>
<ItemGroup>
<None Include="Panels\readme.md" />
Expand Down Expand Up @@ -1605,6 +1606,8 @@ IF NOT EXIST logs (
IF NOT EXIST scratch (
md scratch
)
:: Copy the Internet Explorer browser emulation registry file to the program directory
copy /y "$(SolutionDir)Tools\DT_IEConfig.reg" "DT_IEConfig.reg"
IF %25ISPREVIEW%25=="Yes" (
echo You will be running a preview release, which may not be ready for production. You may experience more bugs and less stability. Please switch to a stable release whenever possible.
)
Expand Down
5 changes: 5 additions & 0 deletions Tools/DT_IEConfig.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00

; Set browser emulation mode for DISMTools to Internet Explorer 11 (+ Edge)
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"DISMTools.exe"=dword:00002af9

0 comments on commit 5fc8193

Please sign in to comment.