Skip to content

Commit b5e1942

Browse files
committed
Allow unattended install through option /autoextract, placed at the end of the installer command line
1 parent f382d62 commit b5e1942

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Installer/MakeSFX.exe

-24 KB
Binary file not shown.

Installer/setup.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ expand.exe -f:* %2 .
44
echo [OpennessWebView2.dll] > OpennessWebView2.ini
55
echo BrowserExecutableFolder=%~dp0%~n2 >> OpennessWebView2.ini
66
:register
7-
regsvr32.exe OpennessWebView2.dll
7+
set options=
8+
for %%x in (%*) do if /i "%%x" == "/autoextract" set options=/s
9+
regsvr32.exe %options% OpennessWebView2.dll
810
del %0

0 commit comments

Comments
 (0)