public void FreshInstallationTasks(string promoCode) { string installerFileName = ApplicationSettingsConstant.InstallerFileName; _logService.Log("Begin StartupService.DoFirstRunTasks", installerFileName); _logService.Log("Creating Directory Structure", installerFileName); _dataService.CreateDataDirectoryStructure(); _logService.Log("Creating Database and Tables", installerFileName); _dataService.CreateDatabase(); _logService.Log(string.Format("{0} {1}", "Storing Promo Code", promoCode), installerFileName); _globalOptionService.EnsureGlobalOptionExists(SettingConstant.PromoCodeKey, promoCode); _logService.Log("Initializing Registration Id", installerFileName); _globalOptionService.EnsureGlobalOptionExists(SettingConstant.RegistrationKey, "-1"); _logService.Log("Initializing Machine", installerFileName); _globalOptionService.EnsureGlobalOptionExists(SettingConstant.MachineKey, ""); _logService.Log("Upldating Splash Screen from the Imagery Concepts Website", installerFileName); _promoService.UpdatePromo(); _logService.Log("Setting UI Culture", installerFileName); InitializeCulture(); }