Hi Oli

Many thanks for all your help, I really appreciate it, was really stuck!

My final code was this if anyone wondered

<CustomAction Id="installMTMAgentService" Directory="pythonD0" 
ExeCommand='"[#pythonF3]" "[#mCoreF188]" install' />



PythonF3 and mCoreF188 are the correct files for python.exe and service.pyo, 
i just had to add quotes round it, took a while because the python code 
needed an environment var, but i created a work around!



Thansk again

Mark




----- Original Message ----- 
From: "Mailinglist" <[EMAIL PROTECTED]>
To: "Mark Line" <[EMAIL PROTECTED]>; "Mailinglist" <[EMAIL PROTECTED]>; 
<wix-users@lists.sourceforge.net>
Sent: Tuesday, August 07, 2007 3:00 PM
Subject: RE: [WiX-users] custom action python


Hi,

please make sure, that "python.exe" equals the id-tag of that file in your 
setup.

If your file-tag looks like this:
<File Id='python' Name='python.exe' Source='[INSTALLDIR]bin\' Checksum='yes' 
/>

Then the custom action should look like this:
<CustomAction Id="installMTMAgentService" Directory="pythonD0" 
ExeCommand="[#python] install" />

Oli 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to