diff options
author | Rob Mensching <rob@firegiant.com> | 2022-03-11 16:43:48 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-03-14 12:50:55 -0700 |
commit | 8b959ca40baf44454d03fd14ef98482c52417681 (patch) | |
tree | 604f82d56477c9230a43cd6381732561ab1ae20d /src/api | |
parent | 9337172498d263399b8c5e3795aca1897093d37b (diff) | |
download | wix-8b959ca40baf44454d03fd14ef98482c52417681.tar.gz wix-8b959ca40baf44454d03fd14ef98482c52417681.tar.bz2 wix-8b959ca40baf44454d03fd14ef98482c52417681.zip |
Handle case when invalid icon or splash screen are added to bundle
Fixes 5330
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs index de5646d3..72192c15 100644 --- a/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs +++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs | |||
@@ -183,15 +183,15 @@ namespace WixToolset.Data.Symbols | |||
183 | set => this.Set((int)WixBundleSymbolFields.LogExtension, value); | 183 | set => this.Set((int)WixBundleSymbolFields.LogExtension, value); |
184 | } | 184 | } |
185 | 185 | ||
186 | public string IconSourceFile | 186 | public IntermediateFieldPathValue IconSourceFile |
187 | { | 187 | { |
188 | get => (string)this.Fields[(int)WixBundleSymbolFields.IconSourceFile]; | 188 | get => this.Fields[(int)WixBundleSymbolFields.IconSourceFile].AsPath(); |
189 | set => this.Set((int)WixBundleSymbolFields.IconSourceFile, value); | 189 | set => this.Set((int)WixBundleSymbolFields.IconSourceFile, value); |
190 | } | 190 | } |
191 | 191 | ||
192 | public string SplashScreenSourceFile | 192 | public IntermediateFieldPathValue SplashScreenSourceFile |
193 | { | 193 | { |
194 | get => (string)this.Fields[(int)WixBundleSymbolFields.SplashScreenSourceFile]; | 194 | get => this.Fields[(int)WixBundleSymbolFields.SplashScreenSourceFile].AsPath(); |
195 | set => this.Set((int)WixBundleSymbolFields.SplashScreenSourceFile, value); | 195 | set => this.Set((int)WixBundleSymbolFields.SplashScreenSourceFile, value); |
196 | } | 196 | } |
197 | 197 | ||