Hi Gurus,

 

I am encountering a weird problem. 

 

I used to use create a  msi. which  contains an exe file, which is handling
Custom Action.

 

By passing different argument, it could do install, rollback-install,
uninstall, rollback-uninstall, remove , rollback-remove. It worked perfectly
before.

 

 

Recently, I suddenly found the rollback action stops working. ( I changed my
machine in between).

 

<CustomAction Id="Install" FileKey=" MyCustomAction "
ExeCommand="/Action=install" Execute="deferred" Return="check" />

<CustomAction Id="RollbackInstall" FileKey="MyCustomAction"
ExeCommand="/Action=rollbackinstall  Execute="rollback" />

<CustomAction Id="Uninstall" FileKey="MyCustomAction"
ExeCommand="/Action=uninstall  Execute="deferred" Return="check" />

<CustomAction Id="RollbackUninstall" FileKey="MyCustomAction"
ExeCommand="/Action=rollbackuninstall Execute="rollback" />

<CustomAction Id="Remove" FileKey="MyCustomAction"
ExeCommand="/Action=uninstall  Execute="deferred" Return="check" />

<CustomAction Id="RollbackRemove" FileKey="MyCustomAction"
ExeCommand="/Action=rollbackRemove Execute="rollback" />

 

<InstallExecuteSequence>

      <RemoveExistingProducts After="InstallValidate" />

      <Custom Action="RollbackInstall" After="InstallInitialize">(NOT
Installed) And (NOT UPGRADINGPRODUCTCODE)</Custom>

      <Custom Action="RollbackUninstall" After="RollbackInstall">Installed
And (REMOVE ="ALL") And NOT UPGRADINGPRODUCTCODE</Custom>

      <Custom Action="RollbackRemove" After=" RollbackUninstall ">Installed
And (REMOVE ="ALL") And  UPGRADINGPRODUCTCODE</Custom>

      <Custom Action="Install" After="InstallFiles">(NOT Installed) And (NOT
UPGRADINGPRODUCTCODE)</Custom>

      <Custom Action="Uninstall" After="MsiUnpublishAssemblies">Installed
And (REMOVE ="ALL") And NOT UPGRADINGPRODUCTCODE</Custom>

      <Custom Action="Remove" After="Uninstall">Installed And (REMOVE
="ALL") And  UPGRADINGPRODUCTCODE</Custom>

</InstallExecuteSequence>

 

 

Do appreciate any help!

 

 

Thanks in advance

 

 

Jennifer Zhao

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to