Assuming you mean uninstall still, a custom action that calls MsiProcessMessage 
with INSTALLMESSAGE_COMMONDATA as documented here will do that:
http://msdn.microsoft.com/en-us/library/aa370354(VS.85).aspx 

Do it as early as you can in the InstallExecute sequence. When I've done this 
it's not a good UI experience because the Cancel button is initially briefly 
shown, then disappears when the CA runs, then appears again at the end. I 
didn't investigate whether this could be improved. 

Phil Wilson 

-----Original Message-----
From: zhihai guo [mailto:zhh...@gmail.com] 
Sent: Tuesday, July 14, 2009 6:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Can I control the UI when uninstall

Can I make my installation without cancel button?

2009/7/14 Bob Arnson <b...@joyofsetup.com>

> zhihai guo wrote:
> > In reality  I just don't want the uninstall can be interrupted.
> >
>
> Installation can always be interrupted, even without a cancel button.
> Your setup should tolerate that with proper rollback.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
>  _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to