Hukum, I would try immediate Execute="immediate" Also I would log the install to see if you can find the problem(see below) Other than that, I second what Brian said below as well as Rob has said many times, dont use batch files in your installer, you are asking for problems.
>From wix help: When authoring installers it is often necessary to get a log of the installation for debugging purposes. This is particularly helpful when trying to debug file searches and launch conditions. To obtain a log of an installation use the command line msiexec tool<http://support.microsoft.com/kb/227091> : msiexec /i MyApplication.msi /l*v MyLogFile.txt This will install your application and write a verbose log to MyLogFile.txt in the current directory. If you need to get a log of your installer when it is launched from the Add/Remove Programs dialog you can enable Windows Installer logging via the registry <http://support.microsoft.com/kb/223300>. Med vennlig hilsen /Regards Brian 2009/4/25 Hukumchand Shah <hukum.s...@gmail.com> > Thank you for the solution. > Now I am using the 'QtExec' but when i make the .msi and run it then it's > ending prematurely. > here is the code snippet i am using: > <Property Id="RUNBAT">C:\Program Files\APP\run.bat</Property> > <CustomAction Id="RUNBAT" BinaryKey="WixCA" DllEntry="CAQuietExec" > Return="check" Execute="deferred" Impersonate="yes" /> > > <InstallExecuteSequence> > <Custom Action="RUNBAT" Sequence="6524">1</Custom> > </InstallExecuteSequence> > > Am I doing anything wrong in above code? > Please help? > > Thanks & Regards, > Hukum > > > On Wed, Apr 22, 2009 at 9:47 PM, Brian Rogers <rogers.br...@gmail.com > >wrote: > > > Hey Hukum, > > > > > you can achieve this using "QtExec". > > > > That said, it is best that you not use Batch files when doing an > > installation. They are difficult to control and can lead to some large > > issues. You should look into custom actions which support > > Install/Rollback/Uninstall to make sure your product install and > uninstall > > are stable. > > > > Thanks, > > > > Brian Rogers > > "Intelligence removes complexity." - Me > > http://icumove.spaces.live.com > > > > > > On Wed, Apr 22, 2009 at 5:48 AM, lesterbangs <datapa...@gmail.com> > wrote: > > > > > > > > Hi Hukum, you can achieve this using "QtExec". Look in the WiX.chm > help > > > file under Advanced WiX Topics->Standard Custom Actions->Quiet > Execution > > > Custom Action for more info. > > > > > > > > > Hukumchand Shah wrote: > > > > > > > > Hi All, > > > > > > > > I am executing some batch files from wix custom actions. I want to > > > > suppress > > > > or hide or minimize the dos windows. > > > > Can anyone help me in this? > > > > How we can achive this in wix? > > > > > > > > Thanks & Regards, > > > > Hukum > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://n2.nabble.com/how-to-suppress-the-batch-file-dos-prompt-in-wix--tp2675840p2675878.html > > > Sent from the wix-users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > > > > ------------------------------------------------------------------------------ > > 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 > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users