diff options
Diffstat (limited to 'src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs')
-rw-r--r-- | src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs b/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs index bf0473d2..53636509 100644 --- a/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs +++ b/src/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | |||
@@ -125,7 +125,7 @@ namespace WixToolset.Core.Burn.Bundles | |||
125 | version.FileVersion = fourPartVersion; | 125 | version.FileVersion = fourPartVersion; |
126 | version.ProductVersion = fourPartVersion; | 126 | version.ProductVersion = fourPartVersion; |
127 | 127 | ||
128 | var strings = version[1033]; | 128 | var strings = version[1033] ?? version.Add(1033); |
129 | strings["LegalCopyright"] = bundleInfo.Copyright; | 129 | strings["LegalCopyright"] = bundleInfo.Copyright; |
130 | strings["OriginalFilename"] = Path.GetFileName(outputPath); | 130 | strings["OriginalFilename"] = Path.GetFileName(outputPath); |
131 | strings["FileVersion"] = bundleInfo.Version; // string versions do not have to be four parts. | 131 | strings["FileVersion"] = bundleInfo.Version; // string versions do not have to be four parts. |