diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-04-02 19:23:16 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-04-02 19:35:51 -0400 |
| commit | d1dbe29f3856d012acf5f96e8e66c43b74ab490d (patch) | |
| tree | f7ee5cb481010968524bb97a6184511c0152b8db /src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs | |
| parent | 42727c42248d1cb12ef8d9bc6f8ce7dda3f404c9 (diff) | |
| download | wix-d1dbe29f3856d012acf5f96e8e66c43b74ab490d.tar.gz wix-d1dbe29f3856d012acf5f96e8e66c43b74ab490d.tar.bz2 wix-d1dbe29f3856d012acf5f96e8e66c43b74ab490d.zip | |
Add failing test to demonstrate ProgId bug.
When a parent ProgId has Advertise="yes" and a child ProgId omits Advertise, the compiler assumes it's a non-advertised ProgId. It should be advertised instead.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs new file mode 100644 index 00000000..5166be16 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ProgId/PackageComponents.wxs | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
| 5 | <Component> | ||
| 6 | <File Name="Foo.exe" Source="test.txt" /> | ||
| 7 | <ProgId Id="Foo.File.hol.15" Advertise="yes" Description="Foo Holiday File"> | ||
| 8 | <ProgId Id="Foo.File.hol" /> | ||
| 9 | <Extension Id="hol"> | ||
| 10 | <Verb Id="Open" Argument="/hol "%1"" Sequence="1" /> | ||
| 11 | </Extension> | ||
| 12 | </ProgId> | ||
| 13 | </Component> | ||
| 14 | </ComponentGroup> | ||
| 15 | </Fragment> | ||
| 16 | </Wix> | ||
