I've written an installer with WiX 3.5 which installs a Winsock
provider, netsh helper and a kernel driver.  After doing some
restructuring I started getting a warning about installing a
non-permanant component into system32, so I'm now trying to change the
installation location to be under %ProgramFiles%\Product .
However, I need to create a registry entry which points to the new
location so that netsh can find it, and it seems that netsh doesn't
understand REG_EXPAND_SZ types.  Is there a way to write a string to a
REG_SZ type during installation which already has the
environment variables expanded, or would I need to write a custom
action?

I've also been wondering what the best location for the winsock
provider and netsh helper is, since they extend system functionality -
and to install both 32-bit and 64-bit provider DLLs will require
creating both C:\Program Files\Product and C:\Program Files
(x86)\Product. 

Applications seem to differ between installing files under system32,
CommonProgramFiles and under ProgramFiles and the only advice I've read
is that files shouldn't be installed under system32 any more.

-- 
Bruce Cran

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to