Added cfg files as optional feature to WiX installer

This commit is contained in:
PKEuS 2013-08-03 19:20:12 +02:00
parent 5a92af2556
commit f1285a0184
3 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,7 @@
<?define CliBuildDir = "..\bin" ?>
<?define GuiBuildDir = "..\bin" ?>
<?define TranslationsDir = "..\gui" ?>
<?define CfgsDir = "..\cfg" ?>
<?define HelpDir = "..\gui\help" ?>
<?define QtDllDir = "..\bin" ?>
<?define CrtMergeModule = "$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC100_CRT_x86.msm" ?>

View File

@ -51,6 +51,12 @@
<File Id='cppcheck_sr.qm' Name='cppcheck_sr.qm' Source='$(var.TranslationsDir)\cppcheck_sr.qm' />
<File Id='cppcheck_zh_CN.qm' Name='cppcheck_zh_CN.qm' Source='$(var.TranslationsDir)\cppcheck_zh_CN.qm' />
</Component>
<Directory Id='CfgsFolder' Name='cfg'>
<Component Id='Cfgs' Guid='$(var.cfgsGUID)'>
<File Id='std.cfg' Name='std.cfg' Source='$(var.CfgsDir)\std.cfg' />
<File Id='gtk.cfg' Name='gtk.cfg' Source='$(var.CfgsDir)\gtk.cfg' />
</Component>
</Directory>
<Component Id='BaseDocs' Guid='$(var.basedocsGUID)'>
<File Id='authors.txt' Name='authors.txt' DiskId='1' Source='..\authors' />
<File Id='readme.txt' Name='readme.txt' DiskId='1' Source='..\readme.txt' />
@ -114,6 +120,9 @@
</Feature>
<ComponentRef Id='ProgramMenuDir' />
</Feature>
<Feature Id='ConfigFiles' Title='Default configurations' AllowAdvertise='no' Description='Provide default configuration files, for example for standard library or GTK' Level='1'>
<ComponentRef Id='Cfgs' />
</Feature>
<Feature Id="CRT" AllowAdvertise="no" Display="hidden" Level="1" Title="Microsoft Visual C++ 2010 Runtime Components">
<MergeRef Id="CRT"/>
</Feature>

View File

@ -12,6 +12,7 @@
<?define cppcheckcoreGUID = "1c31dd76-07fa-4420-b9b5-5463742d6a49" ?>
<?define guiGUID = "D7D3FF8E-1D82-4215-B59B-4715A748C540" ?>
<?define guiTranslationsGUID = "24738151-890D-4fcc-824C-DA7FF63E0D7F" ?>
<?define cfgsGUID = "3A8AE067-5F41-4D29-A35C-CC0FAB648608" ?>
<?define basedocsGUID = "9F62B23C-CD2B-4826-A567-6AB6F75A2AEA" ?>
<?define registrykeysGUID = "8CB515B1-6EF6-4A2A-97A0-F8A13E3A505E" ?>
</Include>