Tobbe / losi

LiteStep OpenSource Installer
https://tlundberg.com/losi
Other
51 stars 13 forks source link

Explorer doesn't always start after uninstalling LOSI #3

Closed Tobbe closed 15 years ago

Tobbe commented 15 years ago

For some reason explorer doesn't always start at the end of the LOSI uninstallation.

I have experienced this myself, and gotten reports about it.

Running an XP system, no alt-shell ever installed, so Explorer was running during installation. I did a custom install, but selected everything to install. The only pre-req missing was the optional vc9 runtimes, and I didn't install those. I chose to install "only for current user" and chose to install no profile support. I installed to C:\shells\litestep. The default theme for LS/LOSI was running when I uninstalled. [jugg]

Proposed solution

Check to see if there is an explorer.exe process running after a while. If there isn't, try to run it again.

If it still isn't running after some additional time, tell the user explorer is having trouble starting and use windows' task scheduler to schedule a start of explorer.exe in the next minute. This will need an OS check as this is only available on Win2000 and up.

Last option is to tell the user to manually launch explorer.exe using the Task Manager.

Kill litestep and go back to explorer as soon as possible during uninstall. After a while if explorer isn't running, try again. If explorer at the end of the uninstall still isn't running. Tell the user what to do to bring it back.

Tobbe commented 15 years ago

Closed by 3490ae10ae4f2e535668bba7d56c121eb5d74616

Made the starting of Explorer.exe during uninstall much more robust.