Hi All, 

I have written the below custom action . 

<?xml version="1.0" encoding="UTF-8"?> 
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";> 
        <Product Id="bfb13c62-6766-47a5-b1b4-f0fc1694ba58"
Name="CustomActionsSetup" Language="1033" Version="1.0.0.0"
Manufacturer="CustomActionsSetup"
UpgradeCode="5a508d87-31ff-4b19-b64e-30014cd9fe70"> 
                <Package InstallerVersion="200" Compressed="yes" /> 

                <Media Id="1" Cabinet="CustomActionsSetup.cab"
EmbedCab="yes" /> 

    <Property Id="MYRPPBKPATH"><![CDATA[D:\]]></Property> 
    <Directory Id="TARGETDIR" Name="SourceDir"> 
      <Directory Id="ProgramFilesFolder"> 
        <Directory Id="MYPATH" Name="."> 
         <!-- <Component Id="Component1"
Guid="{bfb13c62-6766-47a5-b1b4-f0fc1694ba59}"> 
            <File Id="ReadMe" DiskId="1" Name="Readme.txt"
Source="Readme.txt" Vital="yes" KeyPath="yes" /> 
          </Component>--> 
        </Directory> 
      </Directory> 
    </Directory> 

    <Binary Id="MyCA"
SourceFile="D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe"/>
 

    <CustomAction Id="DoSomething" BinaryKey="MyCA"
ExeCommand='D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe
"D:\Samples\EnvironmentConfig.xml" "RPP" "BACKUP"' Execute="deferred"
Return="check" HideTarget="no" Impersonate="no" /> 



    <InstallExecuteSequence> 

      <Custom Action="DoSomething" Before="InstallFinalize" /> 

    </InstallExecuteSequence> 

  </Product> 
</Wix> 


My Exe is also returning the exit code. But the custom action is not
running. 

Please help. 

Thanks in advance 
Madhavi. 

-- 
View this message in context: 
http://n2.nabble.com/Custom-Action-is-not-running-tp1305603p1305603.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to