summaryrefslogtreecommitdiffstats
path: root/packaging/wix/install.bat
blob: 24d6a81e71c42a8b6a73de001a4352bcc1ce7a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo set environment parameter ...
rem call wixenv.bat

@echo todo implement custom icon and artwork
@echo todo insert files from ../source/release

@echo build files.wxs
python files.py

@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.msi
@if NOT %ERRORLEVEL% == 0 goto theend

@echo the installer is now created
goto theend

@echo install ...
msiexec /i inkscape.msi /l*v inkscape.log

pause the program is now installed. press any key to run uninstaller ...
@echo deinstall ...
msiexec /x inkscape.msi

@echo ... finished

:theend