diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-09-27 22:01:36 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-09-27 22:05:14 -0400 |
| commit | c1f7e431ba09005bcc173bc251882d5761069376 (patch) | |
| tree | 90608e80ae338df2ddbc1531eddb685d245eadd3 /src/test/WixToolsetTest.Util/TestData | |
| parent | efd56dab431aea59eadb120bb72277b7336f23f8 (diff) | |
| download | wix-c1f7e431ba09005bcc173bc251882d5761069376.tar.gz wix-c1f7e431ba09005bcc173bc251882d5761069376.tar.bz2 wix-c1f7e431ba09005bcc173bc251882d5761069376.zip | |
Modularize IconFile
Diffstat (limited to 'src/test/WixToolsetTest.Util/TestData')
6 files changed, 41 insertions, 3 deletions
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.ico b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.ico new file mode 100644 index 00000000..53134de7 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.ico | |||
| Binary files differ | |||
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcut/PackageComponents.wxs b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/PackageComponents.wxs index 5319d2f7..2a1b4347 100644 --- a/src/test/WixToolsetTest.Util/TestData/InternetShortcut/PackageComponents.wxs +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/PackageComponents.wxs | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 2 | <Fragment> | 2 | <Fragment> |
| 3 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | 3 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 4 | <Component> | 4 | <Component> |
| 5 | <File Source="example.txt" /> | 5 | <File Id="Package.ico" Source="Package.ico" /> |
| 6 | <util:InternetShortcut Id="wixshortcut" Name="WiX Toolset" Target="https://wixtoolset.org" /> | 6 | <util:InternetShortcut Type="link" Name="WiX Toolset (link)" Target="https://wixtoolset.org" IconFile="[#Package.ico]" /> |
| 7 | <util:InternetShortcut Type="url" Name="WiX Toolset (url)" Target="https://wixtoolset.org" IconFile="[#Package.ico]" /> | ||
| 7 | </Component> | 8 | </Component> |
| 8 | </ComponentGroup> | 9 | </ComponentGroup> |
| 9 | </Fragment> | 10 | </Fragment> |
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.en-us.wxl b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.en-us.wxl new file mode 100644 index 00000000..38c12ac1 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.en-us.wxl | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | |||
| 3 | <!-- | ||
| 4 | This file contains the declaration of all the localizable strings. | ||
| 5 | --> | ||
| 6 | <WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US"> | ||
| 7 | |||
| 8 | <String Id="DowngradeError">A newer version of [ProductName] is already installed.</String> | ||
| 9 | <String Id="FeatureTitle">MsiPackage</String> | ||
| 10 | |||
| 11 | </WixLocalization> | ||
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.ico b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.ico new file mode 100644 index 00000000..53134de7 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.ico | |||
| Binary files differ | |||
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs new file mode 100644 index 00000000..f38295e7 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
| 2 | <Module Language="1033" Version="1.0.0.0" Id="InternetShortcutModule"> | ||
| 3 | <Package Id="047730a5-30fe-4a62-a520-da9381b8226a" Manufacturer="Example Corporation" /> | ||
| 4 | |||
| 5 | <ComponentGroupRef Id="ProductComponents" /> | ||
| 6 | </Module> | ||
| 7 | |||
| 8 | <Fragment> | ||
| 9 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 10 | <Directory Id="ProgramFilesFolder"> | ||
| 11 | <Directory Id="INSTALLFOLDER" Name="MergeModule" /> | ||
| 12 | </Directory> | ||
| 13 | </Directory> | ||
| 14 | </Fragment> | ||
| 15 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/PackageComponents.wxs b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/PackageComponents.wxs new file mode 100644 index 00000000..2a1b4347 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/PackageComponents.wxs | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
| 2 | <Fragment> | ||
| 3 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
| 4 | <Component> | ||
| 5 | <File Id="Package.ico" Source="Package.ico" /> | ||
| 6 | <util:InternetShortcut Type="link" Name="WiX Toolset (link)" Target="https://wixtoolset.org" IconFile="[#Package.ico]" /> | ||
| 7 | <util:InternetShortcut Type="url" Name="WiX Toolset (url)" Target="https://wixtoolset.org" IconFile="[#Package.ico]" /> | ||
| 8 | </Component> | ||
| 9 | </ComponentGroup> | ||
| 10 | </Fragment> | ||
| 11 | </Wix> | ||
