<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>PageAndHiddenSectionStartMenu.nsh</filename>
    </added>
    <added>
      <filename>PagePreviousInstall.nsh</filename>
    </added>
    <added>
      <filename>ioPreviousInstall.ini</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -13,7 +13,7 @@ var currentShell
 var hasStartedLS
 var username
 var whereprofiles
-var PreReqOK
+var abortWarning
 var advancedInstall
 
 ;--------------------------------
@@ -65,6 +65,7 @@ ReserveFile &quot;ioEvars.ini&quot;
 ReserveFile &quot;ioEvars2.ini&quot;
 ReserveFile &quot;ioHowLS.ini&quot;
 ReserveFile &quot;ioWhereProfiles.ini&quot;
+ReserveFile &quot;ioPreviousInstall.ini&quot;
 ReserveFile &quot;ioFileAssoc.ini&quot;
 ReserveFile &quot;ioPreReq.ini&quot;
 ReserveFile &quot;test.txt&quot;
@@ -111,15 +112,15 @@ ShowUnInstDetails show
 !include PageLicense.nsh
 !include PagePrerequisites.nsh
 !include PageTypeOfInstall.nsh
-!include PageStartMenu.nsh
+!include PageDirectory.nsh
+!include PagePreviousInstall.nsh
 !include SectionCore.nsh
 !include SectionTheme.nsh
 !include SectionLOSI.nsh
-!include HiddenSectionAdditionalIcons.nsh
-!include PageDirectory.nsh
 !include PageHowLS.nsh
 !include PageWhereProfiles.nsh
 !include PageInstFiles.nsh
+!include PageAndHiddenSectionStartMenu.nsh
 !include PageAndSectionConfigEvars.nsh
 !include PageAndSectionFileAssoc.nsh
 !include PageFinish.nsh
@@ -131,15 +132,15 @@ ShowUnInstDetails show
 !include &quot;LanguageStrings.nsh&quot;
 
 Function .onInit
-	StrCpy $PreReqOK &quot;true&quot;
-    !ifndef PAGE_WHERE_PROFILES
-        StrCpy $whereprofiles &quot;default&quot;
-	!endif
+	StrCpy $abortWarning &quot;true&quot;
+	StrCpy $advancedInstall &quot;true&quot;
 	
 	UserInfo::GetName
 	Pop $username
 	ClearErrors ; UserInfo might genrate an error, but we don't care
-	
+
+	StrCpy $whereprofiles &quot;$PROGRAMFILES\LiteStep\Profiles\$username&quot;
+
     !insertmacro MUI_LANGDLL_DISPLAY
 	
 	;Always prepare the log within the .onInit function
@@ -147,6 +148,7 @@ Function .onInit
 	
 	;Extract InstallOptions INI Files
 	!insertmacro MUI_INSTALLOPTIONS_EXTRACT &quot;ioPreReq.ini&quot;
+	!insertmacro MUI_INSTALLOPTIONS_EXTRACT &quot;ioPreviousInstall.ini&quot;
     !insertmacro MUI_INSTALLOPTIONS_EXTRACT &quot;ioTypeOfInstall.ini&quot;
     !insertmacro MUI_INSTALLOPTIONS_EXTRACT &quot;ioHowLS.ini&quot;
     !insertmacro MUI_INSTALLOPTIONS_EXTRACT &quot;ioWhereProfiles.ini&quot;
@@ -161,10 +163,10 @@ Function .onInstSuccess
 FunctionEnd
 
 Function customOnUserAbort
-	StrCmp $PreReqOK &quot;false&quot; NoCancelAbort
-	MessageBox MB_YESNO|MB_ICONEXCLAMATION &quot;$(ABORT_WARNING)&quot; IDYES NoCancelAbort
+	StrCmp $abortWarning &quot;false&quot; NoAbortWarning
+	MessageBox MB_YESNO|MB_ICONEXCLAMATION &quot;$(ABORT_WARNING)&quot; IDYES NoAbortWarning
 		Abort ; causes installer to not quit.
