Hi, I modified the custom actions from the original MSI so that during patch
install, those CAs can correct something that I missed in the original MSI.

The conditions I modified (I added "AND NOT PATCH AND NOT MSIPATCHREMOVE ")
are something like:



BEFORE (i.e. in the original MSI):

      <Custom Action="MyWebCA" Before="InstallFiles" >IIS="IIS 6.0"</Custom>



AFTER (i.e. in the newer MSI):

      <Custom Action="MyWebCA" Before="InstallFiles" >IIS="IIS 6.0" AND NOT
PATCH AND NOT MSIPATCHREMOVE</Custom>





And in patch WXS, I referred it to:

    <Fragment>

        <PatchFamily Id='MyWebPatch1' Version='1.0.0.10' Supersede='yes'>

            <CustomActionRef Id="MyWebCA" />

……



I want the same result for both patch-install and patch-uninstall.

When I installed this patch and looked at the logfile, I saw the condition
of "MyWebCA" was evaluated as FALSE, which is correct.

However, when I uninstalled the patch, that condition was evaluated as TRUE.



It seems during patch-uninstall, the original CA conditions were performed
by REINSTALL mode. Am I right?

How can I force both (patch-install and patch-uninstall) to evaluate the
newer condition???



FYI, the version of MSI on the machine I am testing is v3.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to