-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support WiX3-compantible auto-guids for registry key path
- Loading branch information
Showing
9 changed files
with
179 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/wix/test/WixToolsetTest.CoreIntegration/TestData/WiX3CompatibleGuid/Package.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Name="WiX3CompatibleGuid" Codepage="1252" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" Compressed="no" InstallerVersion="200" Scope="perMachine"> | ||
|
||
<MajorUpgrade DowngradeErrorMessage="Dont care" /> | ||
|
||
<Feature Id="ProductFeature" Title="Title"> | ||
<ComponentGroupRef Id="ProductComponents" /> | ||
</Feature> | ||
</Package> | ||
|
||
<Fragment> | ||
<StandardDirectory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLFOLDER" Name="WiX3CompatibleGuid" /> | ||
</StandardDirectory> | ||
</Fragment> | ||
</Wix> |
16 changes: 16 additions & 0 deletions
16
...ix/test/WixToolsetTest.CoreIntegration/TestData/WiX3CompatibleGuid/WiX3CompatibleGuid.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Fragment> | ||
<ComponentGroup Id="ProductComponents" Directory="TARGETDIR"> | ||
<!-- Expecting {8BAF5399-2FD2-50B6-ABDA-98FB3A5BB148} --> | ||
<Component Id="WiX3CompatibleGuid" WiX3CompatibleGuid="yes" Bitness="always32" Condition="x=y"> | ||
<RegistryValue Root="HKLM" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" /> | ||
</Component> | ||
|
||
<!-- Expecting *not* {8BAF5399-2FD2-50B6-ABDA-98FB3A5BB148} --> | ||
<Component Id="WiX4CompatibleGuid" Bitness="always32" Condition="x=z"> | ||
<RegistryValue Root="HKLM" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" /> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |
16 changes: 16 additions & 0 deletions
16
src/wix/test/WixToolsetTest.CoreIntegration/TestData/WiX4CompatibleGuid/Package.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Name="WiX3CompatibleGuid" Codepage="1252" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" Compressed="no" InstallerVersion="200" Scope="perMachine"> | ||
|
||
<MajorUpgrade DowngradeErrorMessage="Dont care" /> | ||
|
||
<Feature Id="ProductFeature" Title="Title"> | ||
<ComponentGroupRef Id="ProductComponents" /> | ||
</Feature> | ||
</Package> | ||
|
||
<Fragment> | ||
<StandardDirectory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLFOLDER" Name="WiX4CompatibleGuid" /> | ||
</StandardDirectory> | ||
</Fragment> | ||
</Wix> |
32 changes: 32 additions & 0 deletions
32
...ix/test/WixToolsetTest.CoreIntegration/TestData/WiX4CompatibleGuid/WiX4CompatibleGuid.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Fragment> | ||
<ComponentGroup Id="ProductComponents" Directory="TARGETDIR"> | ||
|
||
<!-- Expecting {8A4C3648-26AF-5E7E-B64B-D97961856FA4} --> | ||
<Component Directory='TARGETDIR' Bitness="always32" Id="hklm"> | ||
<RegistryValue Root="HKLM" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" Type="string"/> | ||
</Component> | ||
|
||
<!-- Expecting {B40FBCDB-D01C-575F-9030-7B95813A419C} --> | ||
<Component Directory='TARGETDIR' Bitness="always32" Id="hkcr"> | ||
<RegistryValue Root="HKCR" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" Type="string"/> | ||
</Component> | ||
|
||
<!-- Expecting {04EB5AB4-FFF7-53D5-A913-1C146FC61EF2} --> | ||
<Component Directory='TARGETDIR' Bitness="always32" Id="hkcu"> | ||
<RegistryValue Root="HKCU" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" Type="string"/> | ||
</Component> | ||
|
||
<!-- Expecting {C207E21E-B6F4-537A-A8AB-620DD88646D6} --> | ||
<Component Directory='TARGETDIR' Bitness="always32" Id="hku"> | ||
<RegistryValue Root="HKU" Key="SOFTWARE\WiX3CompatiblityCheck" Name="Test" Value="test value" Type="string"/> | ||
</Component> | ||
|
||
<!-- Expecting {65C9D9DC-1485-5F56-AED3-E14B7ACD17BE} --> | ||
<Component Directory='INSTALLFOLDER' Bitness="always32" Id="file"> | ||
<File Source='$(sys.SOURCEFILEPATH)' Name='test.wxs'/> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |