There exists a key - HKEY_CLASSES_ROOT\CLSID\{22D6F312-B0F6-11D0-94AB-0080C74C7E95}\InprocServer32

The key has 2 strings:
(Default) -value for this key- is C:\WINDOWS\System32\msdxm.ocx
ThreadingModel -value for this key- is Apartment

In Wise, I have used the Get Registry Key Option -
Get Registry Key HKEY_CLASSES_ROOT\CLSID\{22D6F312-B0F6-11D0-94AB-0080C74C7E95}\InprocServer32 place in variable test1 (I entered 'Default' without the quotes in the box for value, so that it looks for the Value corresponding to the string - Default)

Now, My logic goes this way -
If test1(Equals) "C:\WINDOWS\System32\msdxm.ocx" then
<<I have the code to replace that value>>
<<<<I have the other code here >>

The problem is that even though the registry has C:\WINDOWS\System32\msdxm.ocx in registry, the program still skips my first section and goes into the else section.

When I look at the Reg key again - Double click on the (Default) Value on the right - it shows in the dialog box:
Value Name
<<Blank>> There is nothing in this box

Value Data:

So, how do I check for that (Default) string?? Somehow it is not been able to connect to the (Default) value of the InprocServer32 key.

Any ideas to get value from that string??
0 Comments   [ + ] Show comments


There are no answers at this time

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.