Hello Everyone, I have a batch file that gets executed during installation process... Content of that batch file is something like this mage.exe -cc This command is supposed to execute mage.exe (that exe is also present in the same directory where that batch file is present). But, that command gives an error while running the batch file as part of installation. The current directory is supposed to be where that batch file and mage.exe is copied in the Installation Directory structure. Instead, the batch file shows that the current directory is C:\Windows\system32 and searches for mage.exe in the same folder as oppposed to the Installation Directory and as result generates an error. Without passing the path as an argument to that batch file explicilty, Is there a way to execute that batch file from where it has been actually installed (Installation Directory). Thanks and Regards, Surekha Vuchuru ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Execute a batch file that takes Installation Directory as current directory instead of C:\Windows\System32
Vuchuru, Surekha (SBT US EXT) Wed, 22 Apr 2009 13:09:18 -0700
- [WiX-users] Execute a batch file that take... Vuchuru, Surekha (SBT US EXT)
- Re: [WiX-users] Execute a batch file ... Reddy, Mallikarjun (GWMT-TASCS)
- Re: [WiX-users] Execute a batch f... Vuchuru, Surekha (SBT US EXT)