Is <File Id="filDADA6C31C211881DDF89BEAE6A9B7A1A"/> in the same Component as
the registry entries you provided below?

Blair

-----Original Message-----
From: Shashikant Saini [mailto:shashikant.sa...@imail.org] 
Sent: Monday, April 18, 2011 3:31 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CodeBase value coming empty on ActiveX MSI installation

Hi

I am using Wix 3.5 for my Active X set up project which creates an MSI. I am
injecting the ActiveX registry entries into the Product.wxs via heat.exe.

Here is  the example

<RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32\1.0.4125.15
963" Name="Class"
Value="Org.Intermountain.RxWriter.Client.ActiveX.RxFormsHost" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32\1.0.4125.15
963" Name="Assembly" Value="Org.Intermountain.RxWriter.Client.ActiveX,
Version=1.0.4125.15963, Culture=neutral, PublicKeyToken=null" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32\1.0.4125.15
963" Name="RuntimeVersion" Value="v2.0.50727" Type="string" Action="write"
/>
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32\1.0.4125.15
963" Name="CodeBase" Value="file:///[#filDADA6C31C211881DDF89BEAE6A9B7A1A]"
Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Value="mscoree.dll" Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Name="ThreadingModel" Value="Both" Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Name="Class" Value="Org.Intermountain.RxWriter.Client.ActiveX.RxFormsHost"
Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Name="Assembly" Value="Org.Intermountain.RxWriter.Client.ActiveX,
Version=1.0.4125.15963, Culture=neutral, PublicKeyToken=null" Type="string"
Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Name="RuntimeVersion" Value="v2.0.50727" Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\InprocServer32"
Name="CodeBase" Value="file:///[#filDADA6C31C211881DDF89BEAE6A9B7A1A]"
Type="string" Action="write" />
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}\ProgId"
Value="IntermountainHealthcare.RxWriterInterop" Type="string" Action="write"
/>
        <RegistryValue Root="HKCR"
Key="CLSID\{7721A389-B6D1-456B-83DD-8CC1411FF648}"
Value="Org.Intermountain.RxWriter.Client.ActiveX.RxFormsHost" Type="string"
Action="write" />

So Ideally when MSI is installed the codebase should have the value as
file:///C:\Program Files\Intermountain
Healthcare\ePrescribe\Org.Intermountain.RxWriter.Client.ActiveX.dll<file:///
C:\Program%20Files\Intermountain%20Healthcare\ePrescribe\Org.Intermountain.R
xWriter.Client.ActiveX.dll> but the value comes as file:///<file:///\\>,
everything works fine with my msi, except this CodeBase value. Please let me
know if you guys have any idea on this. You help will be greatly
appreciated.

Thanks
Shashi
----------------------------------------------------------------------------
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to