RADStudio Update 3 Common Issues

The most common issues I see folks running into are listed below. Feel free to send me email if you find something other then what is listed here. I’d appreciate a QC report logged so it’s easy to promote and have the team investigate

1) If you have trouble downloading files, read here:

Downloading new .7zip files into a directory that already has previous files. Please watch out for this - create a new directory such as C:\RadStudioUpdate3\ , download the new setup.exe into this directory, then launch from there. You can use the command line to launch using "setup /upgrade" which should bypass the Upgrade/Modify/Repair/Remove dialog. If it comes up anyways, select ‘Modify’ to update, and Upgrade if you need to enter a new serial number.

If the above doesn’t fix this, uninstall and then remove directories named with a GUID under C:\Documents and Settings\All Users\Application Data (or appropriate directory for your OS/Locale)

For example: C:\Documents and Settings\All Users\Application Data\{6AF0EFC6-B937-4704-A430-319EB93F4C12}

Check the directory to make sure it’s a CodeGear directory before deleting.

2)If on startup of setup.exe you get ‘Invalid Serial Number’, read here:

This looks like our ‘anti-hacking’ logic going overboard. It didn’t do this for Update 1, not sure what has changed but a lot more people are running into this then I’m comfortable with. We did do several hundred install tests, with old and new keys, but if you see this please send me an email with what SKU of the product this is from (you don’t need to send me the key, though I may ask for it later - that would be a last resort).

To work around the Invalid Serial Number problem, delete the CGLM.INI files which are in your \bin directory, and also found in the hidden shared applications directory C:\Documents and Settings\All Users\Application Data\CodeGear (This is the XP location, modify as appropriate depending on operating system and locale).

3)If your setup.exe does not initialize correctly, kill the process for setup.exe in the tasks manager and restart. This is very rare and random. It disappeared until literally we RTM’d so had thought fixing a earlier script error took care of it. We will keep investigating. The initialization should be very fast - a few seconds.

4)Installing Help - during the install of Update 3, the Help install can take a very long time. It may look like it’s frozen - what it does is download the files (several hundred megabytes, so depending on your connection speed this can take 10 minutes or several hours) then installs the files.

