Hi, I'm looking for a way to run an external exe only when the user presses
the repair button on the add/remove programs.
I actually need to run that exe with different command line parameters on
install/uninstall/repair, here is what i have so far:

    <CustomAction Id="RunConfigInstall" FileKey="RT.exe"
ExeCommand="Install" Execute="immediate" Return="ignore" />
    <CustomAction Id="RunConfigUninstall" FileKey="RT.exe"
ExeCommand="Uninstall" Execute="immediate" Return="ignore" />
    <InstallExecuteSequence>
      <Custom Action='RunConfigInstall' After='InstallFinalize'>
        NOT Installed
      </Custom>
      <Custom Action='RunConfigUninstall' Before='InstallFinalize'>
        (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
      </Custom>
    </InstallExecuteSequence>

This seems to work well for install and uninstall, any idea of how to run an
action if (and only if) the installation is being repaired?
If what i'm asking for isn't possible, please give the 'correct' way to
include repair in either the install or uninstall actions.
Thanks!
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to