I am writing an installer for a plugin module to a larger application.
 To install correctly I need to read several registry values set by
the larger application.  Each registry path chains off of the prior
registry searches.  My first attempt:

    <Property Id="THEIRCURVER">
      <RegistrySearch Id="TheirCurVer" Root="HKCU"
Key="Software\TheirCompany\TheirProduct" Name="CurVer"
Type="raw"></RegistrySearch>
    </Property>
    <Property Id="THEIRCURLANG">
      <RegistrySearch Id="TheirCurLang" Root="HKCU"
Key="Software\TheirCompany\TheirProduct\[THEIRCURVER]" Name="CurLang"
Type="raw"></RegistrySearch>
    </Property>
    <Property Id="THEIRPRODUCTNAME">
      <RegistrySearch Id="TheirProductName" Root="HKLM"
Key="Software\TheirCompany\TheirProduct\[THEIRCURVER]\[THEIRCURLANG]"
Name="ProductName" Type="raw"></RegistrySearch>
    </Property>

According to the verbose installer log the .msi correctly changes the
properties THEIRCURVER & THEIRCURLANG.  The THEIRPRODUCTNAME property
is never changed.  Why is that?  Do I have to do something different
to expand two properties in a registry path?

(Yes, the registy root changes from HKCU to HKLM once I know a
specific version and language)

Thanks
-Rodney

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to