From 35a96bde514a8897f6f0fcc41c5833bf63df2e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:29:01 +0200 Subject: Adding upstream version 1.0.2. Signed-off-by: Daniel Baumann --- packaging/wix/install.bat | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packaging/wix/install.bat (limited to 'packaging/wix/install.bat') diff --git a/packaging/wix/install.bat b/packaging/wix/install.bat new file mode 100644 index 0000000..f0dd0bd --- /dev/null +++ b/packaging/wix/install.bat @@ -0,0 +1,34 @@ + +@echo build files.wxs +python files.py +@if NOT %ERRORLEVEL% == 0 goto theend + +@echo create version information +for /f "tokens=*" %%a in ('python version.py') do (set INKSCAPE_VER=%%a) +@if NOT %ERRORLEVEL% == 0 goto theend + +@echo call wix compiler ... +candle inkscape.wxs -ext WiXUtilExtension +@if NOT %ERRORLEVEL% == 0 goto theend + +candle files.wxs +@if NOT %ERRORLEVEL% == 0 goto theend + +@echo call wix linker ... +light -ext WixUIExtension -ext WiXUtilExtension inkscape.wixobj files.wixobj -o inkscape-%INKSCAPE_VER%.msi +@if NOT %ERRORLEVEL% == 0 goto theend + +@echo the installer is now created +@rem uncomment following line if you want to test the installer +goto theend + +@echo install ... +msiexec /i inkscape-%INKSCAPE_VER%.msi /l*v inkscape.log + +pause the program is now installed. press any key to run uninstaller ... +@echo deinstall ... +msiexec /x inkscape-%INKSCAPE_VER%.msi + + +:theend +@echo ... finished \ No newline at end of file -- cgit v1.2.3