Kusuma Sudheer Kumar (Tata Consultancy Services) wrote:
> 1.       What is the property I can use in my C# Code to find out Mode of 
> install [ whether I am performing Install/Uninstall/Repair or Rollback]
>   

You're combining two concepts: Rollback is a mode of execution but 
install/uninstall/repair aren't things MSI directly exposes because you 
can combine all of those actions in a single transaction. Custom actions 
should use the action state of the component they're tied to to 
determine what they do.


> 2.       During My install, If I encounter any error,  I want to Rollback the 
> installation.
>   

That's not possible after InstallFinalize.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to