I have a .NET assembly I need to register at install time. I'm noticing that the registry has subtle differences when regasm
is used directly versus being installed via regasm
's registry script.
Here's my test:
I export the original HKCR hive, then run: regasm my.dll
From there, I export the subsequent HKCR hive and performance a diff.
I then compare that diff with the output of regasm my.dll /regfile
There are a couple very important entries that get added via regasm my.dll
that will never get added with the registry file output from the regasm
command. Why?
From an install point-of-view, I'd very much hate to call regasm
during the install process. I'd rather just run this .reg script. I'm using InstallShield now, which under the hood is also missing the extra registry entries (it seems like it embeds the registry changes outputted with the /regfile
flag).
[HKEY_CLASSES_ROOT\CLSID\{xxxx}\Implemented Categories\{B56A7C42-83D4-11D2-A2E9-080009B6F22B}]
– Crossquestionregasm /regfile
's output generate this entry? This registry entry is only present on the system after doingregasm
directly. – Crossquestion