Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.36k stars 1.03k forks source link

Fresh Installation fails #528

Closed Dubey-Quod closed 8 years ago

Dubey-Quod commented 8 years ago

Hi, I am trying to install my app after creating the installer through Squirrel. I am getting below error: sqfail

Below is the error log:

2015-12-18 16:57:06> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Manish\AppData\Local\SquirrelTemp
2015-12-18 16:57:06> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-12-18 16:57:06> ApplyReleasesImpl: Writing files to app directory: C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\DeltaCompressionDotNet.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\DeltaCompressionDotNet.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\DeltaCompressionDotNet.PatchApi.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\DeltaCompressionDotNet.PatchApi.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\DeltaCompressionDotNet.MsDelta.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\DeltaCompressionDotNet.MsDelta.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\ICSharpCode.SharpZipLib.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\ICSharpCode.SharpZipLib.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\JsonRequest.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\JsonRequest.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Mono.Cecil.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Mono.Cecil.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Mono.Cecil.Mdb.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Mono.Cecil.Mdb.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Mono.Cecil.Pdb.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Mono.Cecil.Pdb.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Mono.Cecil.Rocks.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Mono.Cecil.Rocks.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Newtonsoft.Json.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Newtonsoft.Json.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\NuGet.Squirrel.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\NuGet.Squirrel.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.application to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.application
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.exe to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.exe
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.exe.manifest to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.exe.manifest
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.application to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.vshost.application
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe.config to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.vshost.exe.config
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.pdb to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.pdb
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.exe.config to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.exe.config
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.vshost.exe
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe.manifest to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\SmarterTimeWindows.vshost.exe.manifest
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Splat.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Splat.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\System.Net.Http.Formatting.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\System.Net.Http.Formatting.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\System.Reactive.Interfaces.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\System.Reactive.Interfaces.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\System.Reactive.PlatformServices.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\System.Reactive.PlatformServices.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Squirrel.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Squirrel.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\System.Reactive.Core.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\System.Reactive.Core.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\System.Reactive.Linq.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\System.Reactive.Linq.dll
2015-12-18 16:57:06> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\lib\net45\Update.exe to C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Update.exe
2015-12-18 16:57:06> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Manish\AppData\Local\SmarterTimeWindows\app-1.0.0\Update.exe]
2015-12-18 16:57:09> ApplyReleasesImpl: Starting fixPinnedExecutables
2015-12-18 16:57:09> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2015-12-18 16:57:09> ApplyReleasesImpl: Fixing up tray icons
2015-12-18 16:57:09> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.0
2015-12-18 16:57:09> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.0.0
cratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2015-12-18 16:57:07> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Manish\AppData\Local\SquirrelTemp
2015-12-18 16:57:07> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-12-18 16:57:07> ApplyReleasesImpl: Writing files to app directory: C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\DeltaCompressionDotNet.MsDelta.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\DeltaCompressionDotNet.MsDelta.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\DeltaCompressionDotNet.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\DeltaCompressionDotNet.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\ICSharpCode.SharpZipLib.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\ICSharpCode.SharpZipLib.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\DeltaCompressionDotNet.PatchApi.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\DeltaCompressionDotNet.PatchApi.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\JsonRequest.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\JsonRequest.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Mono.Cecil.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Mono.Cecil.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Mono.Cecil.Mdb.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Mono.Cecil.Mdb.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Mono.Cecil.Pdb.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Mono.Cecil.Pdb.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Mono.Cecil.Rocks.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Mono.Cecil.Rocks.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Newtonsoft.Json.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Newtonsoft.Json.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\NuGet.Squirrel.pdb to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\NuGet.Squirrel.pdb
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.application to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.application
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.exe to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\NuGet.Squirrel.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\NuGet.Squirrel.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.exe.config to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe.config
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.pdb to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.pdb
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.vshost.exe
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe.manifest to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.vshost.exe.manifest
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.exe.config to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.vshost.exe.config
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.exe.manifest to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe.manifest
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\SmarterTimeWindows.vshost.application to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.vshost.application
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Splat.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Splat.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Splat.pdb to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Splat.pdb
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Squirrel.pdb to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Squirrel.pdb
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\System.Reactive.Core.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\System.Reactive.Core.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\System.Reactive.Linq.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\System.Reactive.Linq.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\Squirrel.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\Squirrel.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\System.Net.Http.Formatting.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\System.Net.Http.Formatting.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\System.Reactive.Interfaces.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\System.Reactive.Interfaces.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Moving file C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\lib\net45\System.Reactive.PlatformServices.dll to C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\System.Reactive.PlatformServices.dll
2015-12-18 16:57:07> ApplyReleasesImpl: Squirrel Enabled Apps: []
2015-12-18 16:57:07> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2015-12-18 16:57:07> ApplyReleasesImpl: About to create shortcuts for SmarterTimeWindows.exe, rootAppDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage
2015-12-18 16:57:07> ApplyReleasesImpl: Creating shortcut for SmarterTimeWindows.exe => C:\Users\Manish\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft\SmarterTimeWindows.lnk
2015-12-18 16:57:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Manish\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft\SmarterTimeWindows.lnk (target C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\Update.exe, workingDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0, args --processStart SmarterTimeWindows.exe)
2015-12-18 16:57:08> ApplyReleasesImpl: Creating shortcut for SmarterTimeWindows.exe => C:\Users\Manish\Desktop\SmarterTimeWindows.lnk
2015-12-18 16:57:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Manish\Desktop\SmarterTimeWindows.lnk (target C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\Update.exe, workingDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0, args --processStart SmarterTimeWindows.exe)
2015-12-18 16:57:08> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2015-12-18 16:57:08> ApplyReleasesImpl: About to create shortcuts for SmarterTimeWindows.vshost.exe, rootAppDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage
2015-12-18 16:57:08> ApplyReleasesImpl: Creating shortcut for SmarterTimeWindows.vshost.exe => C:\Users\Manish\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Corporation\Microsoft® Visual Studio® 2015.lnk
2015-12-18 16:57:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Manish\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Corporation\Microsoft® Visual Studio® 2015.lnk (target C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\Update.exe, workingDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0, args --processStart SmarterTimeWindows.vshost.exe)
2015-12-18 16:57:08> ApplyReleasesImpl: Creating shortcut for SmarterTimeWindows.vshost.exe => C:\Users\Manish\Desktop\Microsoft® Visual Studio® 2015.lnk
2015-12-18 16:57:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Manish\Desktop\Microsoft® Visual Studio® 2015.lnk (target C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\Update.exe, workingDir C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0, args --processStart SmarterTimeWindows.vshost.exe)
2015-12-18 16:57:08> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2015-12-18 16:57:08> ApplyReleasesImpl: Starting fixPinnedExecutables
2015-12-18 16:57:08> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2015-12-18 16:57:08> ApplyReleasesImpl: Fixing up tray icons
2015-12-18 16:57:08> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.0
2015-12-18 16:57:08> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.0.0
2015-12-18 16:57:09> Program: Starting Squirrel Updater: --install . --squirrel-firstrun
2015-12-18 16:57:09> Program: Starting install, writing to C:\Users\Manish\AppData\Local\SquirrelTemp
2015-12-18 16:57:09> Program: About to install to: C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage
2015-12-18 16:57:09> Program: Install path C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage already exists, burning it to the ground
2015-12-18 16:57:09> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
2015-12-18 16:57:09> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\Manish\AppData\Local\SmarterTimeWindowsPackage\app-1.0.0\SmarterTimeWindows.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()<---

