Skip to content

Commit 4b79459

Browse files
FEAT: Add vcredist components
1 parent e9cc65b commit 4b79459

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

Installer/Installer.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Global
1919
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|ARM64.Build.0 = Debug|ARM64
2020
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x64.ActiveCfg = Debug|x64
2121
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x64.Build.0 = Debug|x64
22-
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x86.ActiveCfg = Debug|x86
23-
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x86.Build.0 = Debug|x86
22+
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x86.ActiveCfg = Release|x64
23+
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Debug|x86.Build.0 = Release|x64
2424
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Release|ARM64.ActiveCfg = Release|ARM64
2525
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Release|ARM64.Build.0 = Release|ARM64
2626
{0DF7A894-E69A-46AF-96E4-B2BB462C9F7E}.Release|x64.ActiveCfg = Release|x64

Installer/Package.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ComponentGroupRef Id="ShaderComponents" />
2121
</Feature>
2222
<Feature Id="VCredist">
23-
<!-- VCredist -->
23+
<!-- Visual C++ Redustributable libraries -->
2424
<ComponentGroupRef Id="VCredist" />
2525
</Feature>
2626
</Feature>

Installer/VCredist.wxs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
<Fragment>
33
<ComponentGroup Id="VCredist" Directory="INSTALLFOLDER">
44
<Component>
5-
<File Source="VCredist.wxs" />
5+
<!-- We wrap single files in components to let the linker generate the GUIDs -->
6+
<File Source="$(VisualStudoRedistDir)\msvcp140.dll" />
7+
</Component>
8+
<Component>
9+
<File Source="$(VisualStudoRedistDir)\vcruntime140.dll" />
10+
</Component>
11+
<Component>
12+
<File Source="$(VisualStudoRedistDir)\vcruntime140_1.dll" />
613
</Component>
714
</ComponentGroup>
815
</Fragment>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ As such, this repository currently aims to adapt their presently available docum
1010
As FireGiant puts out new documentation, we will revisit and continue to refine this repository to provide more comprehensive instructions,
1111
as well as a more pleasing UI.
1212

13+
You may find the official tutorial [here](https://www.firegiant.com/docs/wix/tutorial/), and the official docs [here](https://wixtoolset.org/docs/intro/).
14+
1315
## A rose by any other name would smell as sweet
1416

1517
SunnyFORM is designed as a part of the toolchain for CastFORM, a Pokémon registration sheet filler.
@@ -57,6 +59,7 @@ WiX supports a number of interfaces including CLI - we decided to go with the Vi
5759
3. Navigate to `Package.wxs`, and under the `Package`tag, update the version number attribute
5860
4. Check if the the folder structure in `CastFORM/build/windows/runner/Release` has changed, and update `Folders.wxs` accordingly
5961
5. Check if the file structure has changed, and update `AppComponents.wxs` accordingly
62+
6. In the top toolbar got to `Build > Build Solution`
6063

6164
## How To Use HeatWave for Flutter Projects
6265

@@ -94,6 +97,7 @@ which may be suitable for large projects but unlikely to be necessary for our in
9497
- To use preprocessor variables, see step 2
9598
11. Repeat for Visual C++ Redustributable libraries
9699
- See our `VRredist.wxs` for reference
100+
12. In the top toolbar got to `Build > Build Solution`
97101

98102
## Disclaimer
99103

0 commit comments

Comments
 (0)