First of all, I'm trying to register and .OCX that is already in the computer, 
and not included on the package itself. 
Is that possible?

 

I see no reason why that wouldn't be possible, but you might want to use a 
FileSearch to get the path to the OCX

 

Second of all, I'm trying to register an .OCX, in the HKCR, but it keeps making 
it on the HKCU or the HKCM.  The account has administrator privileges by the 
way.



>From the top of my head: HKCR is only virtual. It really points to 
>HKCU\Software\Classes or HKLM\Software\Classes. I would expect a per user 
>install to write to HKCU and a per machine install to write to HKLM. 

HKCR is the merged representation of both registry trees

 

René

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Ferrer
Sent: Thursday, September 20, 2007 7:40 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Registry problems

 

I'm currently using WiX 3, and I'm trying to register an OCX, but I'm having 
problems with it.
First of all, I'm trying to register and .OCX that is already in the computer, 
and not included on the package itself. 
Is that possible?

 

 


Second of all, I'm trying to register an .OCX, in the HKCR, but it keeps making 
it on the HKCU or the HKCM.  The account has administrator privileges by the 
way.

This is what I'm using for the Register: 

<RegistryValue Id="registry0" Action='write' Root="HKCR" 
Key="CLSID\{11111123-E14C-319B-9A9C-1A58AE70D7A2}\InprocServer32" Type="string"
                 Value="C:\Documents and Settings\Chamakits\Desktop\myOcx.OCX" 
> 

 </RegistryValue>

Any help would be greatly appreciated.

Thanks in advance,
Omar Ferrer



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to