static private UserOrDefaultContentOf ( string extenalFilePath, string srcDir, string outDir, string fileName, object defaultContent ) : string | ||
extenalFilePath | string | |
srcDir | string | |
outDir | string | |
fileName | string | |
defaultContent | object | |
return | string |
internal string DialogBannerFileFor(Project project) { return(UIExtensions.UserOrDefaultContentOf(project.BannerImage, project.SourceBaseDir, project.OutDir, project.Name + ".dialog_banner.png", Resources.WixUI_Bmp_Banner)); }
internal string LicenceFileFor(Project project) { return(UIExtensions.UserOrDefaultContentOf(project.LicenceFile, project.SourceBaseDir, project.OutDir, project.Name + ".licence.rtf", Resources.WixSharp_LicenceFile)); }
internal string DialogBitmapFileFor(Project project) { return(UIExtensions.UserOrDefaultContentOf(project.BackgroundImage, project.SourceBaseDir, project.OutDir, project.Name + ".dialog_bmp.png", Resources.WixUI_Bmp_Dialog)); }
internal string LocalizationFileFor(Project project) { return(UIExtensions.UserOrDefaultContentOf(project.LocalizationFile, project.SourceBaseDir, project.OutDir, project.Name + ".wxl", Resources.WixUI_en_us)); }