-	NoCancelAbort:
+	NoAbortWarning:
 FunctionEnd
 
 !ifdef WRITE_UNINSTALLER    </diff>
      <filename>LOSI.nsi</filename>
    </modified>
    <modified>
      <diff>@@ -231,4 +231,10 @@ ls.com is down for an unknown period of time I started this changelog instead
             Fixed a bug in SectionTheme.  It would overwrite an existing
             themeslist.rc and themeselect.rc.  Now it keeps the users own
             themeslist.rc and themeselect.rc files and only installs the
-            InstDef theme.
\ No newline at end of file
+            InstDef theme.
+            Moved the page where you select the Start menu folder.
+            Changed the variable name used for determining if there should be
+            a warning when canceling the intallation or not.
+            Added a new page that warns the user if he/she is trying to install
+            LiteStep when there already is some version of LiteStep installed
+            to the computer.
\ No newline at end of file</diff>
      <filename>LS/losi/changelog.txt</filename>
    </modified>
    <modified>
      <diff>@@ -29,6 +29,8 @@ LangString TEXT_IO_TITLE_TYPEOFINSTALL ${LANG_ENLISH} &quot;Setup Type&quot;
 LangString TEXT_IO_TYPEOFINSTALL ${LANG_ENGLISH} &quot;Choose the type of setup you prefer, then click Next&quot;
 LangString TEXT_IO_TITLE_PREREQ ${LANG_ENGLISH} &quot;Prerequisites&quot;
 LangString TEXT_IO_PREREQ ${LANG_ENGLISH} &quot;Make sure all prerequisites are met before continuing.&quot;
+LangString TEXT_IO_TITLE_PREVINST ${LANG_ENGLISH} &quot;A previous installation of LiteStep was found&quot;
+LangString TEXT_IO_PREVINST ${LANG_ENGLISH} &quot;You might want to uninstall it.&quot;
 LangString TEXT_REBOOT ${LANG_ENGLISH} &quot;To complete the installation the computer needs to be rebooted.\r\nThis is needed because the operating system needs to read the new registry settings.&quot;
 LangString TEXT_LOGOFF ${LANG_ENGLISH} &quot;To complete the installation you need to log off the computer, and then log in again with the same user.\r\nThis is needed because the operating system needs to read the new registry settings.&quot;
 LangString INSTALL_NORMAL ${LANG_ENGLISH} &quot;Standard - LiteStep will be installed with the most common options.&quot;
@@ -73,6 +75,8 @@ LangString MB_FOUND_LS_UNINST ${LANG_ENGLISH} &quot;LiteStep should now be killed so
 LangString FINISH_LOGOFF ${LANG_ENGLISH} &quot;I want to log off&quot;
 LangString BAD_INST_PATH ${LANG_ENGLISH} &quot;The specified install path is invalid!&quot;
 LangString ABORT_WARNING ${LANG_ENGLISH} &quot;Are you sure you want to quit the $(^Name) setup?&quot;
+LangString PREVINST_TEXT ${LANG_ENGLISH} &quot;It seems like LiteStep is already installed on your computer.  If this is an upgrade you should choose to install to the same location the old LiteStep was installed to.  Otherwise, please uninstall your current LiteStep installation and then run this installer again.&quot;
+LangString PREVINST_CHECKBOX ${LANG_ENGLISH} &quot;Continue installing to the specified location ($INSTDIR)&quot;
 
 ;Swedish
 LangString NAME_SecCore ${LANG_SWEDISH} &quot;LiteStepfiler&quot;
@@ -97,6 +101,8 @@ LangString TEXT_IO_TITLE_TYPEOFINSTALL ${LANG_SWEDISH} &quot;Typ av installation&quot;
 LangString TEXT_IO_TYPEOFINSTALL ${LANG_SWEDISH} &quot;V&#228;lj om du vill g&#246;ra en vanlig eller avancerad installation&quot;
 LangString TEXT_IO_TITLE_PREREQ ${LANG_SWEDISH} &quot;Program som m&#229;ste vara installerade&quot;
 LangString TEXT_IO_PREREQ ${LANG_SWEDISH} &quot;Se till att alla program i listan &#228;r installerade innan du forts&#228;tter.&quot;
