Application wyUpdate in some cases incorrectly updates.
- file "client.wyc" is updated to the newer version, but the file "mainapp.exe" remains unchanged. - This is incorrect behavior:
Steps in the application:
2011-03-21 08:25:20,874 [4024] INFO wyUpdate.frmMain, Text: ------------------------------------------Start--------------------------------------------- 2011-03-21 08:25:21,100 [4024] INFO SetVisibleCore startStep Checking isAutoUpdateMode True uninstalling False2011-03-21 08:25:21,103 [4024] INFO PrepareStepOn Checking2011-03-21 08:25:22,853 [4024] INFO frmMain:InstallUpdates Extracting2011-03-21 08:25:23,980 [4024] INFO frmMain:InstallUpdates ClosingProcesses2011-03-21 08:25:24,029 [4024] INFO frmMain:InstallUpdates ClosingProcesses2011-03-21 08:25:24,224 [4024] INFO frmMain:InstallUpdates PreExecute2011-03-21 08:25:24,225 [4024] INFO frmMain:BlockLogOff() True2011-03-21 08:25:24,229 [4024] INFO frmMain:InstallUpdates BackUpInstalling2011-03-21 08:25:24,237 [4024] INFO frmMain:InstallUpdates ModifyReg2011-03-21 08:25:24,241 [4024] INFO frmMain:InstallUpdates OptimizeExecute2011-03-21 08:25:24,245 [5732] INFO InstallUpdate: totalFiles: 52011-03-21 08:25:24,246 [4024] INFO frmMain:InstallUpdates WriteClientFile
Updating a "client.wyc be made ??now, but this is not correct.
2011-03-21 08:25:24,247 [5732] INFO InstalUpdate: UpdateFiles tempDir C:\Users\spiller\wc\6\base2011-03-21 08:25:24,247 [5732] INFO Start copy: .update-5936-OK2011-03-21 08:25:24,247 [5732] INFO Start backup: .update-5936-OK2011-03-21 08:25:24,248 [5732] INFO End backup: .update-5936-OK2011-03-21 08:25:24,249 [5732] INFO Start replace: .update-5936-OK2011-03-21 08:25:24,249 [5732] INFO End replace: .update-5936-OK2011-03-21 08:25:24,249 [5732] INFO End copy: .update-5936-OK2011-03-21 08:25:24,249 [5732] INFO Start copy: Tis.exe2011-03-21 08:25:24,249 [5732] INFO Start backup: Tis.exe2011-03-21 08:25:24,332 [4024] INFO frmMain:InstallUpdates DeletingTemp2011-03-21 08:25:24,332 [4024] INFO wyUpdate.frmMain, Text: wyUpdate2011-03-21 08:25:24,371 [4024] INFO frmMain:BlockLogOff() False2011-03-21 08:25:24,386 [5732] INFO End backup: Tis.exe2011-03-21 08:25:24,386 [5732] INFO Start replace: Tis.exe2011-03-21 08:25:24,387 [5732] INFO Error: -2147024893Marshal.GetHRForException(IOEx)
Now do I upgrade my own application ", but the error is terminated. The whole installation step is forcibly terminated. Is executed or return to the original "client.wyc"status.
Error:System.IO.DirectoryNotFoundException: ?t cesty C:\Users\Hares\wc\65\base\Tis.exe nebyla nalezena. v System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) v System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) v System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) v wyUpdate.InstallUpdate.UpdateFiles(String tempDir, String progDir, String backupFolder, List`1 rollbackList, Int32& totalDone, Int32& totalFiles)
The application behaves as new but not new.
int HResult = Marshal.GetHRForException(IOEx);
// if sharing violation if ((HResult & 0xFFFF) == 32) {
}
throw; ❓ ❓ ❓ ❓ ❓