{"id":1425,"date":"2013-05-03T12:15:50","date_gmt":"2013-05-03T00:15:50","guid":{"rendered":"https:\/\/www.deltics.co.nz\/blog\/?p=1425"},"modified":"2013-05-03T12:17:31","modified_gmt":"2013-05-03T00:17:31","slug":"changing-your-delphi-license-serial-number","status":"publish","type":"post","link":"https:\/\/www.deltics.co.nz\/blog\/posts\/1425\/","title":{"rendered":"Changing Your Delphi License Serial Number"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span><p>Having installed and activated Delphi XE4 using the license available to me from my employer I decided that, despite the very nasty taste left in my mouth, I would pay the $49 required for the XE4 <del>&#8220;hot-fix&#8221;<\/del> release, albeit only in order to remain with the valid update window now imposed by Embarcadero, on the off-chance that one of the next two releases might actually be worthwhile.  This uncovered something of an ironic problem.<br \/>\n<!--more--><br \/>\nIronic, because normally complaints about registration and activation revolve around being forced to do it at all.  In this case, my problem was that I couldn&#8217;t provoke the damned thing to allow me to do it! <\/p>\n<p>Having installed and activated using a previous license serial number, I needed to now update my installation with a <em>different<\/em> license serial number.<\/p>\n<p>Seeing no other obvious way to achieve this, I re-ran the installer and chose the &#8220;Update&#8221; option, which mentions that this is the appropriate choice if applying a new license.  This is what I was doing, even if it was for the same edition.<\/p>\n<p>So I went ahead.<\/p>\n<p>Despite the fact that the installation was identical, it took just as long as a fresh install.  But never mind that.  Once finished, I launched XE4 expecting to be presented with the registration\/activation wizard to register and activate the new serial number.<\/p>\n<p>But no.  XE4 started normally and informed me that indeed it was <em>already registered<\/em>.<\/p>\n<p>My first panicked thought was that my <em>personal<\/em> license serial number had been automatically applied to my <em>employers<\/em> EDN account, used to previously register the initial license used.  Thankfully this was not the case.  For once in the EDN licensing system &#8211; a system which as far as I can tell hasn&#8217;t been updated in at least a decade &#8211; getting anything changed is as good as impossible.  They can&#8217;t &#8211; or won&#8217;t &#8211; even remove or delete registered products that you no longer use.  They can&#8217;t or won&#8217;t even provide a filter to allow you to choose which product you wish to see when you view your list of registered products.  But I digress.<\/p>\n<p>As I say, I checked my employers and my personal EDN accounts, and with relief found that the new, personal license serial number wasn&#8217;t listed in either.  But that simply raised the question of what exactly had the installer done with it if it wasn&#8217;t here ?<\/p>\n<p>Clearly it must have used some information in that license serial number to determine what parts of the product to install.<\/p>\n<p>So next, I tried deleting the <strong>.slip<\/strong> file from the <strong>License<\/strong> folder in the <strong>RAD Studio\\11.0<\/strong> installation, with no difference.  Still registered.<\/p>\n<p>Next I completely uninstalled XE4, making sure to tick the option to &#8220;completely remove&#8221; all files and registry entries.  <em>That<\/em> would do the trick, surely ?<\/p>\n<p>Once that finished grinding it&#8217;s way through my system, I then of course had to re-run the installation, using my <em>new<\/em> serial number.  Which I did, and upon starting XE4, up came the registration and activation wizard as expe&#8230; oh wait.  No, it didn&#8217;t.<\/p>\n<p>This <em>completely new<\/em> installation, after having &#8220;completely removed&#8221; the previous installation, was also &#8220;Registered&#8221;.<\/p>\n<p>So I went spelunking in the <strong>Program Files<\/strong> folder for the installation, and sure enough managed to find <strong>bdsreg.exe<\/strong> &#8211; a likely looking candidate for the registration wizard.  Unfortunately, it refused to run without some unspecified and (as far as I can tell) undocumented parameters on it&#8217;s command line.<\/p>\n<p>So I did a little more digging and found <strong>LicenseManager.exe<\/strong> !!  &#8220;<em>AHA!<\/em>&#8221; I thought, &#8220;<em>finally, something I can use to <strong>manage<\/strong> my <strong>license<\/strong><\/em>!&#8221;.  Sadly my optimism was premature.<\/p>\n<p>Upon running the sadly mis-named &#8220;<em>License Manager<\/em>&#8221; I could indeed <em>see<\/em> <strong>all<\/strong> the licenses I had installed, with their serial numbers and details.  Unfortunately, &#8220;License Viewer&#8221; would have been a better name for this tool because despite their being a menu item to &#8220;Delete&#8221; license entries, it remained resolutely disabled.  <em>Viewing<\/em> is all this <em>Manager<\/em> seems good for.<\/p>\n<p>But at least I could see that, indeed, my XE4 installation was still licensed using the <em>old<\/em> license serial number.  Not my own one.  Not the one used to actually install the product on this most recent occasion.  And no, there were not two licenses present for XE4.  Just the one.<\/p>\n<p>After a bit more digging around on the internets, I found a reference to the location of some other <strong>.slip<\/strong> files, in <strong>ProgramData\\Embarcadero<\/strong> (I can only think that the one in the <strong>License<\/strong> folder of the installation itself is just there for decoration?)<\/p>\n<p>With reference to the dates on these files I was able to identify one which looked most likely to be that for XE4.  So I deleted that and tried launching XE4 again.<\/p>\n<p>Hazaa!  Finally, I was presented with the registration and activation wizard, already filled out with the correct, <em>new<\/em> license serial number, and was able to finally register the product and active my license serial number against my EDN account.<\/p>\n<p>Oh well, at least what should have taken 30 seconds or a couple of minutes, at most, only took the best part of TWO HOURS!  (Now that I know about those additional .slip files, it will be much quicker next time of course, as it will be for you, dear reader \ud83d\ude42 ).<\/p>\n<p>I can only say that recent comments from people complaining that &#8220;you get what you pay for&#8221; as a way of dismissing &#8220;OSS&#8221; (conflated with &#8220;free&#8221;) software as being unable to compete with the capability and polish of commercial software developed &#8220;properly&#8221; don&#8217;t fit too well with the experience we Delphi users seem to be expected to put up with.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span>Having installed and activated Delphi XE4 using the license available to me from my employer I decided that, despite the very nasty taste left in my mouth, I would pay the $49 required for the XE4 &#8220;hot-fix&#8221; release, albeit only in order to remain with the valid update window now imposed by Embarcadero, on the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,201],"tags":[206,292,89],"class_list":["post-1425","post","type-post","status-publish","format-standard","hentry","category-delphi","category-xe4","tag-activation","tag-delphi","tag-licensing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1TKYv-mZ","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/1425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=1425"}],"version-history":[{"count":2,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/1425\/revisions"}],"predecessor-version":[{"id":1427,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/1425\/revisions\/1427"}],"wp:attachment":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=1425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=1425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=1425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}