From 8b959ca40baf44454d03fd14ef98482c52417681 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 11 Mar 2022 16:43:48 -0800 Subject: Handle case when invalid icon or splash screen are added to bundle Fixes 5330 --- src/api/wix/WixToolset.Data/Symbols/WixBundleSymbol.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/api') 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 set => this.Set((int)WixBundleSymbolFields.LogExtension, value); } - public string IconSourceFile + public IntermediateFieldPathValue IconSourceFile { - get => (string)this.Fields[(int)WixBundleSymbolFields.IconSourceFile]; + get => this.Fields[(int)WixBundleSymbolFields.IconSourceFile].AsPath(); set => this.Set((int)WixBundleSymbolFields.IconSourceFile, value); } - public string SplashScreenSourceFile + public IntermediateFieldPathValue SplashScreenSourceFile { - get => (string)this.Fields[(int)WixBundleSymbolFields.SplashScreenSourceFile]; + get => this.Fields[(int)WixBundleSymbolFields.SplashScreenSourceFile].AsPath(); set => this.Set((int)WixBundleSymbolFields.SplashScreenSourceFile, value); } -- cgit v1.2.3-55-g6feb