Hi 

On an upgrade (after the user selected yes to upgrade on a messagebox) I
stop our Web App Pool, and our Web Site. However if the user Cancels the
install BEFORE choosing to install the upgrade (verify ready screen install
button) our application is in limbo because the web app pool and web site
are stopped...

I want to capture if the user hits Cancel so I can run a custom action to
start the web app pool first then the web site using appcmd.exe (not a
deferred custom action)

I tried using 
<Custom Action="CA_Upgrade_Start_Apppool.SetProperty"
After="CA_DISPLAY_UPGRADE_DETECTED">WIX_UPGRADE_DETECTED</Custom>
<Custom Action="CA_UPGRADE_START_APPPOOL" OnExit="cancel"
>WIX_UPGRADE_DETECTED</Custom> 

but when I try to compile I get a error that ExitUser is already using that
OnExit="cancel"

Error   14      ICE82: This action UserExit has duplicate sequence number -2 in 
the
table InstallUISequence
C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.8\src\ext\UIExtension\wixlib\UserExit.wxs
26      1       Admin_Console_Setup

InstallUISequence table:
Action                                               Condition                  
                
Sequence
CA_UPGRADE_START_APPPOOL        WIX_UPGRADE_DETECTED    -2

UserExit                                                                        
                
-2


not sure on how to handle this, any help would be appreciated!

thanks,

Steve






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/within-MSI-capture-user-cancelled-tp7594359.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to