Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 63 forks source link

Installer, RAD 10.1 upd 2 not found #34

Open dslutej opened 7 years ago

dslutej commented 7 years ago

Note this will be written as a log, the initial issue described appears to have been caused by something unrelated.

See attached screenshot. RAD 10.1 upd 2 installed on computer.

dephinus

Selected all, tried installing anyways:

Log (note: D:\Work\Delphi\ is where DelphinusWebSetup.exe is located):

Datei D:\Work\Delphi\rsvars.bat kann nicht geöffnet werden. The system cannot find the file specified Copied rsvars.bat to D:\Work\Delphi\ Repeat, selected all (still empty), log now shows: Downloading Delphinus Version: BDS 10.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 11.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 12.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 14.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 15.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 16.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 17.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 8.0 Installing Copying sourcefolders: . Adding Libpathes: BDS 9.0 Installing Copying sourcefolders: . Adding Libpathes: Checked registry. HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS did contain all above but empty keys. Strange, only other RAD installed on this computer was XE7 (uninstalled a while ago). Cleaned out keys, with only 18.0 remaining. Restarted Delphinius installer, now the checkboxes without caption are gone (i.e. only Select All left).
dslutej commented 7 years ago

SOLVED:

HKCU\SOFTWARE\Embarcadero\BDS\18.0\Edition was set to "Starter" - changed to "Enterprise" and voila.

Memnarch commented 7 years ago

Okay that looks quite odd oO. Starting with the rsvars.bat. If my setup failed to find it and you added it to the folder, it might have used the same for each Delphi. Which is unfortunate as it'll select the wrong compiler(if there are multiple).

About the Starter, was there a starter before? Just wondering how that one got there. The setup filters those out since it has no commandline compiler.

Is it correct, that everything else is not installed(but was, in the past), but is still displayed? In that case i need to add some sanity checks to not pickup a leftover key spooking around. If it is this case, it explains why it failed to find the batchfile.

dslutej commented 7 years ago

Installation history on this computer was something like:

XE7 Enterprise 10.1 Starter 10.1 uninstall 10.1 Upd1 Trial 10.1 uninstall XE7 uninstall 10.1 Upd2 Enterprise

I didn't remove registry keys inbetween installations. Lesson learned :D

AHA! Regarding the non-existant versions: I found the bad guy. uniGUI installer creates dummy keys, see attached screenshot.

unigui_installer

Memnarch commented 7 years ago

I didn't remove registry keys inbetween installations.

Well that's something the uninstaller should take care off anyway^^

uniGUI installer creates dummy keys

Uhh interesting. I'll have to add some checks since the same code to provide installations is used for the commandline oo

GrooverMD commented 7 months ago

@dslutej Thanks for the HKCU\SOFTWARE\Embarcadero\BDS\18.0\Edition hack. I had the same problem with 11.3.