Preliminary changes to windows installer script.
This commit is contained in:
parent
e97b54b123
commit
8f6c27920d
2 changed files with 17 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
|||
@echo off
|
||||
cd ..
|
||||
rem cabal update
|
||||
cabal update
|
||||
cabal-dev clean
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
cabal-dev install --reinstall --force-reinstall --flags="embed_data_files"
|
||||
cabal-dev add-source ../pandoc-types
|
||||
cabal-dev add-source ../pandoc-citeproc
|
||||
cabal-dev install hsb2hs
|
||||
cabal-dev install --reinstall --flags="embed_data_files unicode_collation" --extra-lib-dirs=../icu/lib --extra-include-dirs=../icu/include pandoc-citeproc
|
||||
cabal-dev install --reinstall --flags="embed_data_files"
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
strip cabal-dev\bin\pandoc.exe
|
||||
cabal-dev\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
|
||||
|
|
|
@ -51,6 +51,17 @@
|
|||
Source="..\COPYING.rtf" />
|
||||
</Component>
|
||||
|
||||
<Component Id="CitationSupport"
|
||||
Guid="0A214839-2E69-4026-8DBB-0F0A9DB75C12">
|
||||
<RegistryValue Root="HKMU" Key="Software\John MacFarlane\Pandoc"
|
||||
Name="Version" Type="string" Value="[ProductVersion]" KeyPath="yes"/>
|
||||
<RemoveFolder Id="APPLICATIONFOLDER" On="uninstall"/>
|
||||
<File Id="pandoc_citeprocEXE" Name="pandoc-citeproc.exe"
|
||||
Source="..\cabal-dev\bin\pandoc-citeproc.exe" />
|
||||
<File Id="biblio2yamlEXE" Name="biblio2yaml.exe"
|
||||
Source="..\cabal-dev\bin\biblio2yaml.exe" />
|
||||
</Component>
|
||||
|
||||
<Component Id="UpdatePathUser"
|
||||
Guid="C7B71304-09FC-421D-9EA2-AEFB7D61759D">
|
||||
<Condition><![CDATA[ ALLUSERS="" OR (ALLUSERS=2 AND (NOT Privileged)) ]]></Condition>
|
||||
|
|
Loading…
Reference in a new issue