1 - don't use batch files. There are plenty of standard WiX Custom
Actions like QtExec (http://wix.sourceforge.net/manual-wix3/qtexec.htm)
or WiXShellExec (http://wix.sourceforge.net/manual-wix3/shellexec.htm)
to run external or installed applications & these should return
appropriate error codes. If they're not suitable create your own type 18
or type 50 custom actions to run the application.

2 - don't do concurrent/nested installations. Use a bootstrapper to
sequence the pre-requisites of your application appropriately. I
recommend dotnetinstaller (http://dotnetinstaller.codeplex.com/) but
there are plenty of other bootstrappers available. 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Dinesh_U [mailto:dinece2...@gmail.com] 
Sent: 26 May 2010 07:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] how to get return codes from batch file to wix


Hi, I am new to WIX
I am executing a batch from wix and that batch file which actually
installs some other application so if that installation is failed the
batch file will be sending appropriate error code why it got failed. How
to get those appropriate error codes from that batch file to wix and do
some thing in wix based on the error code

Is this possible? If anyone has ever done this or does have some idea in
this, please help me

Thanks
Dinesh

Don't be serious, be sincere
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-get
-return-codes-from-batch-file-to-wix-tp5101996p5101996.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to