could use a custom action? i wrote a dll in vs2005 that took parm's from the 
installer and changed a file on the local machine.... you could pass the 
%systemroot% var and change the file....

i can send you my project if you want a starting point.... 
  ----- Original Message ----- 
  From: [EMAIL PROTECTED] 
  To: wix-users@lists.sourceforge.net 
  Sent: Friday, August 17, 2007 3:50 PM
  Subject: [WiX-users] modify hosts file


  Hi list,
   
  I need to append a line in hosts file (like 127.0.0.1        mydomain.com) 
through wxs file. Someone please suggest me ( or some useful links) how it can 
be done.
   
  Thanks.


------------------------------------------------------------------------------
  Make every IM count. Download Windows Live Messenger and join the i'm 
Initiative now. It's free.   Make it count! 


------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now >>  http://get.splunk.com/


------------------------------------------------------------------------------


  _______________________________________________
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to