MSI is the installer used to install/remove the program. It's the "Microsoft Installer".
https://en.wikipedia.org/wiki/Windows_Installer
So I think you probably already know the installer is trying to
update the program that was previously installed and not do a
new install. So the question is, how is it determining that the program is still installed? I looked for any leftover files/folders and deleted those (found 3 folders). That didn't help. I tried using special command line parameters for the installer and forcing a new folder to install to. Those didn't work.
Next, I removed and edited a TON of registry entries and FINALLY stumbled upon something that worked for me. Whether it will work for you or not is still an open question. I'll tell you what I did and you can try it out. Read carefully and be sure you make the backup. You might want to make a full registry backup also (I linked to the instructions somewhere above).
* Run regedit, near the top, paste the following line in and press enter:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{93BFE5DF-776E-436F-8693-DF1F72C0E3C1}
* On the left, right click on
Uninstall and choose
Export. Save it as Backup.reg. If something goes wrong, double click on the Backup.reg to restore it back to how it was.
* Go back to
{93BFE5DF-776E-436F-8693-DF1F72C0E3C1} below.
* On the right, change the
InstallLocation to path you want to use. Example:
C:\Program Files (x86)\Epic Games\
* Run the installer (and hopefully you'll see 2 different options) and choose to
Remove. This allows the registry to be reset.
* Run the installer again and
install it anywhere you want.
I've tested the above twice and it worked both times. It would have been much quicker if I didn't have to wait for the 127 MB update to download/install each time on my slower connection.
Screenshots:
Installed on Drive E.
Removed Drive E from system.
Editing Registry.
Run installer and choose Remove.
Run Installer again.
Will there by any other side effects? I can't answer that for you. I don't have any Epic games.
I hope this works. If not, I'm sorry but I tried. There's many failed attempts to fix this:
https://answers.unrealengine.com/questions/126746/engine-launcher-installs-only-to-c-drive.html
https://answers.unrealengine.com/questions/109751/installer-will-only-let-me-install-to-the-c-drive.html