windows release candidate build: More fixes to get 'light' to work.
This commit is contained in:
parent
6c8ed00e7b
commit
5028278569
2 changed files with 3 additions and 2 deletions
3
.github/workflows/release-candidate.yml
vendored
3
.github/workflows/release-candidate.yml
vendored
|
@ -68,6 +68,7 @@ jobs:
|
||||||
forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && echo %%WINDOWS%% && copy @path %%RELEASE%%"
|
forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && echo %%WINDOWS%% && copy @path %%RELEASE%%"
|
||||||
stack exec pandoc -- -s --toc MANUAL.txt -o %RELEASE%\MANUAL.html
|
stack exec pandoc -- -s --toc MANUAL.txt -o %RELEASE%\MANUAL.html
|
||||||
stack exec pandoc -- -s COPYING.md -t rtf -o %RELEASE%\COPYING.rtf
|
stack exec pandoc -- -s COPYING.md -t rtf -o %RELEASE%\COPYING.rtf
|
||||||
|
copy %RELEASE%\COPYING.rtf %WINDOWS%
|
||||||
copy COPYRIGHT %RELEASE%\COPYRIGHT.txt
|
copy COPYRIGHT %RELEASE%\COPYRIGHT.txt
|
||||||
cd windows
|
cd windows
|
||||||
echo Creating msi...
|
echo Creating msi...
|
||||||
|
@ -78,7 +79,7 @@ jobs:
|
||||||
%WIXBIN%\candle -arch ${{ matrix.versions.arch }} -dVERSION=%VERSION% -dBINPATH=%RELEASE% *.wxs -out wixobj\
|
%WIXBIN%\candle -arch ${{ matrix.versions.arch }} -dVERSION=%VERSION% -dBINPATH=%RELEASE% *.wxs -out wixobj\
|
||||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||||
echo Running light...
|
echo Running light...
|
||||||
%WIXBIN%\light -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -dBINPATH=%RELEASE% -out %WORKDIR%\pandoc-%VERSION%-${{ matrix.versions.osarch }}-UNSIGNED.msi wixobj\*.wixobj
|
%WIXBIN%\light -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out %WORKDIR%\pandoc-%VERSION%-${{ matrix.versions.osarch }}-UNSIGNED.msi wixobj\*.wixobj
|
||||||
7z a "pandoc-%VERSION%-${{ matrix.versions.osarch }}.zip" pandoc-%VERSION%
|
7z a "pandoc-%VERSION%-${{ matrix.versions.osarch }}.zip" pandoc-%VERSION%
|
||||||
cd ..
|
cd ..
|
||||||
mkdir windows-release-candidate
|
mkdir windows-release-candidate
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<String Id="Language">1033</String>
|
<String Id="Language">1033</String>
|
||||||
<!-- Supported language and codepage codes can be found here: http://www.tramontana.co.hu/wix/lesson2.php#2.4 -->
|
<!-- Supported language and codepage codes can be found here: http://www.tramontana.co.hu/wix/lesson2.php#2.4 -->
|
||||||
|
|
||||||
<String Id="LicenseRtf" Overridable="yes">$(var.BINPATH)\COPYING.rtf</String>
|
<String Id="LicenseRtf" Overridable="yes">COPYING.rtf</String>
|
||||||
|
|
||||||
<String Id="ExitDialogText">[ProductName] was installed in
|
<String Id="ExitDialogText">[ProductName] was installed in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue