Skip to content

Commit

Permalink
Allow unattended install through option /autoextract, placed at the e…
Browse files Browse the repository at this point in the history
…nd of the installer command line
  • Loading branch information
datadiode committed Sep 24, 2023
1 parent f382d62 commit b5e1942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified Installer/MakeSFX.exe
Binary file not shown.
4 changes: 3 additions & 1 deletion Installer/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ expand.exe -f:* %2 .
echo [OpennessWebView2.dll] > OpennessWebView2.ini
echo BrowserExecutableFolder=%~dp0%~n2 >> OpennessWebView2.ini
:register
regsvr32.exe OpennessWebView2.dll
set options=
for %%x in (%*) do if /i "%%x" == "/autoextract" set options=/s
regsvr32.exe %options% OpennessWebView2.dll
del %0

0 comments on commit b5e1942

Please sign in to comment.