2013/10/8 ak m <wixak...@gmail.com>: > 1. I have Setup.msi file > 2. In the same location(where my Setup.msi is), i have two more files > 'launch.exe', 'set.ini' files > > How to get the current directory of msi is running from? > and then > a) trigger 'launch.exe' file > b) use 'set.ini' file? > > Note: 'launch.exe', 'set.ini' files were not packaged in Setup.msi.
This was discussed in a previous thread called "FileSearch issues". I quote the conclusion: > It's not good design to rely on external files in the same location as the > MSI. There are too many failure points, as just mentioned. Also, Group > Policy and web installs don't work, and a simple mistake in staging the MSI > file and the external file to the install source changes the install logic, > and that probably can't be corrected later. If there is really a need for > an optional external file it would be better to have it in the binary table > or have the data as properties, and give customers a tool to add the file > (or the data) if necessary. Or change the design. -- Nicolás ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users