Added installer UI

This commit is contained in:
Antoine Gersant 2016-09-25 17:13:24 -07:00
parent 22a0351bf3
commit 1153087a3c
6 changed files with 12 additions and 3 deletions

View file

@ -15,13 +15,16 @@ Remove-Item -Recurse .\release\tmp\*
Copy-Item .\target\release\polaris.exe .\release\tmp\
Copy-Item .\res\libeay32.dll .\release\tmp\
Copy-Item .\res\libeay32md.dll .\release\tmp\
Copy-Item .\res\DefaultConfig.toml .\release\tmp\polaris.toml
Copy-Item .\res\default_config.toml .\release\tmp\polaris.toml
Copy-Item .\web\ .\release\tmp\ -recurse
Copy-Item .\res\license.rtf .\release\tmp\
Copy-Item .\res\banner.bmp .\release\tmp\
Copy-Item .\res\dialog.bmp .\release\tmp\
""
"Creating installer"
candle -wx -arch x64 -out .\release\tmp\installer.wixobj .\res\installer.wxs
light -wx -spdb -out .\release\Polaris_0.1.0.msi .\release\tmp\installer.wixobj
candle -wx -arch x64 -out .\release\tmp\installer.wixobj .\res\installer.wxs
light -wx -spdb -ext WixUIExtension -out .\release\Polaris_0.1.0.msi .\release\tmp\installer.wixobj
"Cleaning up"
Remove-Item -Recurse .\release\tmp

BIN
res/banner.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
res/dialog.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 KiB

View file

@ -86,5 +86,11 @@
<Icon Id='polaris.exe' SourceFile='polaris.exe' />
<Property Id='ARPPRODUCTICON' Value='polaris.exe' />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_DIR" />
<UIRef Id="WixUI_Minimal" />
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
<WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" />
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" />
</Product>
</Wix>

BIN
res/license.rtf Normal file

Binary file not shown.