LRFLEW / OpenRCT2Launcher

An Open Source Launcher & Updater for OpenRCT2
MIT License
200 stars 21 forks source link

Installation restarts Computer without permission #4

Closed NitroxydeX closed 8 years ago

NitroxydeX commented 8 years ago

The new Launcher restarts the PC right after the installation and do not ask the user if he won't to restart the computer directly or later.

LRFLEW commented 8 years ago

Peculiar. The change that probably caused this was switching the appveyor builds from VS 2013 to 2015. I'll look into what needs to be changed to prevent this. Thank you for letting me know.

LRFLEW commented 8 years ago

What version of Windows are you using? My clean install of Windows 10 in my VM didn't experience this issue.

NitroxydeX commented 8 years ago

I'm using Windows 10. A friend had this problem too. Is also on Windows 10.

Some other friend, I think on Windows 7 or 8.1, didnt had this problem.

On a Windows Server 2012 R2 I had not this problem. There was just a missing dll out of Visual Studio 2013.

LRFLEW commented 8 years ago

I think I fixed it, but I want to make sure before I close this issue. Can you try this installer and see if it still can cause a restart? I know it might be difficult to fully verify, as the installer should only cause a restart one time ever on a machine, but if you can test it to some extent, let me know.

LRFLEW commented 8 years ago

I've done some testing on my VMs. I did get a message of my installer asking to restart the computer. I'm not sure how exactly that happened, but it did seem to fix this issue. I'm going to close it. If anybody has this issue again, let me know here and I'll reopen the issue.

NitroxydeX commented 8 years ago

Tested in a VM with Windows 7 and on my PC. Didn't even get the message to restart the computer. I uninstalled the Runtime and restarted before I tried. Even with the old Installer no restart. Strange. Maybe there is more in the System that would need to be erased. Seems also only a Windows 10 Problem since the VM is a new Installation

But I had the message on the first time because I could abort the instant restart.

NitroxydeX commented 8 years ago

Okay. Some new Informations: The message to restart the computer is only shown if you had an other version of the VS 2015 Redis before. Still don't know why it prompted a instant restart the first time.