Also, from those filenames it seems that you may be installing another setup. If that is the case then: 1. If it's MSI-based there are restrictions when launching it from within your MSI install, and a custom action that may seem like an obvious solution won't always work. 2. Burn might be the right solution. 3. The notion of "Where the setup.msi is running from" may be somewhat clear at first install, but you probably need a plan (and a lot of care) to deal with later options such as repair, adding and removing features, patching, and uninstall.
This is one of those situations where it appears you have a solution that you believe is correct for a particular problem, and you are looking for implementation help. It's likely that a question such as "what's the best way to launch a dependent setup with my MSI install" might get you a better solution. Phil Wilson On Tue, Oct 8, 2013 at 9:25 AM, Nicolás Alvarez <nicolas.alva...@gmail.com>wrote: > 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 > ------------------------------------------------------------------------------ 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