diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-19 15:37:24 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-19 15:56:43 -0600 |
| commit | 0741acf89631bf226acb2d226981f0de0065c1f1 (patch) | |
| tree | dce9d870f4bc43dcd416df696f4a1d2cd90aa52e /src/WixToolset.Core.Burn | |
| parent | 2fccb302778f71cffb4791131bedf1bf7267b94e (diff) | |
| download | wix-0741acf89631bf226acb2d226981f0de0065c1f1.tar.gz wix-0741acf89631bf226acb2d226981f0de0065c1f1.tar.bz2 wix-0741acf89631bf226acb2d226981f0de0065c1f1.zip | |
Add warning for non-x86 bundles.
Diffstat (limited to 'src/WixToolset.Core.Burn')
| -rw-r--r-- | src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs b/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs index dce28e82..66257ce3 100644 --- a/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs +++ b/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | |||
| @@ -56,6 +56,11 @@ namespace WixToolset.Core.Burn.Bundles | |||
| 56 | var stubPlatform = this.BundleSymbol.Platform.ToString(); | 56 | var stubPlatform = this.BundleSymbol.Platform.ToString(); |
| 57 | var stubFile = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), stubPlatform, "burn.exe"); | 57 | var stubFile = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), stubPlatform, "burn.exe"); |
| 58 | 58 | ||
| 59 | if (stubPlatform != "X86") | ||
| 60 | { | ||
| 61 | this.Messaging.Write(WarningMessages.ExperimentalBundlePlatform(stubPlatform)); | ||
| 62 | } | ||
| 63 | |||
| 59 | var bundleTempPath = Path.Combine(this.IntermediateFolder, bundleFilename); | 64 | var bundleTempPath = Path.Combine(this.IntermediateFolder, bundleFilename); |
| 60 | 65 | ||
| 61 | this.Messaging.Write(VerboseMessages.GeneratingBundle(bundleTempPath, stubFile)); | 66 | this.Messaging.Write(VerboseMessages.GeneratingBundle(bundleTempPath, stubFile)); |
