string.Format("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",_appFolderInfo.StartUpFolder,Environment.UserName),
string.Format("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",startupFolder,Environment.UserName),
"Cannot install update because startup folder is not writable by the user");
thrownewUpdateFolderNotWritableException("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",startupFolder,Environment.UserName);
}
if(!_diskProvider.FolderWritable(uiFolder))
{
thrownewUpdateFolderNotWritableException("Cannot install update because startup folder '{0}' is not writable by the user '{1}'.",_appFolderInfo.StartUpFolder,Environment.UserName);
thrownewUpdateFolderNotWritableException("Cannot install update because UI folder '{0}' is not writable by the user '{1}'.",uiFolder,Environment.UserName);