You can try create a registry entry for the Installation directory and then make your code read the reg entry for the installation path, or save the path to the file as you said. You can get the installation path using [INSTALLDIR] or [INSTALLLOCATION]. This will give you the installation path.
On Fri, Feb 26, 2010 at 8:15 AM, Gary Smith <gary.sm...@holdstead.com>wrote: > 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 > -- Best Regards. Ricky ------------------------------------------------------------------------------ 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