I'm trying to execute a batch file (.bat) that is copied into a predefined
location during install. I have the FileKey for the batch file generated by
heat.exe. I do not need to pass any parameters to this bat file which
contains VBScript code. The important point is that if I just manually
execute the bat file (double click) after completing the installation, it
works fine. But when I use WIX CustomAction to execute it, it fails. I do
not mean the VBScript within fails but the installer itself fails. I'm
certain this is not because of the CustomAction Sceduling because the bat
file is present in the predefined location by the time the customaction is
invoked by the installer. I have tried various methods like FileKey, WIX
QuietCustomAction, ExeCommand, VBScriptCall and so on.. Nothing have worked
so far. Was wondering if anyone here could help me.

Note: The .bat file is copied to the Install Directory and NOT the System32
folder

-----
Thanks,
VN
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Executing-a-Batch-File-during-Install-tp6579146p6579146.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to