+LangString TEXT_IO_TITLE_PREVINST ${LANG_SWEDISH} &quot;A previous installation of LiteStep was found&quot;
+LangString TEXT_IO_PREVINST ${LANG_SWEDISH} &quot;You might want to uninstall it.&quot;
 LangString TEXT_REBOOT ${LANG_SWEDISH} &quot;F&#246;r att slutf&#246;ra installationen beh&#246;ver datorn startas om.\r\nDetta f&#246;r att datorn ska l&#228;sa in &#228;ndringarna till registret.&quot;
 LangString TEXT_LOGOFF ${LANG_SWEDISH} &quot;F&#246;r att slutf&#246;ra installationen beh&#246;ver du logga ut, och sen logga in med samma anv&#228;ndare igen.\r\nDetta f&#246;r att datorn ska l&#228;sa in &#228;ndringarna till registret.&quot;
 LangString INSTALL_NORMAL ${LANG_SWEDISH} &quot;Normal Installation - St&#246;rsta delen av installationen kommer att g&#229; automatiskt&quot;
@@ -141,6 +147,8 @@ LangString MB_FOUND_LS_UNINST ${LANG_SWEDISH} &quot;LiteStep ska nu vara avst
 LangString FINISH_LOGOFF ${LANG_SWEDISH} &quot;Jag vill logga ut&quot;
 LangString BAD_INST_PATH ${LANG_SWEDISH} &quot;Ogiltig installationss&#246;kv&#228;g!&quot;
 LangString ABORT_WARNING ${LANG_SWEDISH} &quot;&#196;r du s&#228;ker p&#229; att du vill avbryta installationen av $(^Name)?&quot;
+LangString PREVINST_TEXT ${LANG_SWEDISH} &quot;Det verkar som att LiteStep redan &#228;r installerat p&#229; datorn. Om du &#246;nskar uppdatera din befintliga LiteStep-installation ska du installera till den plats du redan har LiteStep p&#229;. Om du inte ska uppdatera rekomenderas du att avinstallera din befintliga LiteStep-installation och sen k&#246;ra den h&#228;r installeraren igen.&quot;
+LangString PREVINST_CHECKBOX ${LANG_SWEDISH} &quot;Forts&#228;tt installera till den angivna platsen ($INSTDIR)&quot;
 
 ;French
 LangString NAME_SecCore ${LANG_FRENCH} &quot;LiteStep files&quot;
@@ -165,6 +173,8 @@ LangString TEXT_IO_TITLE_TYPEOFINSTALL ${LANG_FRENCH} &quot;Type d'installation&quot;
 LangString TEXT_IO_TYPEOFINSTALL ${LANG_FRENCH} &quot;Choisissez votre type d'installation et cliquez sur &lt;Suivant&gt;.&quot;
 LangString TEXT_IO_TITLE_PREREQ ${LANG_FRENCH} &quot;Conditions requises&quot;
 LangString TEXT_IO_PREREQ ${LANG_FRENCH} &quot;Soyez s&#251;r de v&#233;rifier les conditions requises avant de continuer.&quot;
+LangString TEXT_IO_TITLE_PREVINST ${LANG_FRENCH} &quot;A previous installation of LiteStep was found&quot;
+LangString TEXT_IO_PREVINST ${LANG_FRENCH} &quot;You might want to uninstall it.&quot;
 LangString INSTALL_NORMAL ${LANG_FRENCH} &quot;Standard - LiteStep sera install&#233; avec les options les plus courantes.&quot;
 LangString INSTALL_ADVANCED ${LANG_FRENCH} &quot;Personnalis&#233; - Choisir les options &#224; installer. Recommand&#233; pour les utilisateurs avertis.&quot;
 LangString PRE_REQ_NEEDED ${LANG_FRENCH} &quot;Les &#233;l&#233;ments suivants doivent &#234;tre install&#233;s sur votre syst&#232;me avant d'installer $(^Name)&quot;
@@ -209,6 +219,8 @@ LangString MB_FOUND_LS_UNINST ${LANG_FRENCH} &quot;Litestep va maintenant 
 LangString FINISH_LOGOFF ${LANG_FRENCH} &quot;Je d&#233;sire fermer la session.&quot;
 LangString BAD_INST_PATH ${LANG_FRENCH} &quot;Install path invalid!&quot;
 LangString ABORT_WARNING ${LANG_FRENCH} &quot;&#202;tes-vous s&#251;r de vouloir quitter l'installation de $(^Name) ?&quot;
