Re: [WiX-users] within MSI capture user cancelled... [P]

2014-04-29 Thread Phil Wilson
I'm still not clear which of those actions are in the UI sequence and
which in the execute sequence but

You can't detect when the user arbritrarily Cancels the install during
the execute sequence, but by definition a rollback CA will be called
after a cancel so you can put the code there.

It seems to me that some things are being done in the UI sequence,
which 1) should not be done because the system isn't supposed to be
changed yet and 2) appears to be the source of the problem. The UI
sequence is where the data is collected, and in the execute sequence
all the required changes are done, together with rollback CAs to
restore the system in the event of a cancel or fault.
InstallInitialize to InstallFinalize is the transaction where
everything should be done and restored on rollback.
---
Phil Wilson


On Mon, Apr 28, 2014 at 6:48 AM, Steven Ogilvie
steven.ogil...@titus.com wrote:
 Classification: Public
 I tried rollback but it isn't between installinitialize and installfinalize 
 so it errors when you start the MSI :(

 -Original Message-
 From: Phil Wilson [mailto:phildgwil...@gmail.com]
 Sent: April-27-14 1:13 PM
 To: General discussion about the WiX toolset.
 Subject: Re: [WiX-users] within MSI capture user cancelled...

 I am probably misunderstanding the UI flow here, but why is anything 
 happening before the user has made an upgrade choices? Typically this would 
 all be in the UI sequence where the system isn't supposed to be affected.

 In the actual execute sequence this type of recovery is handled with rollback 
 CAs.
 ---
 Phil Wilson


 On Sat, Apr 26, 2014 at 11:19 AM, Steve-Ogilvie steven.ogil...@titus.com 
 wrote:
 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_DETECTEDWIX_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_APPPOOLWIX_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-M
 SI-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

 --
 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


 This message has been marked as Public by Steven Ogilvie on April-28-14 
 9:48:38 AM.

 The above classification labels were added to the message by TITUS Message 
 Classification.
 For more information visit www.titus.com.

 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 

Re: [WiX-users] within MSI capture user cancelled... [P]

2014-04-28 Thread Steven Ogilvie
Classification: Public
I tried rollback but it isn't between installinitialize and installfinalize so 
it errors when you start the MSI :(

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: April-27-14 1:13 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] within MSI capture user cancelled...

I am probably misunderstanding the UI flow here, but why is anything happening 
before the user has made an upgrade choices? Typically this would all be in the 
UI sequence where the system isn't supposed to be affected.

In the actual execute sequence this type of recovery is handled with rollback 
CAs.
---
Phil Wilson


On Sat, Apr 26, 2014 at 11:19 AM, Steve-Ogilvie steven.ogil...@titus.com 
wrote:
 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_DETECTEDWIX_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_APPPOOLWIX_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-M
 SI-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

--
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

 
This message has been marked as Public by Steven Ogilvie on April-28-14 9:48:38 
AM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.com.

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] within MSI capture user cancelled... [P]

2014-04-27 Thread Steven Ogilvie
Classification: Public
On the welcome screen I produce a messagebox an upgrade has been detected do 
you want to continue, if yes I stop the web app pool and website since the 3rd 
screen in I have the Web port number and it would be in use if the web app pool 
and web site are running

If the user hits cancel BEFORE the install starts doing anything the web app 
pool and web site are not running.

I want to capture if a Cancel was done and start the web app pool and web site, 
there isn't a rollback since nothing happened (the install button wasn't 
selected yet)

Steve

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: April-27-14 1:13 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] within MSI capture user cancelled...

I am probably misunderstanding the UI flow here, but why is anything happening 
before the user has made an upgrade choices? Typically this would all be in the 
UI sequence where the system isn't supposed to be affected.

In the actual execute sequence this type of recovery is handled with rollback 
CAs.
---
Phil Wilson


On Sat, Apr 26, 2014 at 11:19 AM, Steve-Ogilvie steven.ogil...@titus.com 
wrote:
 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_DETECTEDWIX_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_APPPOOLWIX_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-M
 SI-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

--
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

 
This message has been marked as Public by Steven Ogilvie on April-27-14 7:32:02 
PM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.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


Re: [WiX-users] within MSI capture user cancelled... [P]

2014-04-27 Thread b . rasing
Dit mailadres is niet meer in gebruik. Mail kan je voortaan sturen naar 
basti...@careercontrol.nl.



--
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