Exclusions from registry
Hi,
I've got an application which requires to be started by Administrator the first time.
I took a snapshot and got mostly registry keys in HKEY_CLASSES_ROOT.
I'm trying to figure out if there are some keys that should be excluded in my package, and I've searched around for a while now.
Still not sure which keys to delete -if any of them should be deleted that is.
Any tip would be appreciated!
Here is some samples:
I've got an application which requires to be started by Administrator the first time.
I took a snapshot and got mostly registry keys in HKEY_CLASSES_ROOT.
I'm trying to figure out if there are some keys that should be excluded in my package, and I've searched around for a while now.
Still not sure which keys to delete -if any of them should be deleted that is.
Any tip would be appreciated!
Here is some samples:
HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\Implemented Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} - Is empty
HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\MiscStatus\1 - had the value 131473
HKEY_CLASSES_ROOT\Interface\{DC353FB8-1FF9-4627-A036-675830B17E05}\ProxyStubClsid -has the value {00020424-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\TypeLib\{F36BBF26-FC1F-41EC-9779-36730FB206F0}\1.1\FLAGS - has the value 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\0523626EB8D06B24E8BC62D077ACF956\Usage - has the value #984547329
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
smooochy
15 years ago
Are those all the keys you found?
If they are then since there are a few that went in HKCR and one in HKLM I would build two MSIs with one excluding the HKLM entry and one excluding the HKCR entries. I have had this problem before, but none of those keys look familiar to me so they might all be relevant.
If they are then since there are a few that went in HKCR and one in HKLM I would build two MSIs with one excluding the HKLM entry and one excluding the HKCR entries. I have had this problem before, but none of those keys look familiar to me so they might all be relevant.
Posted by:
jgb
15 years ago
There are more keys than this, but mostly subkeys to the ones mentioned or similar keys.
I don't have any problems with the application after adding these registry keys, but I just wanted to find out if any of these keys should be removed in case potential problems in the future since it's an application to be installed on terminalservers (a lot of users would be affected at the same time if something is wrong with the package)Will they for instance overwrite keys they shouldn't, do they just make rubbish in the registry etc, etc...
I don't have any problems with the application after adding these registry keys, but I just wanted to find out if any of these keys should be removed in case potential problems in the future since it's an application to be installed on terminalservers (a lot of users would be affected at the same time if something is wrong with the package)Will they for instance overwrite keys they shouldn't, do they just make rubbish in the registry etc, etc...
Posted by:
AngelD
15 years ago
Remove the HKLM entry as that is part of the Windows Installer metadata for the product with ProductCode {E6263250-0D8B-42B6-8ECB-260D77CA9F65}.
Did you capture an MSI installation?
Regarding the HKCR entries it would be hard to tell without knowing the "other" registry entry parts of these.
Do you have any entries in the Class table referring to {1B9BACE5-533F-46CD-8ED1-A252081F880D} and {8455A57D-9C8E-461C-9204-556B4174409A}?
Also check the TypeLib table for {F36BBF26-FC1F-41EC-9779-36730FB206F0}
If you're going to install this application on TS then make sure not to convert to advertise information to minimize a repair from being triggered.
Did you capture an MSI installation?
Regarding the HKCR entries it would be hard to tell without knowing the "other" registry entry parts of these.
Do you have any entries in the Class table referring to {1B9BACE5-533F-46CD-8ED1-A252081F880D} and {8455A57D-9C8E-461C-9204-556B4174409A}?
Also check the TypeLib table for {F36BBF26-FC1F-41EC-9779-36730FB206F0}
If you're going to install this application on TS then make sure not to convert to advertise information to minimize a repair from being triggered.
Posted by:
anonymous_9363
15 years ago
Posted by:
jgb
15 years ago
I took a snapshot as I was running the application for the first time as an Administrator.
I've searched for the keys in the Class table, but could not find them, eventhough the application name is mentioned in the registry keys that appeared in the snapshot.
Here is the registry entries I had left after doing a little bit cleaning. Maybe I can remove even more?
I've changed the name of the application to APPLICATION_NAME, and the executable to APPLICATION_EXE_FILE
About not advertising, will I do that by choosing YES in the "advertising" dialogbox I get when I import the registry keys? Would that be sufficient?
I've searched for the keys in the Class table, but could not find them, eventhough the application name is mentioned in the registry keys that appeared in the snapshot.
Here is the registry entries I had left after doing a little bit cleaning. Maybe I can remove even more?
I've changed the name of the application to APPLICATION_NAME, and the executable to APPLICATION_EXE_FILE
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}]
@="APPLICATION_EXE_FILE.clsToolTip"
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\Implemented Categories]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\Implemented Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\LocalServer32]
@="C:\\Program Files\\APPLICATION_NAME\\Shared\\APPLICATION_EXE_FILE.exe"
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\ProgID]
@="APPLICATION_EXE_FILE.clsToolTip"
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\Programmable]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\TypeLib]
@="{F36BBF26-FC1F-41EC-9779-36730FB206F0}"
[HKEY_CLASSES_ROOT\CLSID\{1B9BACE5-533F-46CD-8ED1-A252081F880D}\VERSION]
@="1.1"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}]
@="APPLICATION_EXE_FILE.admin"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\DefaultIcon]
@="C:\\Program Files\\APPLICATION_NAME\\Shared\\APPLICATION_EXE_FILE.exe, 1"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\DocObject]
@="4"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories\{0DE86A56-2BAA-11CF-A229-00AA003D7352}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\Implemented Categories\{40FC6ED8-2438-11CF-A3DB-080036F12502}]
"+"=""
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\InprocHandler32]
@="OLE32.DLL"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\LocalServer32]
@="C:\\Program Files\\APPLICATION_NAME\\Shared\\APPLICATION_EXE_FILE.exe"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\MiscStatus]
@="0"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\MiscStatus\1]
@="131473"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\ProgID]
@="APPLICATION_EXE_FILE.admin"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\TypeLib]
@="{F36BBF26-FC1F-41EC-9779-36730FB206F0}"
[HKEY_CLASSES_ROOT\CLSID\{8455A57D-9C8E-461C-9204-556B4174409A}\VERSION]
@="1.1"
[HKEY_CLASSES_ROOT\Interface\{DC353FB8-1FF9-4627-A036-675830B17E05}]
@="clsToolTip"
[HKEY_CLASSES_ROOT\Interface\{DC353FB8-1FF9-4627-A036-675830B17E05}\ProxyStubClsid]
@="{00020424-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Interface\{DC353FB8-1FF9-4627-A036-675830B17E05}\ProxyStubClsid32]
@="{00020424-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Interface\{DC353FB8-1FF9-4627-A036-675830B17E05}\TypeLib]
@="{F36BBF26-FC1F-41EC-9779-36730FB206F0}"
"Version"="1.1"
[HKEY_CLASSES_ROOT\Interface\{DE257628-F3A4-4CF6-830C-24B828FBB6F3}]
@="admin"
[HKEY_CLASSES_ROOT\Interface\{DE257628-F3A4-4CF6-830C-24B828FBB6F3}\ProxyStubClsid]
@="{00020424-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Interface\{DE257628-F3A4-4CF6-830C-24B828FBB6F3}\ProxyStubClsid32]
@="{00020424-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Interface\{DE257628-F3A4-4CF6-830C-24B828FBB6F3}\TypeLib]
@="{F36BBF26-FC1F-41EC-9779-36730FB206F0}"
"Version"="1.1"
[HKEY_CLASSES_ROOT\APPLICATION_EXE_FILE.admin]
@="APPLICATION_EXE_FILE.admin"
"BrowserFlags"=hex:00,10,00,00
"EditFlags"=hex:00,00,01,00
[HKEY_CLASSES_ROOT\APPLICATION_EXE_FILE.admin\Clsid]
@="{8455A57D-9C8E-461C-9204-556B4174409A}"
[HKEY_CLASSES_ROOT\APPLICATION_EXE_FILE.admin\DocObject]
@="8"
[HKEY_CLASSES_ROOT\APPLICATION_EXE_FILE.clsToolTip]
@="APPLICATION_EXE_FILE.clsToolTip"
[HKEY_CLASSES_ROOT\APPLICATION_EXE_FILE.clsToolTip\Clsid]
@="{1B9BACE5-533F-46CD-8ED1-A252081F880D}"
[HKEY_CLASSES_ROOT\TypeLib\{F36BBF26-FC1F-41EC-9779-36730FB206F0}\1.1]
@="Admin"
[HKEY_CLASSES_ROOT\TypeLib\{F36BBF26-FC1F-41EC-9779-36730FB206F0}\1.1\0\win32]
@="C:\\Program Files\\APPLICATION_NAME\\Shared\\APPLICATION_EXE_FILE.exe"
[HKEY_CLASSES_ROOT\TypeLib\{F36BBF26-FC1F-41EC-9779-36730FB206F0}\1.1\FLAGS]
@="0"
[HKEY_CLASSES_ROOT\TypeLib\{F36BBF26-FC1F-41EC-9779-36730FB206F0}\1.1\HELPDIR]
@="C:\\Program Files\\APPLICATION_NAME\\Shared"
About not advertising, will I do that by choosing YES in the "advertising" dialogbox I get when I import the registry keys? Would that be sufficient?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.