+LangString PREVINST_TEXT ${LANG_FRENCH} &quot;It seems like LiteStep is already installed on your computer. If this is an upgrade you should choose to install to the same location the old LiteStep was installed to. Otherwise, please uninstall your current LiteStep installation and then run this installer again.&quot;
+LangString PREVINST_CHECKBOX ${LANG_FRENCH} &quot;Continue installing to the specified location ($INSTDIR)&quot;
 
 ;German
 LangString NAME_SecCore ${LANG_GERMAN} &quot;LiteStep Dateien&quot;
@@ -233,6 +245,8 @@ LangString TEXT_IO_TITLE_TYPEOFINSTALL ${LANG_GERMAN} &quot;Installationsart&quot;
 LangString TEXT_IO_TYPEOFINSTALL ${LANG_GERMAN} &quot;Bitte w&#228;hlen Sie eine Installationsart, klicken Sie dann auf Weiter&quot;
 LangString TEXT_IO_TITLE_PREREQ ${LANG_GERMAN} &quot;Vorraussetzungen&quot;
 LangString TEXT_IO_PREREQ ${LANG_GERMAN} &quot;Bitte stellen Sie bevor sie fortfahren fest, dass all diese Vorraussetzungen erf&#252;llt sind.&quot;
+LangString TEXT_IO_TITLE_PREVINST ${LANG_GERMAN} &quot;A previous installation of LiteStep was found&quot;
+LangString TEXT_IO_PREVINST ${LANG_GERMAN} &quot;You might want to uninstall it.&quot;
 LangString TEXT_REBOOT ${LANG_GERMAN} &quot;Starten Sie den Computer neu um die Installation abzuschlie&#223;en damit das Betriebssystem die Registryeinstellungen &#252;bernimmt&quot;
 LangString TEXT_LOGOFF ${LANG_GERMAN} &quot;Melden Sie sich ab um die Installation abzuschlie&#223;en damit das Betriebssystem die Registryeinstellungen &#252;bernimmt&quot;
 LangString INSTALL_NORMAL ${LANG_GERMAN} &quot;Standard - Litestep wird mit den am h&#228;ufigsten verwendeten Optionen installiert&quot;
@@ -268,7 +282,7 @@ LangString UNLOG_HEADER ${LANG_GERMAN} &quot;=========== Deinstallationsprotokoll. Bi
 LangString UNLOG_DAT_NOT_FOUND ${LANG_GERMAN} &quot;${UNINST_DAT} wurde nicht gefunden, Deinstalaltion nicht m&#246;glich&quot;
 LangString UNLOG_DEL_FILE ${LANG_GERMAN} 'Datei &quot;$R9&quot; l&#246;schen?'
 LangString UNLOG_DEL_DIR ${LANG_GERMAN} 'Verzeichnis &quot;$R9&quot; l&#246;schen?'
-LangString UNLOG_EMPTY_DIR ${LANG_GERMAN} &quot;Vorhergehende Installation in $0 gefunden$\nBen&#246;tigte Datei  ${UNINSTALL_LOG}.dat fehlt$\nEs wird dringend empfohlen ein leeres Verzeichnis auszuwaehlen und dort neu zu installieren$\n&quot;
+LangString UNLOG_EMPTY_DIR ${LANG_GERMAN} &quot;Vorhergehende Installation in $0 gefunden$\nBen&#246;tigte Datei ${UNINSTALL_LOG}.dat fehlt$\nEs wird dringend empfohlen ein leeres Verzeichnis auszuwaehlen und dort neu zu installieren$\n&quot;
 LangString UNLOG_ERROR_LOG ${LANG_GERMAN} &quot;Fehler in Protokoll ${UNINSTALL_LOG}.&quot;
 LangString UNLOG_ERROR_CREATE ${LANG_GERMAN} &quot;Fehler beim erstellen von ${UNINSTALL_LOG}.&quot;
 LangString BACKUP_PERSONAL ${LANG_GERMAN} &quot;Wollen Sie Ihre alten Pers&#246;nlichen Einstellungen sichern?&quot;
