Skip to content

Commit a36e39a

Browse files
authored
Update appveyor.yml
1 parent e12724c commit a36e39a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

appveyor.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,29 @@ only_commits:
99
message: /#build/
1010
build:
1111
verbosity: minimal
12+
before_build:
13+
# Install WiX Toolset
14+
- ps: choco install wixtoolset -y
1215
after_build:
1316
- 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
1423
artifacts:
1524
- path: PixelArtTool.zip
1625
name: deploy
26+
- path: PixelArtTool\bin\Release\PixelArtTool.msi
27+
name: msi
1728
deploy:
1829
- provider: GitHub
1930
auth_token:
2031
secure: owXuGIGNRJishGcvR2fMDTTW65dKLyw+W0/Zb8MVoKaVNeMogpT434k6ZlD/Mp8o
2132
artifact: deploy
33+
- provider: GitHub
34+
auth_token:
35+
secure: owXuGIGNRJishGcvR2fMDTTW65dKLyw+W0/Zb8MVoKaVNeMogpT434k6ZlD/Mp8o
36+
artifact: msi
37+

0 commit comments

Comments
 (0)