In article <1233847715184-2275419.p...@n2.nabble.com>,
    Gremlin <postingpl...@gmail.com>  writes:

> how do I know if an application, a hotfix or a ServicePack is uninstalled
> when the uninstallation is executed from the "Add/Remove Programs" - list.
> Is there any useful property for this? 
> It's necessary for my Custom Action handling.

If I interpret your question correctly, you want to know the way to
write a condition that evaluates to true when the MSI or patch is
being uninstalled?

To detect when the entire product is being uninstalled, I've used
REMOVE = "ALL".

Patches are applied as a repair operation.  I haven't tested it
myself, but I believe that removing a patch would also be performed as
a repair.  The way this works is that to apply a patch, the MSI is
modified according to the transforms in the patch and then a repair is
initiated.  This will cause the changes to be applied.  I expect that
removing a patch is done by reversing the transforms in the patch and
then doing a repair on the MSI causing the changes to be reversed.
There are additional properties that are set when a patch is applied
that let you distinguish between doing a normal repair and applying a
patch.  Consult the Windows Installer documentation for more
information on these properties.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to