Skip to content

Commit

Permalink
setup: include config resources and symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhngtu committed Dec 25, 2023
1 parent 804f450 commit 9591299
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions VietTypeSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ SPDX-License-Identifier: GPL-3.0-only

<MediaTemplate EmbedCab="yes" />

<Feature Id="ProductFeature" Title="VietType" Absent="disallow" AllowAdvertise="no">
<Feature Id="ProductFeature" Title="VietType input method" Absent="disallow" AllowAdvertise="no">
<ComponentGroupRef Id="ProductComponents" />
<Feature Id="DebugSymbolsFeature" Title="Debug symbols" AllowAdvertise="no">
<ComponentGroupRef Id="DebugSymbols" />
</Feature>
</Feature>

<Feature Id="ConfigFeature" Title="Configuration tool" AllowAdvertise="no">
<ComponentGroupRef Id="ConfigComponents" />
</Feature>

<Feature Id="DebugSymbolsFeature" Title="Debug symbols" AllowAdvertise="no">
<ComponentGroupRef Id="DebugSymbols" />
<Feature Id="ConfigDebugSymbolsFeature" Title="Debug symbols for configuration tool" AllowAdvertise="no">
<ComponentGroupRef Id="ConfigDebugSymbols" />
</Feature>
</Feature>

<UIRef Id="VietTypeSetupUI" />
Expand Down Expand Up @@ -133,6 +135,9 @@ SPDX-License-Identifier: GPL-3.0-only
<!-- config -->

<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="ConfigRes_vi" Name="vi" />
</DirectoryRef>
<ComponentGroup Id="ConfigComponents">
<Component Win64="no" Directory="INSTALLFOLDER">
<File Source="$(var.SolutionDir)\VietTypeConfig\bin\$(var.Configuration)\VietTypeConfig.exe" />
Expand All @@ -144,6 +149,9 @@ SPDX-License-Identifier: GPL-3.0-only
<File Source="$(var.SolutionDir)\VietTypeConfig\bin\$(var.Configuration)\VietTypeConfig.exe.config"
DefaultLanguage="!(bind.fileLanguage.VietTypeConfig.exe)" DefaultVersion="!(bind.fileVersion.VietTypeConfig.exe)" />
</Component>
<Component Win64="no" Directory="ConfigRes_vi">
<File Source="$(var.SolutionDir)\VietTypeConfig\bin\$(var.Configuration)\vi\VietTypeConfig.resources.dll" />
</Component>
</ComponentGroup>
</Fragment>

Expand All @@ -166,6 +174,15 @@ SPDX-License-Identifier: GPL-3.0-only
</ComponentGroup>
</Fragment>

<Fragment>
<ComponentGroup Id="ConfigDebugSymbols">
<Component Win64="no" Directory="INSTALLFOLDER">
<File Source="$(var.SolutionDir)\VietTypeConfig\bin\$(var.Configuration)\VietTypeConfig.pdb"
DefaultLanguage="!(bind.fileLanguage.VietTypeConfig.exe)" DefaultVersion="!(bind.fileVersion.VietTypeConfig.exe)" />
</Component>
</ComponentGroup>
</Fragment>

<!-- ################################################################################ -->
<!-- custom actions -->

Expand Down

0 comments on commit 9591299

Please sign in to comment.