Thanks.

NahumLitvin commented 8 years ago
2016-01-13 19:46:46> Program: Starting Squirrel Updater: --install .
2016-01-13 19:46:46> Program: Starting install, writing to C:\Users\nahum\AppData\Local\SquirrelTemp
2016-01-13 19:46:46> Program: About to install to: C:\Users\nahum\AppData\Local\XX
2016-01-13 19:46:46> Program: Install path C:\Users\nahum\AppData\Local\XX already exists, burning it to the ground
2016-01-13 19:46:46> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
2016-01-13 19:46:46> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()<---

2016-01-13 19:47:34> Program: Starting Squirrel Updater: --install .
2016-01-13 19:47:34> Program: Starting install, writing to C:\Users\nahum\AppData\Local\SquirrelTemp
2016-01-13 19:47:34> Program: About to install to: C:\Users\nahum\AppData\Local\XX
2016-01-13 19:47:34> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\nahum\AppData\Local\XX\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2016-01-13 19:47:34> CheckForUpdateImpl: Reading RELEASES file from C:\Users\nahum\AppData\Local\SquirrelTemp
2016-01-13 19:47:34> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-01-13 19:47:34> ApplyReleasesImpl: Writing files to app directory: C:\Users\nahum\AppData\Local\XX\app-1.0.8
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\CefSharp.BrowserSubprocess.exe to C:\Users\nahum\AppData\Local\XX\app-1.0.8\CefSharp.BrowserSubprocess.exe
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\CefSharp.Core.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\CefSharp.Core.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\CefSharp.BrowserSubprocess.Core.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\CefSharp.BrowserSubprocess.Core.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\cef.pak to C:\Users\nahum\AppData\Local\XX\app-1.0.8\cef.pak
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\CefSharp.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\CefSharp.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\CefSharp.Wpf.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\CefSharp.Wpf.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\cef_100_percent.pak to C:\Users\nahum\AppData\Local\XX\app-1.0.8\cef_100_percent.pak
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\cef_200_percent.pak to C:\Users\nahum\AppData\Local\XX\app-1.0.8\cef_200_percent.pak
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\d3dcompiler_43.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\d3dcompiler_43.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\d3dcompiler_47.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\d3dcompiler_47.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\DeltaCompressionDotNet.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\DeltaCompressionDotNet.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\DeltaCompressionDotNet.MsDelta.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\DeltaCompressionDotNet.MsDelta.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\devtools_resources.pak to C:\Users\nahum\AppData\Local\XX\app-1.0.8\devtools_resources.pak
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\ffmpegsumo.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\ffmpegsumo.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.Extras.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Extras.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\DeltaCompressionDotNet.PatchApi.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\DeltaCompressionDotNet.PatchApi.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.Extras.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Extras.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.Platform.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\HtmlAgilityPack.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\HtmlAgilityPack.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\GalaSoft.MvvmLight.Platform.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\icudtl.dat to C:\Users\nahum\AppData\Local\XX\app-1.0.8\icudtl.dat
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\ICSharpCode.SharpZipLib.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\ICSharpCode.SharpZipLib.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\HtmlAgilityPack.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\HtmlAgilityPack.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\libEGL.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\libEGL.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\libcef.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\libcef.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\LoadingIndicators.WPF.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\LoadingIndicators.WPF.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\libGLESv2.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\libGLESv2.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\LoadingIndicators.WPF.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\LoadingIndicators.WPF.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\MahApps.Metro.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\MahApps.Metro.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\MaterialDesignThemes.Wpf.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\MaterialDesignThemes.Wpf.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\MaterialDesignColors.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\MaterialDesignColors.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\MongoDB.Driver.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\MongoDB.Driver.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Mono.Cecil.Rocks.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Mono.Cecil.Rocks.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\msvcr110.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\msvcr110.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Microsoft.Practices.ServiceLocation.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Microsoft.Practices.ServiceLocation.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Mono.Cecil.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Mono.Cecil.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Microsoft.Practices.ServiceLocation.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Microsoft.Practices.ServiceLocation.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.DAL.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.DAL.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\msvcp110.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\msvcp110.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Mono.Cecil.Mdb.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Mono.Cecil.Mdb.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\MongoDB.Bson.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\MongoDB.Bson.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Mono.Cecil.Pdb.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Mono.Cecil.Pdb.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.Entities.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.Entities.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.XBrowser.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.XBrowser.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.Internet.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.Internet.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.Neo4jNodes.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.Neo4jNodes.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXBackend.Common.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXBackend.Common.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXCommon.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXCommon.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.Networking.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.Networking.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXClient.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXClient.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXX.exe to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXX.exe
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXCommon.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXCommon.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\X.Common.Utilities.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\X.Common.Utilities.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXX.exe.config to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXX.exe.config
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Newtonsoft.Json.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Newtonsoft.Json.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XIMSWrapper.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XIMSWrapper.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\NLog.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\NLog.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\NAudio.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\NAudio.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\NuGet.Squirrel.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\NuGet.Squirrel.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\pdf.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\pdf.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXX.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXX.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\NuGet.Squirrel.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\NuGet.Squirrel.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\XXClient.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXClient.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\protobuf-net.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\protobuf-net.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Splat.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Splat.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\WPF.Toaster.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\WPF.Toaster.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\protobuf-net.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\protobuf-net.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Squirrel.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Squirrel.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Splat.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Splat.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\Squirrel.pdb to C:\Users\nahum\AppData\Local\XX\app-1.0.8\Squirrel.pdb
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\System.Windows.Interactivity.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\System.Windows.Interactivity.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\vcamp110.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\vcamp110.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\vccorlib110.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\vccorlib110.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\vcomp110.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\vcomp110.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Moving file C:\Users\nahum\AppData\Local\XX\app-1.0.8\lib\net45\WPF.Toaster.dll to C:\Users\nahum\AppData\Local\XX\app-1.0.8\WPF.Toaster.dll
2016-01-13 19:47:35> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\nahum\AppData\Local\XX\app-1.0.8\XXX.exe]
2016-01-13 19:47:36> ApplyReleasesImpl: Starting fixPinnedExecutables
2016-01-13 19:47:36> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2016-01-13 19:47:36> ApplyReleasesImpl: Fixing up tray icons
2016-01-13 19:47:36> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.8
2016-01-13 19:47:36> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.0.8
2016-01-13 19:53:38> Program: Starting Squirrel Updater: --install .
2016-01-13 19:53:38> Program: Starting install, writing to C:\Users\nahum\AppData\Local\SquirrelTemp
2016-01-13 19:53:38> Program: About to install to: C:\Users\nahum\AppData\Local\XX
2016-01-13 19:53:38> Program: Install path C:\Users\nahum\AppData\Local\XX already exists, burning it to the ground
2016-01-13 19:53:38> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
2016-01-13 19:53:38> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()<---

