Skip to content

Commit fc89cf4

Browse files
committed
Добавлена сборка MSI-установщика.
1 parent f6d32d3 commit fc89cf4

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

appveyor.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,18 @@ build_script:
3535
cmake -G "Visual Studio 12" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBOOST_INCLUDEDIR="%BOOST_INCLUDEDIR%" -DZLIB_LIBRARY=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.8\build\Release\zlibstatic.lib -DZLIB_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\zlib-1.2.8 .
3636
3737
cmake --build . --config Release
38+
39+
after_build:
40+
- cmd: >-
41+
SET PATH=%PATH%;"C:/Program Files (x86)/WiX Toolset v3.10/bin"
42+
43+
candle v8unpack.wxs
44+
45+
light -out v8unpack-%APPVEYOR_BUILD_VERSION%.msi v8unpack.wixobj
46+
3847
artifacts:
3948
- path: Release\*.exe
4049
name: v8unpack
50+
- path: v8unpack-*.msi
51+
name: installer
4152
deploy: off

v8unpack.wxs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
3+
<Product Name='V8 Unpack tool 3.0.41'
4+
Id='bfc3ebc4-07b8-4b8c-a538-a5c16f129200' UpgradeCode='85171950-1e08-40a5-b7cd-84a0652c8fe8'
5+
Manufacturer='dmpas.ru'
6+
Language='1049' Codepage='1251' Version='3.0.41' >
7+
<Package Id='*' Keywords='Installer' Description='V8 Unpack tool 3.0.41'
8+
InstallerVersion='100' Languages='1049' Compressed='yes' SummaryCodepage='1251' />
9+
<Media Id="1" Cabinet="data1.cab" EmbedCab="yes" />
10+
<Directory Id="TARGETDIR" Name="SourceDir">
11+
<Directory Id="ProgramFilesFolder">
12+
<Directory Id="APPLICATIONFOLDER" Name="v8unpack">
13+
<Component Id="V8Unpack_Component" Guid='270290c4-bffb-4c60-874e-f74ad4ca2aaa'>
14+
<File Id='v8unpack.exe' DiskId='1' Source='Release\v8unpack.exe' />
15+
<File Id='LICENSE' DiskId='1' Source='LICENSE' />
16+
</Component>
17+
<Component Id="SetPathVariable" Guid='7f5afde6-7413-490d-8b57-f8eeaa246b13' KeyPath='yes'>
18+
<Environment Action='set' Id='SetPathToInstallFolderToSystemPath'
19+
Name='PATH'
20+
Value="[APPLICATIONFOLDER]"
21+
System='yes'
22+
Permanent='no'
23+
Part='last'
24+
/>
25+
</Component>
26+
</Directory>
27+
</Directory>
28+
</Directory>
29+
<Property Id='ApplicationFolderName' Value='v8unpack' />
30+
<Feature Id="BasicInstallation" Title="v8unpack basic installation" Level="1">
31+
<ComponentRef Id="V8Unpack_Component" />
32+
<ComponentRef Id="SetPathVariable" />
33+
</Feature>
34+
</Product>
35+
</Wix>

0 commit comments

Comments
 (0)