Due to LFS uninstaller problems I had to make adjustments to the LFS installer.
The installer now has new installation folder logic. That means that the installer will do additional checks during setup to make sure that LFS is installed into a safe location.
The logic is as follows :
When you select an install location, it will check and see if LFS is installed at that location. A confirmation box will appear asking you if you are sure you want to overwrite that LFS install. If so, the installer continues. If not, you can select another folder.
If the install location does not contain an LFS install then :
If the install location does not exist, accept it and continue.
If the install location does exist but is empty, accept it and continue.
Otherwise append "LFS" to the install location, but check if that folder does not already exist. Keep trying until we find a non existent folder name (appending sequential numbers, LFS, LFS2, LFS3, etc).
I have attached a dummy installer that you can test with if you want. It _does_ install some files, but only a few simply to keep the filesize down.
It's no biggie if you overwrite an existing folder with this, but I guess you don't really have to for the test. You can safely install into a new folder and later uninstall it. Your current, real LFS install won't be affected.
The main test here is to make sure LFS is always installed to a safe folder and cannot be installed directly into a folder like Program Files or Windows.
Additionally the uninstaller that this test installer copies, also has a folder removal safety that checks for folders like Program Files and Windows and will refuse to remove those if LFS is installed directly into them (and not into a subfolder).
EDIT - uploaded new test installer with the following changes :
-includes the files that the installer uses to determine if a folder contains an LFS install
-checks if any of the parent folders of the selected install location contains an LFS install. It will warn about nesting and ask for your confirmation if so.
The installer now has new installation folder logic. That means that the installer will do additional checks during setup to make sure that LFS is installed into a safe location.
The logic is as follows :
When you select an install location, it will check and see if LFS is installed at that location. A confirmation box will appear asking you if you are sure you want to overwrite that LFS install. If so, the installer continues. If not, you can select another folder.
If the install location does not contain an LFS install then :
If the install location does not exist, accept it and continue.
If the install location does exist but is empty, accept it and continue.
Otherwise append "LFS" to the install location, but check if that folder does not already exist. Keep trying until we find a non existent folder name (appending sequential numbers, LFS, LFS2, LFS3, etc).
I have attached a dummy installer that you can test with if you want. It _does_ install some files, but only a few simply to keep the filesize down.
It's no biggie if you overwrite an existing folder with this, but I guess you don't really have to for the test. You can safely install into a new folder and later uninstall it. Your current, real LFS install won't be affected.
The main test here is to make sure LFS is always installed to a safe folder and cannot be installed directly into a folder like Program Files or Windows.
Additionally the uninstaller that this test installer copies, also has a folder removal safety that checks for folders like Program Files and Windows and will refuse to remove those if LFS is installed directly into them (and not into a subfolder).
EDIT - uploaded new test installer with the following changes :
-includes the files that the installer uses to determine if a folder contains an LFS install
-checks if any of the parent folders of the selected install location contains an LFS install. It will warn about nesting and ask for your confirmation if so.