Quote from: 

http://flexerasoftware.force.com/articles/en_US/INFO/Q105971

Synopsis

 

The Windows Installer service places information in the registry that has to do with my product, but I do not recognize the GUID-like keys that appear.

Discussion

In some cases (such as the location of the Uninstall string), MSI stores information about your project using your full Product Code GUID. In most cases, however, most GUID-specific MSI information is stored using a compressed GUID format. In this compressed format, all of the hexadecimal digits in the GUID are the same, but their order is switched around and extraneous characters (hyphens and curly braces) are omitted.

Here is the typical GUID format:

{ABCDEFGH-1234-IJKL-5678-MNPQRSTUVWXY}

The following steps are taken to convert this GUID to its compressed counterpart:

  1. The first group of eight hexadecimal digits are placed in reverse order:

    ABCDEFGH becomes HGFEDCBA

  2. The same is done with the second group of four hexadecimal digits:

    1234 becomes 4321

  3. The same is done with the third group of four hexadecimal digits:

    IJKL becomes LKJI

  4. In the fourth group of four hexadecimal digits, every two digits switch places:

    5678 becomes 6587

  5. In the last group of 12 hexadecimal digits, again every two digits switch places:

    MNPQRSTUVWXY becomes NMQPSRUTWVYX

  6. Finally, the hyphens and curly braces are dropped:

    {ABCDEFGH-1234-IJKL-5678-MNPQRSTUVWXY} becomes
    {HGFEDCBA-4321-LKJI-6587-NMQPSRUTWVYX} becomes
    HGFEDCBA4321LKJI6587NMQPSRUTWVYX

Q105971:Converting a Regular GUID to a Compressed GUID的更多相关文章

  1. PHP+Jquery+Ajax 实现动态生成GUID、加载GUID

    GUID: 全局唯一标识符(GUID,Globally Unique Identifier)是一种由算法生成的二进制长度为128位的数字标识符.GUID主要用于在拥有多个节点.多台计算机的网络或系统中 ...

  2. Guid.NewGuid() 和 new Guid()的区别

    Guid.NewGuid().ToString() + "||" + (new Guid()).ToString() b8efacbb-7d43-4da5-9f48-9a75d8c ...

  3. List<Guid?> a = new List<Guid?>();

    正常写法 泛型 类型 为 Guid? List<Guid?> a = new List<Guid?>(); Guid? b = null; Nullable<Guid&g ...

  4. C#生成Guid,SqlServer生成Guid

    https://www.cnblogs.com/che109/p/6808143.html工作中需要用到全球唯一标识符,在.net当中 微软已经为我们添加了此方法,我们只需要直接调用即可.代码如下: ...

  5. C#中GUID的生成格式(Guid.ToString方法 )

    GUID 是微软对UUID这个标准的实现.UUID是由开放软件基金会(OSF)定义的.UUID还有其它各种实现,不止GUID一种 public string ToString(     string  ...

  6. UUID GUID

    http://baike.baidu.com/link?url=xkck9gR5bzOx0oBKP1qNJwGGq3IO56V4i8cg9zTSpSDMVBMA0F7jr0AdkQTGyk7F0FGj ...

  7. UniqueIdentifier 数据类型 和 GUID 生成函数

    UniqueIdentifier 数据类型用于存储GUID的值,占用16Byte. SQL Server将UniqueIdentifier存储为16字节的二进制数值,Binary(16),按照特定的格 ...

  8. 生成GUID唯一值的方法汇总(dotnet/javascript/sqlserver)

    一.在 .NET 中生成1.直接用.NET Framework 提供的 Guid() 函数,此种方法使用非常广泛.GUID(全局统一标识符)是指在一台机器上生成的数字,它保证对在同一时空中的任何两台计 ...

  9. SQLSERVER如何使用递增排序的GUID做主键

    场景: 产品表数据量较大想用Guid做表的主键,并在此字段上建立聚簇索引. 因为Guid是随机生成的,生成的值大小是不确定的,每次生成的数可能很大,也可能很小.这样会影响插入的效率 1.NEWSEQU ...

随机推荐

  1. HW4.32

    import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner i ...

  2. HW2.17

    import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner i ...

  3. Codeforces2B - The least round way(DP)

    题目大意 给定一个N*N的格子,每个格子里有一个非负数,要求你找出从左上角到右下角的一条路径,使得它满足路径上的格子里的数全部乘起来的积尾部0最少 题解 如果要产生0肯定是2*5得出来的,最终的乘积可 ...

  4. Oracle10g/11g 在SUSE/RHEL上的安装与配置

    在过去对众多项目的支撑过程中,Oracle作为首选数据库,其安装与配置过程成了重复性最多的工作之一.在此,我进行了总结,并分享出来,希望能对大家有所帮助.随着Oracle版本的提升,从9i -> ...

  5. Windows Service installutil 部署时,出错的解决办法-原创

    出错信息如下: ---------------------------------------------------------- ~~~~~... The Rollback phase compl ...

  6. mac使用初级

    imac使用的是login shell,所有开启一个terminal的时候,不会运行.bashrc文件,而是运行.bash_profile文件,因此只需要中home目录新建一个.bash_profil ...

  7. [置顶] 斗地主算法的设计与实现--项目介绍&如何定义和构造一张牌

    大学期间,我在别人的基础上,写了一个简易的斗地主程序. 主要实现了面向对象设计,洗牌.发牌.判断牌型.比较牌的大小.游戏规则等算法. 通过这个斗地主小项目的练习,提高了我的面向对象设计能力,加深了对算 ...

  8. Robotium学习笔记三

    以下是从网络上抄录的一些Robotium注意事项 1)有些button没有string,没有text,只能通过index来click这样很不直观,而且button的index并不是固定的,有可能随着控 ...

  9. C++或者C#中如何拿到一个窗口的标题

    博客搬到了fresky.github.io - Dawei XU,请各位看官挪步.最新的一篇是:C++或者C#中如何拿到一个窗口的标题.

  10. 为什么在Windows有两个临时文件夹的环境变量Temp和Tmp?

    博客搬到了fresky.github.io - Dawei XU,请各位看官挪步.最新的一篇是:为什么在Windows有两个临时文件夹的环境变量Temp和Tmp?.