Finished refactoring build process, Added final GUID to MSI, Finished separating build scripts

Update .gitignore, check-and-fix-path.bat, and 9 more files...
This commit is contained in:
2022-11-19 13:16:45 +01:00
parent e2bc49c0f6
commit 6128f9473e
11 changed files with 262 additions and 314 deletions
@@ -79,18 +79,34 @@
</Directory>
<ComponentGroup Id="ProductComponentGroup">
<Component Id="Software" Guid="2b0b66d2-fc39-485b-baee-e5b0da8142a0" Directory="INSTALLFOLDER" Feature="FeatureExecutables" Win64="$(var.Win64)">
<Component Id="Software" Guid="04205639-cc78-42be-974f-d6767df6e3fd" Directory="INSTALLFOLDER" Feature="FeatureExecutables" Win64="$(var.Win64)">
<File KeyPath="yes" Source="$(var.FilePathExecutable)" Name="lscom.exe" />
</Component>
<Component Id="Licenses" Guid="5aa34a6f-2b5c-4544-8979-a20d6c1d3f3c" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<!--
Adding the license files as separate components as per the official documentation's recommendation.
See: https://wixtoolset.org/docs/v3/howtos/files_and_registry/add_a_file/
-->
<Component Id="License_DotNetCore" Guid="599cbdb2-e95a-4377-b082-31f695860c11" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\License_DotNetCore.pdf" Name="License_DotNetCore.pdf" />
</Component>
<Component Id="License_MicrosoftDotNet" Guid="7107be86-a962-4573-9c06-4594764da052" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\License_Microsoft_DotNet.pdf" Name="License_Microsoft_DotNet.pdf" />
</Component>
<Component Id="License_MicrosoftVisualStudio" Guid="ff28223f-47ff-4e11-85f3-50a7f4c6ebc9" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\License_Microsoft_VisualStudio.pdf" Name="License_Microsoft_VisualStudio.pdf" />
</Component>
<Component Id="License_NibblePoker" Guid="b69feeb3-2e1f-4d72-b49c-b9f3331374af" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\License_NibblePoker.pdf" Name="License_NibblePoker.pdf" />
</Component>
<Component Id="License_WindowsSDK" Guid="658d086b-2763-49e6-88c5-50a4d6530d3a" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\License_WindowsSDK.pdf" Name="License_WindowsSDK.pdf" />
</Component>
<Component Id="License_PrivacyMicrosoft" Guid="341c0cef-a71e-4ee4-b52e-f878fd4029fc" Directory="LICENSESFOLDER" Feature="FeatureLicenses" Win64="$(var.Win64)">
<File Source="..\Licenses\PrivacyNotice_Microsoft_2022-09.pdf" Name="PrivacyNotice_Microsoft_2022-09.pdf" />
</Component>
<Component Id="Registry" Guid="73b5468a-97b3-4469-a95d-70330ed229e6" Directory="INSTALLFOLDER" Feature="FeatureRegistryPath" Win64="$(var.Win64)">
<Component Id="Registry" Guid="fa1f61bf-22a3-4768-ac84-6198a3f527eb" Directory="INSTALLFOLDER" Feature="FeatureRegistryPath" Win64="$(var.Win64)">
<Environment Id="UpdatePath" Name="PATH" Part="last" Action="set" Permanent="yes" System="yes" Value="[INSTALLFOLDER]" />
<CreateFolder Directory="INSTALLFOLDER" />
</Component>
@@ -2,7 +2,7 @@
<Include>
<!-- Shared variables -->
<?define ProductManufacturer = "Herwin Bozet" ?>
<?define PackageDescription = "ListComPort (lscom)" ?> <!-- Also reffered to as 'Subject' ! -->
<?define PackageDescription = "ListComPort (lscom)" ?> <!-- Also referred to as 'Subject' ! -->
<?define PackageComments = "This installer database contains the logic and data required to install ListComPort." ?>
<!-- TODO: Add contact, support and help fields ! -->
@@ -12,7 +12,7 @@
<?define Win64 = "yes" ?>
<?define ProductName = "ListComPort (x64)" ?>
<?define ProductUpgradeCode = "1AB189BA-5B13-4448-A916-4E25B814D2AA" ?>
<?define ProductUpgradeCode = "4ca89060-e293-4a37-8b9c-18fa3218598a" ?>
<?define PackagePlatform = "x64" ?>
@@ -22,7 +22,7 @@
<?define Win64 = "no" ?>
<?define ProductName = "ListComPort (x86)" ?>
<?define ProductUpgradeCode = "1F633E9D-7F55-449D-8BC9-56F9E72342E8" ?>
<?define ProductUpgradeCode = "33a888dd-c978-4fd2-947c-87a65ee98912" ?>
<?define PackagePlatform = "x86" ?>
@@ -3,5 +3,5 @@
<!--
Custom string for the license agreement.
-->
<String Id="LicenseAgreementDlgLicenseAcceptedCheckBox">I accept the terms in these License Agreements and Privacy Statement</String>
<String Id="LicenseAgreementDlgLicenseAcceptedCheckBox">I accept all the terms in these License Agreements and Privacy Statement</String>
</WixLocalization>