Quantcast
Viewing all articles
Browse latest Browse all 6689

add 64bit registry from 32bit installer

I need a solution

Hi all, 

I have a 32bit installer that needs to add some keys in the 64bit area of the registry.

These keys are registering the same dll as a 32bit and 64bit bho. 

The installer correctly adds the 32bit registry keys, but from what I see in the msi install log is that its writing the same keys twice in the same location (once for 32 and once for 64). 

Here's a sample from the log file:

WriteRegistryValues: Key: \Software\Classes\CLSID\xxx}\InprocServer32\6.7.10.0

Name: RuntimeVersion
Value: v2.0.50727
WriteRegistryValues: Key: \Software\Classes\CLSID\xxx}\InprocServer32\6.7.10.0
Name: CodeBase
Value: C:\Program Files (x86)\ResearchMonitor\SDClient.dll
WriteRegistryValues: Key: \Software\Classes\CLSID\xxx}\InprocServer32\6.7.10.0
Name: Assembly
Value: SDClient, Version=6.7.10.0, Culture=neutral, PublicKeyToken=e345484fc8760dca
WriteRegistryValues: Key: \Software\Classes\CLSID\xxx}\InprocServer32\6.7.10.0
Name: Class
Value: xxx.xx.xx
 
 
The installer has a component thats adds the dll and the 32bit keys.
In addition is has a second component that adds the 64bit keys. 
When I look at the tables I see the following: 
 
Component: registry186408
ComponentID: {guid} 
Directory: TARGETDIR
Attributes: 260  (4 [registry component] + 256 [64bit]) 
Condition:  (VersionNT64) 
KeyPath: registry186577
 
and in the resitry table all 64bit keys have registry186408 as a component 
 
 
Is there anything else that I can do to get this working? 
 
 
 
 
 
 

Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>