My MSI is writing the reg key initially as #[Property]
Hence the problem.
Because after appsearch it is ##

Thanks a LOT.
Uma-

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, February 22, 2010 1:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Appsearch for dword

How are you writing this registry entry? There's nothing explicit in the MSI 
file's registry table that says something is a dword or a string - it's in the 
value. If you write #2 to the registry Windows Installer will create it as a 
dword. If you prefix it with #x it will create it as binary. So that's why I'm 
wondering how you are writing this item to the registry.  It looks to me that 
somebody has code somewhere that is parsing #2 and deciding it's a string, but 
that isn't what Windows Installer would do. 

Phil Wilson 


-----Original Message-----
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, February 22, 2010 12:58 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Appsearch for dword

Hi,
I am performing an AppSearch for a dword reg key. I want to set another dword 
reg key to the dword value returned from the AppSearch.

But unfortunately, when the AppSearch finds the dword key, it returns it as #2 
(for instance if the dword were 2).
So the new reg key gets written as  REG_SZ, not a dword.

Is there any way I could fix this? (Without writing a custom action that parses 
off the #, etc)

Thanks!
Uma-
------------------------------------------------------------------------------
Download Intel® 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


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail!
  and any attachments thereto may be subject to the terms of any agreements 
between Invensys (and/or its subsidiaries and affiliates) and the recipient 
(and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Download Intel® 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


------------------------------------------------------------------------------
Download Intel® 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