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 &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;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

Reply via email to