New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install MaxTo 2.0.0-beta2 #275

Closed
bojordan opened this Issue Nov 13, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@bojordan

bojordan commented Nov 13, 2018

Attached is the SquirrelSetup.log file:
SquirrelSetup.log

Note that the file path mentioned in the DirectoryNotFoundException exists:

2018-11-13 15:15:49> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\rojordan\AppData\Local\MaxTo\packages.betaId'.

@vegardlarsen

This comment has been minimized.

Member

vegardlarsen commented Nov 14, 2018

@bojordan Thank you for reporting this. The error message you highlighted is actually harmless in itself; it has to do with Squirrel beta versions, not MaxTo beta versions. Basically it is complaining that you don't have MaxTo installed from before, so there is nothing to upgrade.

The last entry in the log concerns me more:

InstallHelperImpl: Couldn't write uninstall icon, don't care: System.Net.WebException: The remote server returned an error: (404) Not Found.

However, it appears to be a warning and I believe MaxTo itself did install itself successfully. My guess is that you will find the installed files in C:\Users\rojordan\AppData\Local\MaxTo\app-2.0.0-beta2\.

However, it may be that MaxTo crashed after the install. If that is the case; can you check C:\Users\rojordan\AppData\Roaming\MaxTo\maxto.log?

@bojordan

This comment has been minimized.

bojordan commented Nov 14, 2018

It does look like it's crashing: maxto.log

2018-11-14 08:20:45 [MaxTo.Core@2.0.0.331] [Information] Found startup task with incorrect definition. Recreating task.
2018-11-14 08:20:45 [MaxTo.Core@2.0.0.331] [Fatal] Exception occured during startup
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.DeleteTask(String Name, Int32 flags)
at Microsoft.Win32.TaskScheduler.TaskFolder.DeleteTask(String name, Boolean exceptionOnNotExists)
at MaxTo.Core.Settings.LoginRegistrationService.Register()
at MaxTo.Core.Settings.LoginRegistrationService.InitializeAsync()
at MaxTo.Core.Settings.AsyncInitializer.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MaxTo.Core.MainForm.d__20.MoveNext()

@vegardlarsen

This comment has been minimized.

Member

vegardlarsen commented Nov 15, 2018

You can fix this by uninstalling the previous version of MaxTo. If you already have uninstalled it and this error still occurs; you can delete the Task Scheduler entry called "MaxTo" and try again.

This error has been fixed for the next beta release, which I had hoped to put out today but I am at home with a sick child. 🤒

@vegardlarsen vegardlarsen self-assigned this Nov 15, 2018

@vegardlarsen vegardlarsen added the bug label Nov 15, 2018

@vegardlarsen vegardlarsen added this to the 2.0.0-beta.3 milestone Nov 15, 2018

@bojordan

This comment has been minimized.

bojordan commented Nov 15, 2018

Thanks @vegardlarsen - indeed, uninstalling the previous version allowed the install to succeed.

Hope your little one feels better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment