Is the payload file extracted in the same folder as the stub.exe from the ExePackage ?
2013/5/31 Hoover, Jacob <jacob.hoo...@greenheck.com> > Sounds like you need to talk to the person who thought of this "great" way > of passing a parameter to their installer.... > > That being said, you could create a stub exe, which takes the params and > does this dance for you. I'd suggest making a copy in the temp folder for > the install, and leaving what burn caches alone. You'd change your > ExePackage to reference your stub, and have the real installer exe as a > Payload element. > > You'd have to handle all of the commands for install, uninstall, repair, > etc as params to your stub exe. > > A lot of work, just because a 3rd party installer had a non-standard idea. > > -----Original Message----- > From: Benjamin Mayrargue [mailto:benja...@vapolia.fr] > Sent: Friday, May 31, 2013 9:59 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] ExePackage: rename exe before runnning it > > I need this feature because i'm launching an external installer (.exe) and > i need to give it a serial number (user dependent, asked in the > bootstrapper UI) as parameter, and the only way to give it this parameter > is by renaming this exe file from INSTALLER.EXE to INSTALLER_SERIAL.exe Yes > i know this is completely silly, but i don't have the hand on it. > > If i include it as a bootstrapper payload, is there a way to get it's > pathname ? If yes, i'll run it manually (i don't need to track it). > Or maybe by creating a msiPackage, or a custom action i can do it. I don't > know the easiest way. > Or last way, i create a windows exe which takes the correct parameters (as > real parameters) and does the renaming / execution / and renaming back for > wix. > > B. > > > > 2013/5/31 Rob Mensching <r...@robmensching.com> > > > No, and that won't work will with the way that Burn caches packages > > and such. This scenario isn't supported today. Why do you need to do > > such a thing? > > > > > > On Fri, May 31, 2013 at 5:08 AM, Benjamin Mayrargue > > <benja...@vapolia.fr > > >wrote: > > > > > Hi all again, > > > i have a strange requirement. > > > > > > I need to rename the EXE file (set in ExePackage) before running it. > > > The renaming involves a variable set and known only at runtime. > > > Is this possible out of the box ? > > > > > > thks, > > > B. > > > > > > > > ---------------------------------------------------------------------- > > -------- > > > Get 100% visibility into Java/.NET code with AppDynamics Lite It's a > > > free troubleshooting tool designed for production Get down to > > > code-level detail for bottlenecks, with <2% overhead. > > > Download for free and get started troubleshooting in minutes. > > > http://p.sf.net/sfu/appdyn_d2d_ap2 > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > ---------------------------------------------------------------------- > > -------- Get 100% visibility into Java/.NET code with AppDynamics Lite > > It's a free troubleshooting tool designed for production Get down to > > code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > http://p.sf.net/sfu/appdyn_d2d_ap2 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free > troubleshooting tool designed for production Get down to code-level detail > for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users