@@ -277,3 +291,5 @@ LangString MB_FOUND_LS_UNINST ${LANG_GERMAN} &quot;LiteStep sollte nun beendet werden
 LangString FINISH_LOGOFF ${LANG_GERMAN} &quot;Abmelden&quot;
 LangString BAD_INST_PATH ${LANG_GERMAN} &quot;Das gew&#228;hlte Verzeichnis ist nicht zur Installation geeignet!&quot;
 LangString ABORT_WARNING ${LANG_GERMAN} &quot;Sind Sie sicher, dass Sie die Installation von $(^Name) abbrechen wollen?&quot;
+LangString PREVINST_TEXT ${LANG_GERMAN} &quot;It seems like LiteStep is already installed on your computer. If this is an upgrade you should choose to install to the same location the old LiteStep was installed to. Otherwise, please uninstall your current LiteStep installation and then run this installer again.&quot;
+LangString PREVINST_CHECKBOX ${LANG_GERMAN} &quot;Continue installing to the specified location ($INSTDIR)&quot;</diff>
      <filename>LanguageStrings.nsh</filename>
    </modified>
    <modified>
      <diff>@@ -136,7 +136,7 @@
 		${OrIf} $R3 == &quot;false&quot;
 			GetDlgItem $R1 $HWNDPARENT 1
 			EnableWindow $R1 0
-			StrCpy $PreReqOK &quot;false&quot;
+			StrCpy $abortWarning &quot;false&quot;
 		${EndIf}
 		!insertmacro INSTALLOPTIONS_SHOW
 </diff>
      <filename>PagePrerequisites.nsh</filename>
    </modified>
    <modified>
      <diff>@@ -1,118 +1,118 @@
 !ifndef SECTION_CORE
 !define SECTION_CORE
 	!include GetInQuotes.nsh
-    !include IndexOf.nsh
-    !include GetExecutablePath.nsh
-    !include BackupPersonal.nsh
-    !include Shell9x.nsh
+	!include IndexOf.nsh
+	!include GetExecutablePath.nsh
+	!include BackupPersonal.nsh
+	!include Shell9x.nsh
 	!include ShellNT.nsh
 	!include GetWindowsVersion.nsh
 	!include SectionsInclude.nsh
-	
+
 	Section &quot;$(NAME_SecCore)&quot; SecCore
 		Push &quot;$INSTDIR&quot;
 		Call KillLS
 		Pop $R9
-	
+
 		SetOutPath &quot;$SYSDIR&quot;
 		SetOverwrite off
-	
+
 		File &quot;.\msvcp60.dll&quot;
 		File &quot;.\msvcrt.dll&quot;
 		File &quot;.\msvcp70.dll&quot;
 		File &quot;.\msvcp71.dll&quot;
 		File &quot;.\msvcr71.dll&quot;
 		File &quot;.\msvcr70.dll&quot;
-	
+
 		SetOverwrite on
 		SetOutPath &quot;$INSTDIR&quot;
-	
+
 		Push $0
 		ReadINIStr $0 &quot;$PLUGINSDIR\ioWhereProfiles.ini&quot; &quot;Field 4&quot; &quot;State&quot; ;Field 4 is Documents and Settings
 		IntCmp $0 1 +3 0 0
 		ReadINIStr $0 &quot;$PLUGINSDIR\ioWhereProfiles.ini&quot; &quot;Field 3&quot; &quot;State&quot; ;Field 3 is LSDir\Profiles
 		IntCmp $0 1 profiles noprofiles
