[wix-users] Some registry keys not added?

Persson, Magnus (SE-TLX) magnus.persson at assaabloy.com
Tue Jun 14 00:03:48 PDT 2016


Hi,

Since heat.exe do not harvest COM information from EXE-files (only DLL-files) I have to add the registry information manually through the XML.

This is the registry information exported by another tool into a reg-file:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT]

[HKEY_CLASSES_ROOT\AppID]

[HKEY_CLASSES_ROOT\AppID\AppUpdate.EXE]
"AppID"="{602A5403-36BC-471A-BA05-CF2DDE7AAAD0}"

[HKEY_CLASSES_ROOT\AppID\{602A5403-36BC-471A-BA05-CF2DDE7AAAD0}]
@="ASSA ABLOY Hospitality AppUpdate"

[HKEY_CLASSES_ROOT\CLSID]

[HKEY_CLASSES_ROOT\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}]
"AppID"="{602A5403-36BC-471A-BA05-CF2DDE7AAAD0}"

[HKEY_CLASSES_ROOT\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\Programmable]

[HKEY_CLASSES_ROOT\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\TypeLib]
@="{040A1374-C050-44E6-AF8B-B2FAAD4D0959}"

[HKEY_CLASSES_ROOT\Interface]

[HKEY_CLASSES_ROOT\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}]
@="IAutoUpdateCards"

[HKEY_CLASSES_ROOT\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\ProxyStubClsid32]
@="{00020424-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\TypeLib]
@="{040A1374-C050-44E6-AF8B-B2FAAD4D0959}"
"Version"="1.0"

[HKEY_CLASSES_ROOT\TypeLib]

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}]

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0]
@="AppUpdate 1.0 Type Library"

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\FLAGS]
@="0"

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\HELPDIR]
@="[$AppUpdate.exe]"

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\0]

[HKEY_CLASSES_ROOT\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\0\win32]
@="[!appupdate.exe]"

This is the part of the log that adds those keys to registry:

MSI (s) (C8:50) [08:43:18:764]: Executing op: RegOpenKey(,Key=AppID\AppUpdate.EXE,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:764]: Executing op: RegAddValue(Name=AppID,Value={602A5403-36BC-471A-BA05-CF2DDE7AAAD0},)
WriteRegistryValues: Key: \Software\Classes\AppID\AppUpdate.EXE, Name: AppID, Value: {602A5403-36BC-471A-BA05-CF2DDE7AAAD0}
MSI (s) (C8:50) [08:43:18:765]: Executing op: RegOpenKey(,Key=AppID\{602A5403-36BC-471A-BA05-CF2DDE7AAAD0},,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:765]: Executing op: RegAddValue(,Value=ASSA ABLOY Hospitality AppUpdate,)
WriteRegistryValues: Key: \Software\Classes\AppID\{602A5403-36BC-471A-BA05-CF2DDE7AAAD0}, Name: , Value: ASSA ABLOY Hospitality AppUpdate
MSI (s) (C8:50) [08:43:18:765]: Executing op: RegOpenKey(,Key=CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3},,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:765]: Executing op: RegAddValue(Name=AppID,Value={602A5403-36BC-471A-BA05-CF2DDE7AAAD0},)
WriteRegistryValues: Key: \Software\Classes\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}, Name: AppID, Value: {602A5403-36BC-471A-BA05-CF2DDE7AAAD0}
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegOpenKey(,Key=CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\Programmable,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegCreateKey()
WriteRegistryValues: Key: \Software\Classes\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\Programmable, Name: , Value:
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegOpenKey(,Key=CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\TypeLib,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegAddValue(,Value={040A1374-C050-44E6-AF8B-B2FAAD4D0959},)
WriteRegistryValues: Key: \Software\Classes\CLSID\{19DA01BC-529E-44B1-A415-D6FFE697DDE3}\TypeLib, Name: , Value: {040A1374-C050-44E6-AF8B-B2FAAD4D0959}
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegOpenKey(,Key=Interface\{A415BA80-6659-425C-8DCD-A389900F949A},,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:766]: Executing op: RegAddValue(,Value=IAutoUpdateCards,)
WriteRegistryValues: Key: \Software\Classes\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}, Name: , Value: IAutoUpdateCards
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegOpenKey(,Key=Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\ProxyStubClsid32,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegAddValue(,Value={00020424-0000-0000-C000-000000000046},)
WriteRegistryValues: Key: \Software\Classes\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\ProxyStubClsid32, Name: , Value: {00020424-0000-0000-C000-000000000046}
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegOpenKey(,Key=Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\TypeLib,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegAddValue(,Value={040A1374-C050-44E6-AF8B-B2FAAD4D0959},)
WriteRegistryValues: Key: \Software\Classes\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\TypeLib, Name: , Value: {040A1374-C050-44E6-AF8B-B2FAAD4D0959}
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegAddValue(Name=Version,Value=1.0,)
WriteRegistryValues: Key: \Software\Classes\Interface\{A415BA80-6659-425C-8DCD-A389900F949A}\TypeLib, Name: Version, Value: 1.0
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegOpenKey(,Key=TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:768]: Executing op: RegAddValue(,Value=AppUpdate 1.0 Type Library,)
WriteRegistryValues: Key: \Software\Classes\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0, Name: , Value: AppUpdate 1.0 Type Library
MSI (s) (C8:50) [08:43:18:769]: Executing op: RegOpenKey(,Key=TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\FLAGS,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:769]: Executing op: RegAddValue(,Value=0,)
WriteRegistryValues: Key: \Software\Classes\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\FLAGS, Name: , Value: 0
MSI (s) (C8:50) [08:43:18:769]: Executing op: RegOpenKey(,Key=TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\HELPDIR,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:769]: Executing op: RegAddValue(,Value=[$AppUpdate.exe],)
WriteRegistryValues: Key: \Software\Classes\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\HELPDIR, Name: , Value: [$AppUpdate.exe]
MSI (s) (C8:50) [08:43:18:770]: Executing op: RegOpenKey(,Key=TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\0\win32,,BinaryType=0,,)
MSI (s) (C8:50) [08:43:18:770]: Executing op: RegAddValue(,Value=[!appupdate.exe],)
WriteRegistryValues: Key: \Software\Classes\TypeLib\{040A1374-C050-44E6-AF8B-B2FAAD4D0959}\1.0\0\win32, Name: , Value: [!appupdate.exe]

However, the CLSID and Interface keys are not added to the registry. Only the AppID and TypeLib keys are added. What am I doing wrong?

/Magnus


More information about the wix-users mailing list