that still doesn't appear to work, this is what i use

<CustomAction Id="installMTMAgentService" Directory="pythonD0" 
ExeCommand="python.exe ..\..\mtmCore\python\service.pyc install" /> 

i get the following in my log



Action start 13:42:34: installMTMAgentService.
Error 1721. There is a problem with this Windows Installer package. A program 
required for this install to complete could not be run. Contact your support 
personnel or package vendor. Action: installMTMAgentService, location: 
C:\Program Files\Abilisoft\mtm\thirdParty\python2.4\, command: python.exe 
..\..\mtmCore\service.pyc install 
MSI (s) (E0:44) [13:42:56:437]: Product: mtm Agent -- Error 1721. There is a 
problem with this Windows Installer package. A program required for this 
install to complete could not be run. Contact your support personnel or package 
vendor. Action: installMTMAgentService, location: C:\Program 
Files\Abilisoft\mtm\thirdParty\python2.4\, command: python.exe 
..\..\mtmCore\service.pyc install 

Action ended 13:42:56: installMTMAgentService. Return value 3

  ----- Original Message ----- 
  From: Matthieu RUNTZ 
  To: Mark Line 
  Cc: wix-users@lists.sourceforge.net 
  Sent: Tuesday, August 07, 2007 1:01 PM
  Subject: Re: [WiX-users] custom action python


  Hello,

  If the python.exe file and the service.pyc file are integrated in the Wix 
file, you can use the following code :

  <CustomAction Id="LaunchPythonExe" 
Directory='IdOfTheDirectoryContaintThePythonExe' ExeCommand=' python.exe 
service.pyc intsall' />

  Regards,
  Matthieu



  2007/8/7, Mark Line <[EMAIL PROTECTED]>:
    Hi,

    i'm trying to call a python script after the install via a custom action

    this is the code which i have

    <CustomAction Id="setPropertyPythonEXE" Property ="pythonExe" 
Value="[INSTALLDIR]mtm\thirdParty\python2.4\python.exe" />

    <CustomAction 

    Id="invokeInstallService" Property ="pythonExe" 
ExeCommand="[INSTALLDIR]mtm\mtmCore\python\agent\service.pyc install" /> 

    however the problem is that the exeCommand is read by python as one long 
file name, so i believe this is being passed to the command line  
    >"c:\Program Files\Abilisoft\mtm\thirdParty\python2.4\python.exe" 
"c:\Program Files\Abilisoft\mtm\mtmCore\python\agent\service.pyc install"

    i need the install to be passed after the file name? is there anyway to do 
this?

    -------------------------------------------------------------------------
    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



-------------------------------------------------------------------------
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