Permalink
Browse files

Added a few comments to the uninstall code. Updated the changelog.

  • Loading branch information...
Tobbe committed Jan 16, 2009
1 parent 3490ae1 commit 942c2953f9adcfa656ff7fb5f1a0291bcfdd3ede
Showing with 9 additions and 1 deletion.
  1. +5 −1 LS/losi/changelog.txt
  2. +4 −0 unStartExplorer.nsh
View
@@ -267,4 +267,8 @@ ls.com is down for an unknown period of time I started this changelog instead
and subsequentially, when you could change the name, the folder
wouldn't get deleted.
-2009-01-15: Made all the text fit on the WhereProfiles page.
+2009-01-15: Made all the text fit on the WhereProfiles page.
+
+2009-01-16: When uninstalling LOSI Explorer should start as the shell instead
+ of LiteStep. This wasn't always the case however. The code for this
+ is much more robust now and hopefully this doesn't happen again.
View
@@ -51,6 +51,8 @@ Function un.StartExplorer
${EndIf}
; Change back the value of "AutoRestartShell"
+ ; It's important Windows has started its shell recovery before we change
+ ; this back to it's previous value (if that value happened to be 0).
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" "AutoRestartShell" $0
FunctionEnd
@@ -93,6 +95,8 @@ Function un.StartExplorerByKillingExplorer
${EndWhile}
; Change back the value of "AutoRestartShell"
+ ; It's important Windows has started its shell recovery before we change
+ ; this back to it's previous value (if that value happened to be 0).
WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" "AutoRestartShell" $0
FunctionEnd

0 comments on commit 942c295

Please sign in to comment.