-	
-	    ; Install to Documents and Settings
-	    StrCpy $whereprofiles &quot;$APPDATA\LiteStep&quot;
-	    !insertmacro UNINSTALL.LOG_OPEN_INSTALL
-	    File &quot;.\LS\step-das\step.rc&quot; ;das = Documents and Settings :p
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	    GoTo reg
-	
-	    ; Install to LSDir\Profiles
-	    profiles:
-	    UserInfo::GetName
-	    Pop $username
-	    StrCmp $username &quot;&quot; +1 profilesok
-	
-	    ; If we get here it means no username was found, probably due to installing on 9x when not logged in
-	    MessageBox MB_OK $(MB_NO_USER)
-	    GoTo noprofiles
-	
-	    profilesok:
-	    StrCpy $whereprofiles &quot;$INSTDIR\Profiles\$username&quot;
-	    !insertmacro UNINSTALL.LOG_OPEN_INSTALL
-	    File &quot;.\LS\step-lsdir\step.rc&quot;
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	    GoTo reg
-	
-	    ; Don't install any profiles
-	    noprofiles:
-	    StrCpy $whereprofiles &quot;$INSTDIR&quot;
-	    !insertmacro UNINSTALL.LOG_OPEN_INSTALL
-	    File &quot;.\LS\step-none\step.rc&quot;
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	
+
+		; Install to Documents and Settings
+		StrCpy $whereprofiles &quot;$APPDATA\LiteStep&quot;
+		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
+		File &quot;.\LS\step-das\step.rc&quot; ;das = Documents and Settings :p
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+		GoTo reg
+
+		; Install to LSDir\Profiles
+		profiles:
+		UserInfo::GetName
+		Pop $username
+		StrCmp $username &quot;&quot; +1 profilesok
+
+		; If we get here it means no username was found, probably due to installing on 9x when not logged in
+		MessageBox MB_OK $(MB_NO_USER)
+		GoTo noprofiles
+
+		profilesok:
+		StrCpy $whereprofiles &quot;$INSTDIR\Profiles\$username&quot;
+		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
+		File &quot;.\LS\step-lsdir\step.rc&quot;
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+		GoTo reg
+
+		; Don't install any profiles
+		noprofiles:
+		StrCpy $whereprofiles &quot;$INSTDIR&quot;
+		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
+		File &quot;.\LS\step-none\step.rc&quot;
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+
 		reg:
-	    Pop $0
-	
-	    ;; Store a few paths in the registry
-	    WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;LitestepDir&quot; $INSTDIR
+		Pop $0
+
+		;; Store a few paths in the registry
+		WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;LitestepDir&quot; $INSTDIR
 		; IF
 		StrCmp $whereprofiles &quot;$INSTDIR\Profiles\$username&quot; 0 +3
-		    WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot; &quot;$INSTDIR\Profiles\%USERNAME%&quot;
-		    GoTo +5
+			WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot; &quot;$INSTDIR\Profiles\%USERNAME%&quot;
+			GoTo +5
 		; ELSE IF
 		StrCmp $whereprofiles &quot;$APPDATA\LiteStep&quot; 0 +3
-		    WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot; &quot;%APPDATA%\Litestep&quot;
-		    GoTo +2
+			WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot; &quot;%APPDATA%\Litestep&quot;
+			GoTo +2
 		; ELSE
 			WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot; $whereprofiles
-	    WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;PersonalDir&quot; &quot;$whereprofiles\personal&quot;
-	
+		WriteRegStr HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;PersonalDir&quot; &quot;$whereprofiles\personal&quot;
+
 		; OTS2 Theme files
 		IfFileExists &quot;$whereprofiles\themes\themeslist.rc&quot; 0 AddThemeFiles
 			IfFileExists &quot;$whereprofiles\themes\themeselect.rc&quot; SkipThemeFiles
-		
+
 		AddThemeFiles:
 		SetOutPath  &quot;$whereprofiles\themes\&quot;
 		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
 		File /oname=themeselect.rc &quot;.\Personal\themes\themeselect-empty.rc&quot;
 		File /oname=themeslist.rc &quot;.\Personal\themes\themeslist-empty.rc&quot;
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
 		SkipThemeFiles:
-		
+
 		SetOutPath &quot;$INSTDIR&quot;
 		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
