File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,13 @@ build:
12
12
install :
13
13
- set path=c:\Program Files (x86)\WiX Toolset v3.11\bin;%path%
14
14
after_build :
15
+ - ps : |
16
+ $guid = [System.Guid]::NewGuid().ToString().ToUpper()
17
+ Write-Host "Generated GUID: $guid"
18
+ (Get-Content C:\projects\pixelarttool\PixelArtTool\Installer.wxs) -replace 'PUT-GUID-HERE', $guid | Set-Content C:\projects\pixelarttool\PixelArtTool\Installer.wxs
15
19
- cmd : 7z a PixelArtTool.zip %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release\*.exe.config
16
20
- cmd : cd %APPVEYOR_BUILD_FOLDER%
17
- - cmd : candle -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj C:\projects\pixelarttool\Installer.wxs
21
+ - cmd : candle -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj C:\projects\pixelarttool\PixelArtTool\ Installer.wxs
18
22
- cmd : cd %APPVEYOR_BUILD_FOLDER%
19
23
- cmd : light -nologo -out %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool.wixobj
20
24
- cmd : copy %APPVEYOR_BUILD_FOLDER%\PixelArtTool.msi %APPVEYOR_BUILD_FOLDER%\PixelArtTool\bin\Release
You can’t perform that action at this time.
0 commit comments