You might want to check the Template wix extensions in 
http://msiext.codeplex.com. You can write something like [INSTALLLOCATION] in 
your file and it will get replaced on install. 

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-----Original Message-----
From: Gary Smith [mailto:gary.sm...@holdstead.com] 
Sent: Thursday, February 25, 2010 9:45 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Replace path text inside installed files.

Does anyone have a sample of how to replace text inside a file (or set of 
files) based upon install path?  Basically, I have a DLL that will be installed 
where the users want to install it BUT the samples that they can compile and 
test against point to never never land (i.e. some path in my development 
environment).  I would like to replace the path inside the project file with 
the appropriate installed path.

1) is this possible
2) is there a sample somewhere of doing this?

TIA

Gary-

------------------------------------------------------------------------------
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