I got it working...  (my bad should have googled more) but in case anyone
else is having issues here is what i did:

<CustomAction Id="CA_Upgrade_Apppool.SetProperty"
Property="$(var.PlatformQtExecCmdLine)"
Value="&quot;[SystemFolder]inetsrv\appcmd.exe&quot; stop apppool
/apppool.name:&quot;[WEB_SITE_NAME]&quot;"/>
<CustomAction Id="CA_UPGRADE_APPPOOL" BinaryKey="WixCA" 
DllEntry="$(var.PlatformCAQuietExecDLLEntry)" Execute="immediate"
Return="ignore"/>

<CustomAction Id="CA_Upgrade_WebSite.SetProperty"
Property="$(var.PlatformQtExecCmdLine)"
Value="&quot;[SystemFolder]inetsrv\appcmd.exe&quot; stop site
&quot;[WEB_SITE_NAME]&quot;"/>
<CustomAction Id="CA_UPGRADE_WEBSITE" BinaryKey="WixCA" 
DllEntry="$(var.PlatformCAQuietExecDLLEntry)" Execute="immediate"
Return="ignore"/>


<Custom Action="CA_Upgrade_Apppool.SetProperty"
After="MigrateFeatureStates">WIX_UPGRADE_DETECTED</Custom>
<Custom Action="CA_UPGRADE_APPPOOL"
After="CA_Upgrade_Apppool.SetProperty">WIX_UPGRADE_DETECTED</Custom>
<Custom Action="CA_Upgrade_WebSite.SetProperty"
After="CA_UPGRADE_APPPOOL">WIX_UPGRADE_DETECTED</Custom>
<Custom Action="CA_UPGRADE_WEBSITE"
After="CA_Upgrade_WebSite.SetProperty">WIX_UPGRADE_DETECTED</Custom>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Help-Custom-Action-not-working-in-InstallUISequence-tp7591331p7591333.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to