Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Shuffled product code


2 replies to this topic

mspa

mspa
  • Members
  • 9 posts

Posted 10 March 2006 - 15:57

When I install a product with i.e. the product code:
{B47DFDFE-8B2F-4F93-A6F9-DED43DC86843}

The registry will contain an entry in the HKLM\SOFTWARE\Classes\Installer\Products with the product code:
{EFDFD74B-F2B8-39F4-6A9F-ED4DD38C8634}

As you can see they are totally different. Well actually not totally different because when you take a closer look, the seperate value parts are mirrored as shown below:

B47DFDFE 8B2F 4F93 A6 F9 DE D4 3D C8 68 43

EFDFD74B F2B8 39F4 6A 9F ED 4D D3 8C 86 34

My question now is, why is this done? and is it always done with the same algoritm?



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 March 2006 - 18:44

I guess it's done so that nobody tries to mangle with these registry entries. It looks like it's always the same algorithm, but it's not documented and may change any time without notice.

Dattel

Dattel
  • Members
  • 10 posts

Posted 13 March 2006 - 10:24

afaik - the last 3 years it was the same algorithm to "crypt" the Product Code. It has never been changed since that day