2016-01-13 19:53:44> Program: Starting Squirrel Updater: --install .
2016-01-13 19:53:44> Program: Starting install, writing to C:\Users\nahum\AppData\Local\SquirrelTemp
2016-01-13 19:53:44> Program: About to install to: C:\Users\nahum\AppData\Local\XX
2016-01-13 19:53:44> Program: Install path C:\Users\nahum\AppData\Local\XX already exists, burning it to the ground
2016-01-13 19:53:44> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
2016-01-13 19:53:44> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\XX\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
anaisbetts commented 8 years ago

@NahumLitvin

2016-01-13 19:53:38> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\MtnCrm\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost)

@manishdubey-epita You've got a more Odd problem - you're somehow invoking the installer from within itself? I'm not sure how you're doing that, but one thing you're doing is shipping the .vshost.exe files which are getting shortcuts.

NahumLitvin commented 8 years ago

private static void Update() { Task.Run(() => {

           using (var mgr2 = new

UpdateManager(XXX.Properties.Resources.SquirrelUrl)) { var mgr = mgr2; SquirrelAwareApp.HandleEvents(v => {

                       mgr.CreateShortcutForThisExe();
                       mgr.CreateUninstallerRegistryEntry();

               }, c =>
               {

                       mgr.RemoveUninstallerRegistryEntry();
                       mgr.CreateUninstallerRegistryEntry();
                       mgr.CreateShortcutForThisExe();

               }, null,
                   b =>
                   {

                           mgr.RemoveUninstallerRegistryEntry();
                           mgr.RemoveShortcutsForExecutable("XXX.exe",
                               ShortcutLocation.AppRoot);
                           mgr.RemoveShortcutsForExecutable("XXX.exe",
                               ShortcutLocation.Desktop);
                           mgr.RemoveShortcutsForExecutable("XXX.exe",
                               ShortcutLocation.StartMenu);
                           mgr.RemoveShortcutsForExecutable("XXX.exe",
                               ShortcutLocation.Startup);

                   });

                   var updateInfo = mgr.CheckForUpdate().Result;

                   if (updateInfo == null)
                   {
                       Console.WriteLine(@"No updates found.");
                   }
                   else if (updateInfo.ReleasesToApply.Count > 0)
                   {
                       mgr.UpdateApp().Wait();
                       Thread.Sleep(500);
                       UpdateManager.RestartApp();
                   }

           }

   });

}