21 Responses to “RADStudio Update 3 Common Issues”

  1. Keld Hansen Says:

    Will there be an ISO DVD image made available of RAD Stduio 2007 and/or Delphi 2007 Win32?

  2. Mark Stals Says:

    Chris,

    My Update #3 horror story has been submitted as QC 51913.
    I had so hoped it would have been a success story…

    Mark

  3. Just Woundering Says:

    You say "Downloading new .7zip files into a directory that already has previous files" Where can I download them for UD3? I can only find a 5mb installer. No offline version

  4. Richard Shotbolt Says:

    I get the following error after selecting a MODIFY install: Runtime Error in Setup Script, Line 1874 Attempting to get value of undefined variable PROD_KEY1. The install then crashes. Hope you can tell me how to fix this.

  5. Bruce Says:

    I am currently running D2007 Update 2 under Windows Vista behind our
    company’s firewall.

    Checking for Updates has never returned anything but ‘No updates available’.

    I downloaded CodeGearRadStudio2007setup.exe from here:

    http://cc.codegear.com/item/25001

    I ran it with the upgrade parameter and as an administrator. I very quickly
    got the error:

    Runtime error in setup script:
    Line 1874: attempting to get value of undefined variable PROD_KEY1.

    What do I need to do here?

  6. Werner Weber Says:

    This Update completely removed my Delphi2007 Installation.
    The Setup did not resume after reboot as expected. Maybe the installation is located in a temp folder but i don’t know how to resume it by hand.

  7. Lynard Says:

    SKU# HDB0007WW30000 - Delphi 2007 for Win 32 Professional. I have already submitted the problem I’m having with the "invalid serial number" block to CodeGear support as a "case". Nothing I do resolves the problem. I have deleted all folders and registery keys you’ve mentioned. I have also scanned and deleted everything relating to RAD 5.0 and CodeGear I can find. Apparently there is something else lurking in the shadows that I can’t find. I keep getting the same "invalid serial number" block. My only reason for commenting here is to state that while I strongly support anti-hacking, or just plain preventive measures to avoid theft of services, there comes a point at which such measures are an insult to anyone who pays for the service–or, to be more precise, the lack of service. Seems to me Delphi 2007 has reached that point.

  8. Bruce Says:

    I am frustrated beyond belief. I downloaded the full zip and ran the installer (with and without the /upgrade parameter) and received the same error. I then decided to uninstall the product completely. The icon disappeared in ‘Add/Remove Programs’ but nothing happened. Crap. I removed all the Borland and Codegear folders I could find on my hard drive and in the registry. Ran setup in the zip file. I now get a dialog with four choices, but no matter what I choose, I get a similar error as below, but the line number is 15287 and the variable is HAS_SLIP.

    What do I need to do to fix this? I am now completely dead in the water.

  9. Chris Pattinson Says:

    Several answers here:

    1) A .ZIP of the install files has been posted to the registered users site, with an ISO on the way.

    The location for Delphi users is here:
    http://cc.codegear.com/item/25014

    2) For those running into the setup error, make sure to do the following:

    a) Download the zip file into a clean directory
    b) Unzip the contents into that directory
    c) Terminate any running applications or services that may cause a system reboot during install
    d) Run the setup.exe from the new directory

    Troubleshooting:
    You’ll get an error HAS_SLIP if using an older version of setup.exe and new files have been installed. Once you have applied Update 3, use the newest version setup.exe for installing the product.

    To clean up old installation files look in C:\Documents and Settings\All Users\Application Data , and delete any directories named with a long guid (such as {6AF0EFC6-B937-4704-A430-319EB93F4C12} )

    To clean up old registration information, delete the directory C:\Documents and Settings\All Users\Application Data\CodeGear and it’s sub-directories, also make sure to remove any cglm.ini files that exist where you previously installed, there will be one in the bin directory.

    Some additional information:
    During the initial application of Update 3, you’ll be prompted where to store the installation files. ***MAKE SURE to put the location of this directory to a clean directory.***

    We are working on posting a new version of the installer to make this much more clear, for now it is critical that when you apply update 3 you do not refer to any directories where previous installation files have been copied. This is where folks seem to be running into problems.

  10. Mike Piazza Says:

    I had the Delphi 2007 Professional installed and when I ran it I received a pop-up notification that update 3 was available and it asked if I wanted to download and install it. Stupidly I said yes. It proceeded to erase everything having to do with my current installation and then told me that I would have to reboot to continue. I did and that was the last I ever saw of the program. It left my computer a mess with partially deinstalled icons and directories for Delphi 2007 but no way to use my product. So now I’m having to reinstall it from the beginning.

    And on that note when I went to reinstall the product from the original disks it gave me the invalid key error described in your blog entry. After I called your support I got directed to your blog and I decided to try your CGLM.INI deletion even though as described it didn’t exactly fit my situation. That did the trick and I’m reinstalling as I write.

    Now…back to the initial problem..why did it wipe everything out and then not come back to finish the update by putting all the new files back in their place?

    I’m afraid to let it auto-update again as I do not trust your installation procedures anymore.

  11. Bill Engst Says:

    I’ve tried every thing I can and still getting the

    Runtime error in setup script:
    Line 1874: attempting to get value of undefined variable PROD_KEY1.

    What can I do next other then using Restore Register to roll back to pre RAD Studio installation?

  12. Chris Pattinson Says:

    Mike - download the Update 3 zip file from the registered users site, and apply it directly. The rebooting that caused this problem was some service MSI recognized was in use by the IDE, it’s hard to say what now that it’s been uninstalled. I agree we need to recover from this scenario much more gracefully.

    Bill - in general I’ve seen that error when files are either downloaded to a location where files have been previously installed from, or registration information is corrupted.

    Did you search and remove all cglm.ini files on your system (including hidden directories)? Also look in your shared application files directory and delete any directories with a long guid. For me on XP Pro they are here:

    C:\Documents and Settings\All Users\Application Data

    And directories have names such as {6AF0EFC6-B937-4704-A430-319EB93F4C12} - these is the install cache of files after being decompressed from the 7zip, and if this cache is somehow corrupted then you can see that error.

    Additional registration can be found in C:\Documents and Settings\All Users\Application Data\CodeGear (or applicable directory on your system) - it’s safe to delete this as well. Haven’t seen it as a factor in the past, but you said you tried everything else.

    Hope that helps…

  13. Bill Engst Says:

    I’ve finally got through the PROD_KEY1 issue by removing the RAD Studio directory. However, now I have the problem of:

    Line 15251 … HAS_SLIP error. I’ve tried to do some other’s did by moving a copy of the install cache from the desk top to my laptop (the desk version works fine). 10 min into the installation, I get the Fatel error: Unable to uninstall the old version of RAD Studio. Please uninstall yourself under Control panell…
    and the installation stops. But I don’t have an old version of RAD any where in my laptop. I’ve been working on this installation issue for days now and have run out of options!!!

  14. Andrey Says:

    I recall that when I had a HAS_SLIP I also uninstalled Delphi and cleaned out all the related folders, but that still did not allow me to do clean new install. Of course, there was no Delphi icon in the Add Remove Programs. I downloaded the installer database cleanup tool from Microsoft and it found Delphi in the database and removed it. After that the clean install was possible.

  15. Bill Engst Says:

    I’ve downloaded the MS cleanup tool, but RAD Studio was not listed. I’ve finally downloaded the 4.2G .ISO file, rolled back the registry, and was able to install the whole thing. I’m just happy that I’ve finally got it to work and hope that I don’t have to go through this again

  16. Mitja Says:

    There is cgml.ini also in Program Files\Codegear. This helped with my problems of invalid serial number (after deleting all other cgml.ini files).

  17. Mauricio Buschinelli Says:

    I have recently downloaded and installed Update #3 for Delphi 2007. After the installation was successfully completed I tried running Delphi 2007 and it no longer started. Shortly after the program is initiated and before any initialization screens are displayed I get the following error:

    Exception EacessViolation in module ntdll.dll at 00010C3F
    Access violation at address 7C910C3F in module ‘ntdll.dll’

    The program will simply not start. I’ve done a lot of research on the CodeGear website especially on Chris Pattinson’s website and have tried nearly everything.
    I have downloaded the installation zip file, extracted it to a new clean folder and done the installation process from there.

    When the first time around didn’t work I tried using the ‘repair’ option from the same installation file. In order to be able to do that I had to remove all my cglm.ini files. Even after the ‘repair’ installation has been completed I still get the ntdll.dll access violation error. I also tried the ‘modify’ option and nothing.

    After many trials I decided to completely uninstall Delphi from my computer, then I installed from scratch using the Update #3 file that I downloaded and the same issues came up.
    I was extremely frustrated and this is my work computer so it is very important that I can use Delphi on it! So I finally decided to FORMAT my computer and install Delphi 2007 from scratch using the Update #3 installation. That also didn’t work and I still get exactly the same ntdll.dll access violation error!

    I have no idea what to do and it’s been 3 days now that I can’t do my work because Delphi is not running. This is extremely frustrating and I simply cannot understand something like this can happen specially since Delphi 2007 was working perfectly on my computer before I made the mistake of installing Update #3.

  18. Chris Pattinson Says:

    Mauricio, searching Google I see this issue a handful of times, it appears introduced since D2007 Update 1, not Update 3.

    While it appears to only affect a handful of users there hasn’t been a conclusion to the ‘why’. I’ll investigate further… also suggest contacting CodeGear support as they may have this issue in their database (I’ll be emailing them myself too).

  19. Chris Pattinson Says:

    I found this thread that had an interesting data point - Delphi 7 was uninstalled.

    http://groups.google.com/group/borland.public.install.delphi/browse_thread/thread/365be5e6793ea19f/950f3107348f91e4%23950f3107348f91e4

    Now, this doesn’t make sense to your situation if you formatted the system clean, however seemed to resolve it for at least one person who ran into similar problems. Did you previously or currently have Delphi 7 installed? (That should still work, btw… but appears to have made a difference for this other developer)

  20. John Friel Says:

    I have a the GUID folders still under C:\Documents and Settings\All Users\Application Data\{6AF0EFC6-B937-4704-A430-319EB93F4C12}. Can these folders be removed after the upgrade or are they required to keep Rad Studio 2007 running?

  21. That information could have been useful 5 hours ago Says:

    Hi

    I just had to reinstall all of Delphi 2007 because while installing update 3 i made the mistake of pointing it to a folder containing my D2007 install files (assumed i had to as that was needed for update 2 on another machine).

    This threw a lot of errors and i had to cancel out of the install only to find it had blown Delphi 2007 away.

    Aargh! Start it all again!

    Moral:

    1. Better text explaining the significance of the cache folder specified in the wizard

    2. A sanity check in the install script to ensure an incompatible/non-empty folder has not been specified

Leave a Reply