File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,29 @@ only_commits:
9
9
message : /#build/
10
10
build :
11
11
verbosity : minimal
12
+ before_build :
13
+ # Install WiX Toolset
14
+ - ps : choco install wixtoolset -y
12
15
after_build :
13
16
- cmd : 7z a PixelArtTool.zip %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe.config
17
+ # Build MSI using WiX
18
+ - cmd : candle -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj %APPVEYOR_BUILD_FOLDER%\PixelArtTool\Installer.wxs
19
+ working_directory : %APPVEYOR_BUILD_FOLDER%
20
+ - cmd : light -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj
21
+ working_directory : %APPVEYOR_BUILD_FOLDER%
22
+ - cmd : copy %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release
14
23
artifacts :
15
24
- path : PixelArtTool.zip
16
25
name : deploy
26
+ - path : PixelArtTool\bin\Release\PixelArtTool.msi
27
+ name : msi
17
28
deploy :
18
29
- provider : GitHub
19
30
auth_token :
20
31
secure : owXuGIGNRJishGcvR2fMDTTW65dKLyw+W0/Zb8MVoKaVNeMogpT434k6ZlD/Mp8o
21
32
artifact : deploy
33
+ - provider : GitHub
34
+ auth_token :
35
+ secure : owXuGIGNRJishGcvR2fMDTTW65dKLyw+W0/Zb8MVoKaVNeMogpT434k6ZlD/Mp8o
36
+ artifact : msi
37
+
You can’t perform that action at this time.
0 commit comments