It needs to be schedule in the InstallExecute Sequence or nothing will happen.

This command line might work better for you to:

"[%ComSpec] /C start perl.exe script/checker.pl"

(although the start is probably optional, passing perl off to a command shell 
would be good unless you know that *.PL is registered with Windows Shell).

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.(r)
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 



-----Original Message-----
From: Dmuller720 [mailto:dmuller...@comcast.net] 
Sent: Tuesday, May 29, 2012 2:15 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Perl Script on initialization

Hello All,

I have been fumbling around with execommand custom actions and I just cannot 
seem to get this to work just right.

I have a perl script that I need to run right before the setup gets to the 
welcome screen. 

my best attempt is
<Property Id="Check" Value=""/>
<CustomAction Id="RunCheck" ExeCommand="perl script/checker.pl"
Execute="immediate" Property="Check"/>
but that does nothing. 

Does a CA like this need to be explicitly called, or does it just execute? 

Thanks for any help,
Dan

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Perl-Script-on-initialization-tp7578584.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to