-	    File &quot;.\LS\changes.txt&quot;
-	    File &quot;.\LS\hook.dll&quot;
-	    File &quot;.\LS\libpng13.dll&quot;
-	    File &quot;.\LS\license.txt&quot;
-	    File &quot;.\LS\litestep.exe&quot;
-	    File &quot;.\LS\lsapi.dll&quot;
-	    File &quot;.\LS\readme.txt&quot;
-	    File &quot;.\LS\release_notes.txt&quot;
-	    File &quot;.\LS\zlib1.dll&quot;
-	    File &quot;.\LS\xPaintClass-1.0.dll&quot;
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	
-	    SetOutPath &quot;$INSTDIR\NLM&quot;
-	    SetOverwrite on
-	    !insertmacro UNINSTALL.LOG_OPEN_INSTALL
-	    File &quot;.\LS\NLM\*&quot;
-	    !insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	
+		File &quot;.\LS\changes.txt&quot;
+		File &quot;.\LS\hook.dll&quot;
+		File &quot;.\LS\libpng13.dll&quot;
+		File &quot;.\LS\license.txt&quot;
+		File &quot;.\LS\litestep.exe&quot;
+		File &quot;.\LS\lsapi.dll&quot;
+		File &quot;.\LS\readme.txt&quot;
+		File &quot;.\LS\release_notes.txt&quot;
+		File &quot;.\LS\zlib1.dll&quot;
+		File &quot;.\LS\xPaintClass-1.0.dll&quot;
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+
+		SetOutPath &quot;$INSTDIR\NLM&quot;
+		SetOverwrite on
+		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
+		File &quot;.\LS\NLM\*&quot;
+		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
+
 		ReadIniStr $0 &quot;system.ini&quot; &quot;boot&quot; &quot;shell&quot;
 		${ExePath} $0 $0
 		${RIndexOf} $R0 $0 '\' ; Macro expands to 4 lines
@@ -133,49 +133,39 @@
 		; IF
 		StrCmp $currentShell &quot;&quot; 0 +2
 			StrCpy $currentShell &quot;explorer.exe&quot;
-	
+
 		ReadINIStr $R0 &quot;$PLUGINSDIR\ioHowLS.ini&quot; &quot;Field 4&quot; &quot;State&quot; ;Field 4 is Don't set shell
 		IntCmp $R0 1 doneSetShell ;If we're not setting LS as the shell, we're jumping down
 		                          ;to doneSetShell
-	
+
 			; Check whether we're installing on a 9x or NT based system
 			Call GetWindowsVersion
 			Pop $R0
-			
+
 			StrCmp $R0 &quot;9x&quot; 0 setNTShell
-		    	Call setShell9x
-		    	GoTo doneSetShell
-		
+				Call setShell9x
+				GoTo doneSetShell
+
 			setNTShell:
 			;If we get to this point we're not installing on a 9x based machine
 			Call setShellNT
-		
+
 		doneSetShell:
 		Pop $0
-	
-		!ifdef PAGE_START_MENU
-			; Shortcuts
-		    !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
-		    CreateDirectory &quot;$SMPROGRAMS\$ICONS_GROUP&quot;
-		    ;CreateShortCut &quot;$SMPROGRAMS\$ICONS_GROUP\${PRODUCT_NAME}.lnk&quot; &quot;$INSTDIR\litestep.exe&quot;
-		    ;CreateShortCut &quot;$DESKTOP\${PRODUCT_NAME}.lnk&quot; &quot;$INSTDIR\litestep.exe&quot;
-		    CreateShortCut &quot;$SMPROGRAMS\$ICONS_GROUP\Set Explorer as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; explorer' &quot;$INSTDIR\losi\SetShellExplorer.ico&quot;
-			CreateShortCut &quot;$SMPROGRAMS\$ICONS_GROUP\Set LiteStep as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; litestep' &quot;$INSTDIR\losi\SetShellLS.ico&quot;
-			CreateShortCut &quot;$DESKTOP\Set Explorer as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; explorer' &quot;$INSTDIR\losi\SetShellExplorer.ico&quot;
-			CreateShortCut &quot;$DESKTOP\Set LiteStep as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; litestep' &quot;$INSTDIR\losi\SetShellLS.ico&quot;
-			!insertmacro MUI_STARTMENU_WRITE_END
-		!endif
-	
+
+		CreateShortCut &quot;$DESKTOP\Set Explorer as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; explorer' &quot;$INSTDIR\losi\SetShellExplorer.ico&quot;
+		CreateShortCut &quot;$DESKTOP\Set LiteStep as Shell.lnk&quot; '&quot;$INSTDIR\utilities\wxlua.exe&quot;' '&quot;$INSTDIR\utilities\LOSS.lua&quot; litestep' &quot;$INSTDIR\losi\SetShellLS.ico&quot;
+
 		SetOverwrite on
