summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-09-21 18:40:41 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-09-21 18:40:41 +0000
commit4b33efcf0eb29d722a2960bed609bcd20ed699af (patch)
treede4075c294fed69569a6e054de40aa1444c59a57
parent9e74a36317b6ac49bcaa668675d8f753769f80ee (diff)
exe stubs as proxy to dll & fix for propagation of exit code
git-svn-id: svn://tug.org/texlive/trunk@15404 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/texlive/runscript.dllbin0 -> 4608 bytes
-rwxr-xr-xBuild/source/texk/texlive/runscript.exebin4096 -> 1536 bytes
-rw-r--r--Build/source/texk/texlive/runscript_dll.c (renamed from Build/source/texk/texlive/runscript.c)20
-rw-r--r--Build/source/texk/texlive/runscript_exe.c7
-rwxr-xr-xMaster/bin/win32/a2ping.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/a5bookle.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/afm2afm.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/asy.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/autoinst.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/cmap2enc.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/context.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ctxtools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/doubside.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/dviasm.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/dviout.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/e2pall.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ebong.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/eps2eps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/epspdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/epspdftk.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/epstopdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/extractres.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixdlsrps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixfmps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixmacps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixpsditps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixpspps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixscribeps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixtpps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixwfwps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixwpps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fixwwps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fmtutil-sys.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/font2afm.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fontinst.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/fragmaster.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/getnonfreefonts-sys.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/getnonfreefonts.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ht.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/htcontext.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/htlatex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/htmex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/httex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/httexi.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/htxelatex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/htxetex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/includeres.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/latex2man.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/latexmk.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/luatools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/makeglossaries.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/makempy.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mk4ht.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mkgrkindex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mkjobtexmf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mkt1font.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mpstools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mptopdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mtxrun.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/mtxtools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ot2kpx.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdf2dsc.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdfannotextractor.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdfatfi.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdfcrop.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdfopt.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdfthumb.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pdftools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/perltex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pfm2kpx.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pkfix-helper.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pkfix.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ppower4.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps2ascii.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps2pdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps2pdf12.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps2pdf13.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps2pdf14.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ps4pdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/psmerge.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pst2pdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/pstopdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/psv.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/purifyeps.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/rlxtools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/rubibtexx.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/rumakeindexx.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/rumakeindexx2.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/rungs.exebin4096 -> 1536 bytes
-rw-r--r--Master/bin/win32/runscript.dllbin0 -> 4608 bytes
-rwxr-xr-xMaster/bin/win32/runtools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/showglyphs.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/splitindex.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/svn-multi.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texcount.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texdirflatten.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texdoc.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texdoctk.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texexec.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texfont.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texindy.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texloganalyser.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/textools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texutil.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/texworks.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/thumbpdf.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/tmftools.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/ulqda.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/updmap-sys.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/updmap.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/vpe.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/vpl2ovp.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/vpl2vpl.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/xindy.exebin4096 -> 1536 bytes
-rwxr-xr-xMaster/bin/win32/xmltools.exebin4096 -> 1536 bytes
-rw-r--r--Master/tlpkg/tlpsrc/texlive.infra.tlpsrc1
116 files changed, 20 insertions, 8 deletions
diff --git a/Build/source/texk/texlive/runscript.dll b/Build/source/texk/texlive/runscript.dll
new file mode 100644
index 00000000000..a46d3977d6d
--- /dev/null
+++ b/Build/source/texk/texlive/runscript.dll
Binary files differ
diff --git a/Build/source/texk/texlive/runscript.exe b/Build/source/texk/texlive/runscript.exe
index a93ef24732b..5777d90a17a 100755
--- a/Build/source/texk/texlive/runscript.exe
+++ b/Build/source/texk/texlive/runscript.exe
Binary files differ
diff --git a/Build/source/texk/texlive/runscript.c b/Build/source/texk/texlive/runscript_dll.c
index bb06bc2d5d5..b961f03714b 100644
--- a/Build/source/texk/texlive/runscript.c
+++ b/Build/source/texk/texlive/runscript_dll.c
@@ -1,7 +1,5 @@
/*
-runscript.c
-
Public Domain
Originally written 2009 by T.M.Trzeciak
@@ -18,15 +16,20 @@ are some odd cases where they are not interchangeable with them.
Usage:
-simply copy and rename the compiled binary
+Simply copy and rename the compiled program. The executable part
+is just a proxy the runscript function in runscript.dll. This arrangement
+is for maintenance reasons - upgrades can be done by replacement of
+a single .dll rather than all .exe stubs
Compilation:
with gcc (size optimized):
-gcc -Os -s -o runscript.exe runscript.c
+gcc -Os -s -shared -o runscript.dll runscript_dll.c
+gcc -Os -s -o runscript.exe runscript_exe.c -L./ -lrunscript
with tcc (ver. 0.9.24), extra small size
-tcc -o runscript.exe runscript.c
+tcc -shared -o runscript.dll runscript_dll.c
+tcc -o runscript.exe runscript_exe.c runscript.def
*/
@@ -42,7 +45,7 @@ static char basename[MAX_PATH];
static char progname[MAX_PATH];
static char cmdline[MAX_CMD];
-int main( int argc, char *argv[] ) {
+__declspec(dllexport) int dllrunscript( int argc, char *argv[] ) {
int i;
static char path[MAX_PATH];
@@ -98,9 +101,10 @@ int main( int argc, char *argv[] ) {
PROGRAM_FOUND:
if ( !cmdline[0] ) {
- strcpy(cmdline, "\"");
+ // batch file has to be executed through the call command in order to propagate its exit code
+ strcpy(cmdline, "cmd.exe /c call \"");
strcat(cmdline, path);
- strcat(cmdline, "\"");
+ strcat(cmdline, "\" ");
}
// get the command line for this process
diff --git a/Build/source/texk/texlive/runscript_exe.c b/Build/source/texk/texlive/runscript_exe.c
new file mode 100644
index 00000000000..7aaf08140bf
--- /dev/null
+++ b/Build/source/texk/texlive/runscript_exe.c
@@ -0,0 +1,7 @@
+// an .exe part of runscript program
+// see runscript_dll.c for more details
+#include <windows.h>
+__declspec(dllimport) int dllrunscript( argc, argv );
+int main( int argc, char *argv[] ) {
+ return dllrunscript( argc, argv );
+}
diff --git a/Master/bin/win32/a2ping.exe b/Master/bin/win32/a2ping.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/a2ping.exe
+++ b/Master/bin/win32/a2ping.exe
Binary files differ
diff --git a/Master/bin/win32/a5bookle.exe b/Master/bin/win32/a5bookle.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/a5bookle.exe
+++ b/Master/bin/win32/a5bookle.exe
Binary files differ
diff --git a/Master/bin/win32/afm2afm.exe b/Master/bin/win32/afm2afm.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/afm2afm.exe
+++ b/Master/bin/win32/afm2afm.exe
Binary files differ
diff --git a/Master/bin/win32/asy.exe b/Master/bin/win32/asy.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/asy.exe
+++ b/Master/bin/win32/asy.exe
Binary files differ
diff --git a/Master/bin/win32/autoinst.exe b/Master/bin/win32/autoinst.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/autoinst.exe
+++ b/Master/bin/win32/autoinst.exe
Binary files differ
diff --git a/Master/bin/win32/cmap2enc.exe b/Master/bin/win32/cmap2enc.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/cmap2enc.exe
+++ b/Master/bin/win32/cmap2enc.exe
Binary files differ
diff --git a/Master/bin/win32/context.exe b/Master/bin/win32/context.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/context.exe
+++ b/Master/bin/win32/context.exe
Binary files differ
diff --git a/Master/bin/win32/ctxtools.exe b/Master/bin/win32/ctxtools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ctxtools.exe
+++ b/Master/bin/win32/ctxtools.exe
Binary files differ
diff --git a/Master/bin/win32/doubside.exe b/Master/bin/win32/doubside.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/doubside.exe
+++ b/Master/bin/win32/doubside.exe
Binary files differ
diff --git a/Master/bin/win32/dviasm.exe b/Master/bin/win32/dviasm.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/dviasm.exe
+++ b/Master/bin/win32/dviasm.exe
Binary files differ
diff --git a/Master/bin/win32/dviout.exe b/Master/bin/win32/dviout.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/dviout.exe
+++ b/Master/bin/win32/dviout.exe
Binary files differ
diff --git a/Master/bin/win32/e2pall.exe b/Master/bin/win32/e2pall.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/e2pall.exe
+++ b/Master/bin/win32/e2pall.exe
Binary files differ
diff --git a/Master/bin/win32/ebong.exe b/Master/bin/win32/ebong.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ebong.exe
+++ b/Master/bin/win32/ebong.exe
Binary files differ
diff --git a/Master/bin/win32/eps2eps.exe b/Master/bin/win32/eps2eps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/eps2eps.exe
+++ b/Master/bin/win32/eps2eps.exe
Binary files differ
diff --git a/Master/bin/win32/epspdf.exe b/Master/bin/win32/epspdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/epspdf.exe
+++ b/Master/bin/win32/epspdf.exe
Binary files differ
diff --git a/Master/bin/win32/epspdftk.exe b/Master/bin/win32/epspdftk.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/epspdftk.exe
+++ b/Master/bin/win32/epspdftk.exe
Binary files differ
diff --git a/Master/bin/win32/epstopdf.exe b/Master/bin/win32/epstopdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/epstopdf.exe
+++ b/Master/bin/win32/epstopdf.exe
Binary files differ
diff --git a/Master/bin/win32/extractres.exe b/Master/bin/win32/extractres.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/extractres.exe
+++ b/Master/bin/win32/extractres.exe
Binary files differ
diff --git a/Master/bin/win32/fixdlsrps.exe b/Master/bin/win32/fixdlsrps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixdlsrps.exe
+++ b/Master/bin/win32/fixdlsrps.exe
Binary files differ
diff --git a/Master/bin/win32/fixfmps.exe b/Master/bin/win32/fixfmps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixfmps.exe
+++ b/Master/bin/win32/fixfmps.exe
Binary files differ
diff --git a/Master/bin/win32/fixmacps.exe b/Master/bin/win32/fixmacps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixmacps.exe
+++ b/Master/bin/win32/fixmacps.exe
Binary files differ
diff --git a/Master/bin/win32/fixpsditps.exe b/Master/bin/win32/fixpsditps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixpsditps.exe
+++ b/Master/bin/win32/fixpsditps.exe
Binary files differ
diff --git a/Master/bin/win32/fixpspps.exe b/Master/bin/win32/fixpspps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixpspps.exe
+++ b/Master/bin/win32/fixpspps.exe
Binary files differ
diff --git a/Master/bin/win32/fixscribeps.exe b/Master/bin/win32/fixscribeps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixscribeps.exe
+++ b/Master/bin/win32/fixscribeps.exe
Binary files differ
diff --git a/Master/bin/win32/fixtpps.exe b/Master/bin/win32/fixtpps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixtpps.exe
+++ b/Master/bin/win32/fixtpps.exe
Binary files differ
diff --git a/Master/bin/win32/fixwfwps.exe b/Master/bin/win32/fixwfwps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixwfwps.exe
+++ b/Master/bin/win32/fixwfwps.exe
Binary files differ
diff --git a/Master/bin/win32/fixwpps.exe b/Master/bin/win32/fixwpps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixwpps.exe
+++ b/Master/bin/win32/fixwpps.exe
Binary files differ
diff --git a/Master/bin/win32/fixwwps.exe b/Master/bin/win32/fixwwps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fixwwps.exe
+++ b/Master/bin/win32/fixwwps.exe
Binary files differ
diff --git a/Master/bin/win32/fmtutil-sys.exe b/Master/bin/win32/fmtutil-sys.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fmtutil-sys.exe
+++ b/Master/bin/win32/fmtutil-sys.exe
Binary files differ
diff --git a/Master/bin/win32/font2afm.exe b/Master/bin/win32/font2afm.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/font2afm.exe
+++ b/Master/bin/win32/font2afm.exe
Binary files differ
diff --git a/Master/bin/win32/fontinst.exe b/Master/bin/win32/fontinst.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fontinst.exe
+++ b/Master/bin/win32/fontinst.exe
Binary files differ
diff --git a/Master/bin/win32/fragmaster.exe b/Master/bin/win32/fragmaster.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/fragmaster.exe
+++ b/Master/bin/win32/fragmaster.exe
Binary files differ
diff --git a/Master/bin/win32/getnonfreefonts-sys.exe b/Master/bin/win32/getnonfreefonts-sys.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/getnonfreefonts-sys.exe
+++ b/Master/bin/win32/getnonfreefonts-sys.exe
Binary files differ
diff --git a/Master/bin/win32/getnonfreefonts.exe b/Master/bin/win32/getnonfreefonts.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/getnonfreefonts.exe
+++ b/Master/bin/win32/getnonfreefonts.exe
Binary files differ
diff --git a/Master/bin/win32/ht.exe b/Master/bin/win32/ht.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ht.exe
+++ b/Master/bin/win32/ht.exe
Binary files differ
diff --git a/Master/bin/win32/htcontext.exe b/Master/bin/win32/htcontext.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/htcontext.exe
+++ b/Master/bin/win32/htcontext.exe
Binary files differ
diff --git a/Master/bin/win32/htlatex.exe b/Master/bin/win32/htlatex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/htlatex.exe
+++ b/Master/bin/win32/htlatex.exe
Binary files differ
diff --git a/Master/bin/win32/htmex.exe b/Master/bin/win32/htmex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/htmex.exe
+++ b/Master/bin/win32/htmex.exe
Binary files differ
diff --git a/Master/bin/win32/httex.exe b/Master/bin/win32/httex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/httex.exe
+++ b/Master/bin/win32/httex.exe
Binary files differ
diff --git a/Master/bin/win32/httexi.exe b/Master/bin/win32/httexi.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/httexi.exe
+++ b/Master/bin/win32/httexi.exe
Binary files differ
diff --git a/Master/bin/win32/htxelatex.exe b/Master/bin/win32/htxelatex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/htxelatex.exe
+++ b/Master/bin/win32/htxelatex.exe
Binary files differ
diff --git a/Master/bin/win32/htxetex.exe b/Master/bin/win32/htxetex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/htxetex.exe
+++ b/Master/bin/win32/htxetex.exe
Binary files differ
diff --git a/Master/bin/win32/includeres.exe b/Master/bin/win32/includeres.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/includeres.exe
+++ b/Master/bin/win32/includeres.exe
Binary files differ
diff --git a/Master/bin/win32/latex2man.exe b/Master/bin/win32/latex2man.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/latex2man.exe
+++ b/Master/bin/win32/latex2man.exe
Binary files differ
diff --git a/Master/bin/win32/latexmk.exe b/Master/bin/win32/latexmk.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/latexmk.exe
+++ b/Master/bin/win32/latexmk.exe
Binary files differ
diff --git a/Master/bin/win32/luatools.exe b/Master/bin/win32/luatools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/luatools.exe
+++ b/Master/bin/win32/luatools.exe
Binary files differ
diff --git a/Master/bin/win32/makeglossaries.exe b/Master/bin/win32/makeglossaries.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/makeglossaries.exe
+++ b/Master/bin/win32/makeglossaries.exe
Binary files differ
diff --git a/Master/bin/win32/makempy.exe b/Master/bin/win32/makempy.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/makempy.exe
+++ b/Master/bin/win32/makempy.exe
Binary files differ
diff --git a/Master/bin/win32/mk4ht.exe b/Master/bin/win32/mk4ht.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mk4ht.exe
+++ b/Master/bin/win32/mk4ht.exe
Binary files differ
diff --git a/Master/bin/win32/mkgrkindex.exe b/Master/bin/win32/mkgrkindex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mkgrkindex.exe
+++ b/Master/bin/win32/mkgrkindex.exe
Binary files differ
diff --git a/Master/bin/win32/mkjobtexmf.exe b/Master/bin/win32/mkjobtexmf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mkjobtexmf.exe
+++ b/Master/bin/win32/mkjobtexmf.exe
Binary files differ
diff --git a/Master/bin/win32/mkt1font.exe b/Master/bin/win32/mkt1font.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mkt1font.exe
+++ b/Master/bin/win32/mkt1font.exe
Binary files differ
diff --git a/Master/bin/win32/mpstools.exe b/Master/bin/win32/mpstools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mpstools.exe
+++ b/Master/bin/win32/mpstools.exe
Binary files differ
diff --git a/Master/bin/win32/mptopdf.exe b/Master/bin/win32/mptopdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mptopdf.exe
+++ b/Master/bin/win32/mptopdf.exe
Binary files differ
diff --git a/Master/bin/win32/mtxrun.exe b/Master/bin/win32/mtxrun.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mtxrun.exe
+++ b/Master/bin/win32/mtxrun.exe
Binary files differ
diff --git a/Master/bin/win32/mtxtools.exe b/Master/bin/win32/mtxtools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/mtxtools.exe
+++ b/Master/bin/win32/mtxtools.exe
Binary files differ
diff --git a/Master/bin/win32/ot2kpx.exe b/Master/bin/win32/ot2kpx.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ot2kpx.exe
+++ b/Master/bin/win32/ot2kpx.exe
Binary files differ
diff --git a/Master/bin/win32/pdf2dsc.exe b/Master/bin/win32/pdf2dsc.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdf2dsc.exe
+++ b/Master/bin/win32/pdf2dsc.exe
Binary files differ
diff --git a/Master/bin/win32/pdfannotextractor.exe b/Master/bin/win32/pdfannotextractor.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdfannotextractor.exe
+++ b/Master/bin/win32/pdfannotextractor.exe
Binary files differ
diff --git a/Master/bin/win32/pdfatfi.exe b/Master/bin/win32/pdfatfi.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdfatfi.exe
+++ b/Master/bin/win32/pdfatfi.exe
Binary files differ
diff --git a/Master/bin/win32/pdfcrop.exe b/Master/bin/win32/pdfcrop.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdfcrop.exe
+++ b/Master/bin/win32/pdfcrop.exe
Binary files differ
diff --git a/Master/bin/win32/pdfopt.exe b/Master/bin/win32/pdfopt.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdfopt.exe
+++ b/Master/bin/win32/pdfopt.exe
Binary files differ
diff --git a/Master/bin/win32/pdfthumb.exe b/Master/bin/win32/pdfthumb.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdfthumb.exe
+++ b/Master/bin/win32/pdfthumb.exe
Binary files differ
diff --git a/Master/bin/win32/pdftools.exe b/Master/bin/win32/pdftools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pdftools.exe
+++ b/Master/bin/win32/pdftools.exe
Binary files differ
diff --git a/Master/bin/win32/perltex.exe b/Master/bin/win32/perltex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/perltex.exe
+++ b/Master/bin/win32/perltex.exe
Binary files differ
diff --git a/Master/bin/win32/pfm2kpx.exe b/Master/bin/win32/pfm2kpx.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pfm2kpx.exe
+++ b/Master/bin/win32/pfm2kpx.exe
Binary files differ
diff --git a/Master/bin/win32/pkfix-helper.exe b/Master/bin/win32/pkfix-helper.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pkfix-helper.exe
+++ b/Master/bin/win32/pkfix-helper.exe
Binary files differ
diff --git a/Master/bin/win32/pkfix.exe b/Master/bin/win32/pkfix.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pkfix.exe
+++ b/Master/bin/win32/pkfix.exe
Binary files differ
diff --git a/Master/bin/win32/ppower4.exe b/Master/bin/win32/ppower4.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ppower4.exe
+++ b/Master/bin/win32/ppower4.exe
Binary files differ
diff --git a/Master/bin/win32/ps2ascii.exe b/Master/bin/win32/ps2ascii.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps2ascii.exe
+++ b/Master/bin/win32/ps2ascii.exe
Binary files differ
diff --git a/Master/bin/win32/ps2pdf.exe b/Master/bin/win32/ps2pdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps2pdf.exe
+++ b/Master/bin/win32/ps2pdf.exe
Binary files differ
diff --git a/Master/bin/win32/ps2pdf12.exe b/Master/bin/win32/ps2pdf12.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps2pdf12.exe
+++ b/Master/bin/win32/ps2pdf12.exe
Binary files differ
diff --git a/Master/bin/win32/ps2pdf13.exe b/Master/bin/win32/ps2pdf13.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps2pdf13.exe
+++ b/Master/bin/win32/ps2pdf13.exe
Binary files differ
diff --git a/Master/bin/win32/ps2pdf14.exe b/Master/bin/win32/ps2pdf14.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps2pdf14.exe
+++ b/Master/bin/win32/ps2pdf14.exe
Binary files differ
diff --git a/Master/bin/win32/ps4pdf.exe b/Master/bin/win32/ps4pdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ps4pdf.exe
+++ b/Master/bin/win32/ps4pdf.exe
Binary files differ
diff --git a/Master/bin/win32/psmerge.exe b/Master/bin/win32/psmerge.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/psmerge.exe
+++ b/Master/bin/win32/psmerge.exe
Binary files differ
diff --git a/Master/bin/win32/pst2pdf.exe b/Master/bin/win32/pst2pdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pst2pdf.exe
+++ b/Master/bin/win32/pst2pdf.exe
Binary files differ
diff --git a/Master/bin/win32/pstopdf.exe b/Master/bin/win32/pstopdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/pstopdf.exe
+++ b/Master/bin/win32/pstopdf.exe
Binary files differ
diff --git a/Master/bin/win32/psv.exe b/Master/bin/win32/psv.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/psv.exe
+++ b/Master/bin/win32/psv.exe
Binary files differ
diff --git a/Master/bin/win32/purifyeps.exe b/Master/bin/win32/purifyeps.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/purifyeps.exe
+++ b/Master/bin/win32/purifyeps.exe
Binary files differ
diff --git a/Master/bin/win32/rlxtools.exe b/Master/bin/win32/rlxtools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/rlxtools.exe
+++ b/Master/bin/win32/rlxtools.exe
Binary files differ
diff --git a/Master/bin/win32/rubibtexx.exe b/Master/bin/win32/rubibtexx.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/rubibtexx.exe
+++ b/Master/bin/win32/rubibtexx.exe
Binary files differ
diff --git a/Master/bin/win32/rumakeindexx.exe b/Master/bin/win32/rumakeindexx.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/rumakeindexx.exe
+++ b/Master/bin/win32/rumakeindexx.exe
Binary files differ
diff --git a/Master/bin/win32/rumakeindexx2.exe b/Master/bin/win32/rumakeindexx2.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/rumakeindexx2.exe
+++ b/Master/bin/win32/rumakeindexx2.exe
Binary files differ
diff --git a/Master/bin/win32/rungs.exe b/Master/bin/win32/rungs.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/rungs.exe
+++ b/Master/bin/win32/rungs.exe
Binary files differ
diff --git a/Master/bin/win32/runscript.dll b/Master/bin/win32/runscript.dll
new file mode 100644
index 00000000000..a46d3977d6d
--- /dev/null
+++ b/Master/bin/win32/runscript.dll
Binary files differ
diff --git a/Master/bin/win32/runtools.exe b/Master/bin/win32/runtools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/runtools.exe
+++ b/Master/bin/win32/runtools.exe
Binary files differ
diff --git a/Master/bin/win32/showglyphs.exe b/Master/bin/win32/showglyphs.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/showglyphs.exe
+++ b/Master/bin/win32/showglyphs.exe
Binary files differ
diff --git a/Master/bin/win32/splitindex.exe b/Master/bin/win32/splitindex.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/splitindex.exe
+++ b/Master/bin/win32/splitindex.exe
Binary files differ
diff --git a/Master/bin/win32/svn-multi.exe b/Master/bin/win32/svn-multi.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/svn-multi.exe
+++ b/Master/bin/win32/svn-multi.exe
Binary files differ
diff --git a/Master/bin/win32/texcount.exe b/Master/bin/win32/texcount.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texcount.exe
+++ b/Master/bin/win32/texcount.exe
Binary files differ
diff --git a/Master/bin/win32/texdirflatten.exe b/Master/bin/win32/texdirflatten.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texdirflatten.exe
+++ b/Master/bin/win32/texdirflatten.exe
Binary files differ
diff --git a/Master/bin/win32/texdoc.exe b/Master/bin/win32/texdoc.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texdoc.exe
+++ b/Master/bin/win32/texdoc.exe
Binary files differ
diff --git a/Master/bin/win32/texdoctk.exe b/Master/bin/win32/texdoctk.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texdoctk.exe
+++ b/Master/bin/win32/texdoctk.exe
Binary files differ
diff --git a/Master/bin/win32/texexec.exe b/Master/bin/win32/texexec.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texexec.exe
+++ b/Master/bin/win32/texexec.exe
Binary files differ
diff --git a/Master/bin/win32/texfont.exe b/Master/bin/win32/texfont.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texfont.exe
+++ b/Master/bin/win32/texfont.exe
Binary files differ
diff --git a/Master/bin/win32/texindy.exe b/Master/bin/win32/texindy.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texindy.exe
+++ b/Master/bin/win32/texindy.exe
Binary files differ
diff --git a/Master/bin/win32/texloganalyser.exe b/Master/bin/win32/texloganalyser.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texloganalyser.exe
+++ b/Master/bin/win32/texloganalyser.exe
Binary files differ
diff --git a/Master/bin/win32/textools.exe b/Master/bin/win32/textools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/textools.exe
+++ b/Master/bin/win32/textools.exe
Binary files differ
diff --git a/Master/bin/win32/texutil.exe b/Master/bin/win32/texutil.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texutil.exe
+++ b/Master/bin/win32/texutil.exe
Binary files differ
diff --git a/Master/bin/win32/texworks.exe b/Master/bin/win32/texworks.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/texworks.exe
+++ b/Master/bin/win32/texworks.exe
Binary files differ
diff --git a/Master/bin/win32/thumbpdf.exe b/Master/bin/win32/thumbpdf.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/thumbpdf.exe
+++ b/Master/bin/win32/thumbpdf.exe
Binary files differ
diff --git a/Master/bin/win32/tmftools.exe b/Master/bin/win32/tmftools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/tmftools.exe
+++ b/Master/bin/win32/tmftools.exe
Binary files differ
diff --git a/Master/bin/win32/ulqda.exe b/Master/bin/win32/ulqda.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/ulqda.exe
+++ b/Master/bin/win32/ulqda.exe
Binary files differ
diff --git a/Master/bin/win32/updmap-sys.exe b/Master/bin/win32/updmap-sys.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/updmap-sys.exe
+++ b/Master/bin/win32/updmap-sys.exe
Binary files differ
diff --git a/Master/bin/win32/updmap.exe b/Master/bin/win32/updmap.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/updmap.exe
+++ b/Master/bin/win32/updmap.exe
Binary files differ
diff --git a/Master/bin/win32/vpe.exe b/Master/bin/win32/vpe.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/vpe.exe
+++ b/Master/bin/win32/vpe.exe
Binary files differ
diff --git a/Master/bin/win32/vpl2ovp.exe b/Master/bin/win32/vpl2ovp.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/vpl2ovp.exe
+++ b/Master/bin/win32/vpl2ovp.exe
Binary files differ
diff --git a/Master/bin/win32/vpl2vpl.exe b/Master/bin/win32/vpl2vpl.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/vpl2vpl.exe
+++ b/Master/bin/win32/vpl2vpl.exe
Binary files differ
diff --git a/Master/bin/win32/xindy.exe b/Master/bin/win32/xindy.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/xindy.exe
+++ b/Master/bin/win32/xindy.exe
Binary files differ
diff --git a/Master/bin/win32/xmltools.exe b/Master/bin/win32/xmltools.exe
index a93ef24732b..5777d90a17a 100755
--- a/Master/bin/win32/xmltools.exe
+++ b/Master/bin/win32/xmltools.exe
Binary files differ
diff --git a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
index 21d4e317134..433bb067f65 100644
--- a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
@@ -26,6 +26,7 @@ runpattern f texmf/web2c/updmap-hdr.cfg
runpattern f tlpkg/installer/config.guess
#
binpattern f bin/${ARCH}/tlmgr
+binpattern f/win32 bin/win32/runscript.dll
binpattern f/win32 bin/win32/tl-w32-wrapper.cmd
binpattern f/win32 bin/win32/tlmgr-gui.vbs
binpattern f/win32 texmf/scripts/texlive/updater-w32