On Sun, Jan 17, 2016 at 5:28 AM, Paul Betts notifications@github.com wrote:

@NahumLitvin https://github.com/NahumLitvin

2016-01-13 19:53:38> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\MtnCrm\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost)

@manishdubey-epita https://github.com/manishdubey-epita You've got a more Odd problem - you're somehow invoking the installer from within itself? I'm not sure how you're doing that, but one thing you're doing is shipping the .vshost.exe files which are getting shortcuts.

— Reply to this email directly or view it on GitHub https://github.com/Squirrel/Squirrel.Windows/issues/528#issuecomment-172286920 .

"quod erat demonstrandum"

anaisbetts commented 8 years ago

@NahumLitvin Yep, this code is very wrong. Call HandleEvents as soon as possible in your app, not in an "Update" method, and don't wrap it in Task.Run

Dubey-Quod commented 8 years ago

Hi,

I am very sorry for the inconvenience caused. It was my first trial with the Squirrel. I created a prototype package manager for one of the application which is under development on the platforms such as android, ios and windows. I will look into it and try to rectify the bugs. I would request you to help me in getting it right. If you want, I can share the specific module of the application.

Regards, Manish Dubey On Jan 17, 2016 4:28 AM, "Paul Betts" notifications@github.com wrote:

@NahumLitvin https://github.com/NahumLitvin

2016-01-13 19:53:38> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\nahum\AppData\Local\MtnCrm\app-1.0.8\GalaSoft.MvvmLight.Platform.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost)

@manishdubey-epita https://github.com/manishdubey-epita You've got a more Odd problem - you're somehow invoking the installer from within itself? I'm not sure how you're doing that, but one thing you're doing is shipping the .vshost.exe files which are getting shortcuts.

— Reply to this email directly or view it on GitHub https://github.com/Squirrel/Squirrel.Windows/issues/528#issuecomment-172286920 .