-	
+
 		; Install all the modules and their docs
 		SetOutPath &quot;$INSTDIR\modules\&quot;
 		!insertmacro UNINSTALL.LOG_OPEN_INSTALL
 		File /r /x &quot;.svn&quot; &quot;.\LS\modules\*&quot;
 		!insertmacro UNINSTALL.LOG_CLOSE_INSTALL
-	
+
 		call backupPersonal
-	
+
 		; Install the personal files
 		SetOutPath &quot;$whereprofiles\personal&quot;
 		; Don't log these files, they are removed the traditional way
@@ -183,8 +173,8 @@
 		File /r /x &quot;.svn&quot; &quot;.\Personal\personal\*&quot;
 	
 		StrCmp $R9 &quot;LSKilled&quot; 0 wasntRunning
-		    ExecShell open &quot;$INSTDIR\litestep.exe&quot; ;Launch LiteStep
-		    StrCpy $hasStartedLS &quot;true&quot;
+			ExecShell open &quot;$INSTDIR\litestep.exe&quot; ;Launch LiteStep
+			StrCpy $hasStartedLS &quot;true&quot;
 		wasntRunning:
 	SectionEnd
 !endif</diff>
      <filename>SectionCore.nsh</filename>
    </modified>
    <modified>
      <diff>@@ -101,7 +101,9 @@
 		ReadRegStr $whereprofiles HKLM &quot;Software\${PRODUCT_NAME}\Installer&quot; &quot;ProfilesDir&quot;
 		ExpandEnvStrings $whereprofiles $whereprofiles
 	
-		Delete &quot;$INSTDIR\${PRODUCT_NAME}.url&quot;
+		Delete &quot;$INSTDIR\${PRODUCT_NAME}.url&quot;	
+		Delete &quot;$DESKTOP\Set Explorer as Shell.lnk&quot;
+		Delete &quot;$DESKTOP\Set LiteStep as Shell.lnk&quot;
 		
 		!ifdef PAGE_START_MENU
 			!insertmacro MUI_STARTMENU_GETFOLDER &quot;Application&quot; $ICONS_GROUP
@@ -110,8 +112,6 @@
 			Delete &quot;$SMPROGRAMS\$ICONS_GROUP\Website.lnk&quot;
 			Delete &quot;$SMPROGRAMS\$ICONS_GROUP\Set Explorer as Shell.lnk&quot;
 			Delete &quot;$SMPROGRAMS\$ICONS_GROUP\Set LiteStep as Shell.lnk&quot;
-			Delete &quot;$DESKTOP\Set Explorer as Shell.lnk&quot;
-			Delete &quot;$DESKTOP\Set LiteStep as Shell.lnk&quot;
 		    
 		    RMDir /REBOOTOK &quot;$SMPROGRAMS\$ICONS_GROUP&quot;
 		</diff>
      <filename>Uninstaller.nsh</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>HiddenSectionAdditionalIcons.nsh</filename>
    </removed>
    <removed>
      <filename>PageStartMenu.nsh</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>d87ef899d9323e8bc24b23e2dd2cce38821e8c2c</id>
    </parent>
  </parents>
  <author>
    <name>Tobbe Lundberg</name>
    <email>tobbesweden@gmail.com</email>
  </author>
  <url>http://github.com/Tobbe/losi/commit/b487f7faf134a967b7d6409f75202baa1b34cc2f</url>
  <id>b487f7faf134a967b7d6409f75202baa1b34cc2f</id>
  <committed-date>2008-06-14T14:46:45-07:00</committed-date>
  <authored-date>2008-06-14T14:46:45-07:00</authored-date>
  <message>Moved the page where you select the Start menu folder.  Changed the variable name used for determining if there should be a warning when canceling the intallation or not.  Added a new page that warns the user if he/she is trying to install LiteStep when there already is some version of LiteStep installed to the computer.</message>
  <tree>376df9ccc0a9e4ce509bfcdca3d5c10e5c1ba582</tree>
  <committer>
    <name>Tobbe Lundberg</name>
    <email>tobbesweden@gmail.com</email>
  </committer>
</commit>
