If I had to guess, Rob's personal preference matches mine which is system 
restore is more of a pain and disk hog than it's worth so we disable it on our 
machines.

1) You don't need to integrate the controls, those are the ones that exist 
within the UI set you are using. 
2) That will only set the initial text of the progress dialog when the 
ExecuteAction action is invoked from the UI sequence.  That is the timing point 
where the MSI elevates and then creates the system restore point.  Once the 
system restore is done it begins executing the InstallExecute sequence, which 
should again update the ActionText based on the Action that is in the sequence.

Note, this isn't creating a new dialog, just updating the "blank label" on the 
progress dialog to have a value until it hits the first action in the 
InstallExecute sequence with ActionText associated with it.

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu] 
Sent: Thursday, March 28, 2013 2:23 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] No user feedback during 3+ minute restore point

Alright, good to know that if at some point we start using burn, we may need to 
change tactics. Interesting that Rob always turns of system restore...do you 
mean on your own machines, or in the installers you make?

As far as Jacob's advice, it seems currently beyond my understanding of 
WiX/MSIs. Most of the stuff you've mentioned is the first time I've heard of 
it. Specifically:
1) I'm not sure how to integrate the three Controls you suggested into the 
WiXUI_Minimal sequence (assuming that's even what you were suggesting, which I 
may have misunderstood).
2) I'm not sure how the <UI><ProgressText> etc. stuff is supposed to work (i.e. 
it looks like it will always post the innertext whenever ExecuteAction occurs, 
which I don't think is right, because there may be non-restore point actions 
that execute, for which I don't want a "Now creating a system restore point..." 
message to pop up). Does the "ExecuteAction" action somehow directly link to 
the system restore occurring? Or, as I suspect, is there more WiX glue I need 
to make it work (I'm presuming this is the CustomAction you were referring to?)?

I've tried looked up some of said terms/tags/concepts, but I haven't seen 
examples that seem similar/relevant to what you're describing, so some 
clarification or links to relevant resources would be very helpful.

Thanks!
Alain

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: March 28, 2013 14:50
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] No user feedback during 3+ minute restore point

*and* Burn will take one system restore up front before installing all the MSIs 
with system restore point creation disabled. Don't want people thinking system 
restore is completely ignored (although I always turn it off since I don't 
trust it to be able to actually succeed <smile/>).

PS: Set your initial text when using the wixstdba on the Progress page and 
you'll be able to get essentially what Jacob proposes in in MSI solution.
wixstdba will show the default message until UAC and system restore are all 
complete... then packages start.


On Thu, Mar 28, 2013 at 11:35 AM, Hoover, Jacob
<jacob.hoo...@greenheck.com>wrote:

> Oh snap, all my responses were under the impression that he was using 
> Burn.  I now re-read it and realized this was WixUI_Minimal...
> Different problem domain, different solutions.
>
> The controls in question are one of these
>
>                 <Control Id="ActionText" Type="Text" X="70" Y="100"
> Width="285" Height="10">
>                     <Subscribe Event="ActionText" Attribute="Text" />
>                 </Control>
>                 <Control Id="ProgressBar" Type="ProgressBar" X="20"
> Y="115" Width="330" Height="10" ProgressBlocks="yes"
> Text="!(loc.ProgressDlgProgressBar)">
>                     <Subscribe Event="SetProgress" Attribute="Progress" />
>                 </Control>
>                 <Control Id="StatusLabel" Type="Text" X="20" Y="100"
> Width="50" Height="10" Text="!(loc.ProgressDlgStatusLabel)" />
>
> There has to be a few ways of doing this.
>
> First try:
>    <UI>
>       <ProgressText Action="ExecuteAction">Creating system restore 
> point, you have time to go get a cup of coffee now...</ProgressText>
>     </UI>
>
> The big stick approach would be to write a CustomAction which simply 
> posts an ActionData message and schedule this before ExecuteAction in 
> the InstallUISequence.
>
> Note, burn turns off system restore for all the child MSI's as it's 
> creating a single restore point for the bundle, which if you are 
> installing multiple MSI's can be a huge time saver.
>
> -----Original Message-----
> From: Alain Forget [mailto:afor...@cmu.edu]
> Sent: Thursday, March 28, 2013 12:54 PM
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] No user feedback during 3+ minute restore 
> point
>
> Interesting; it seems your experience differs from ours.
>
> For us, this is happening on up-to-date Windows 7 Enterprise machines. 
> We currently don't use burn; just candle and light. Finally, I think 
> our MSI needs the minimal interface just so the user knows the 
> installation is working and is successful.
>
> It's interesting the problem happens under different circumstances, 
> which may suggest it's not just something with our installer (thankfully).
>
> Alain
>
> -----Original Message-----
> From: Wesley Manning [mailto:wmann...@dynagen.ca]
> Sent: March 28, 2013 12:05
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] No user feedback during 3+ minute restore 
> point
>
> I've only seen this on Windows XP where the computer wasn't up-to-date 
> with Windows updates and in that case it took so long because the 
> restore point failed.
>
> I use burn and have no GUI in my MSIs.
>
> -----Original Message-----
> From: Alain Forget [mailto:afor...@cmu.edu]
> Sent: March-28-13 12:57 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] No user feedback during 3+ minute restore 
> point
>
> I can't be the only one with this or a similar problem of the 
> installer hanging for a long period of time without any useful 
> information for the user.
>
> Surely someone has some idea for solving this? Or should this be filed 
> as some kind of WiX bug report?
>
> -----Original Message-----
> From: Alain Forget [mailto:afor...@cmu.edu]
> Sent: March 25, 2013 17:11
> To: wix-users@lists.sourceforge.net
> Subject: No user feedback during 3+ minute restore point
>
> Our installer's logs show that it takes 3 minutes to create a restore 
> point before our software is installed, between the user accepting the 
> EULA and the UAC prompting the user for admin rights. The computers 
> we've tested aren't very old or underpowered either.
>
> The problem is that, for those 3 minutes, the WixUI_Minimal interface 
> we're using only shows the user an uninformative "please wait while 
> the software is installed..." message with a progress bar that doesn't 
> move during the restore point creation. We're particularly concerned 
> that users might think the installer crashed and cancel the 
> installation (and of course contact us thinking there's a problem).
>
> Since restore points are useful/important, trying to skip it wouldn't 
> be great for users who have it enabled. Would there be some way to let 
> the user know that a restore point is being created, and it could take 
> several minutes, so they should be patient?
>
>
>
>
>
> I've had little luck inserting custom UIs panels in the WiXUI 
> extension, so I'm hoping there's something easy/simple we can do, 
> without having to roll our own UI altogether.
>
> Alain
>
> ***************************************
> Alain Forget, Ph.D.
> Postdoctoral Researcher
> CyLab, Carnegie Mellon University
> afor...@cmu.edu
> http://cups.cs.cmu.edu/~aforget/
> ***************************************
>
>
>
>
>
> ----------------------------------------------------------------------
> -------- Own the Future-Intel&reg; Level Up Game Demo Contest 2013 
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ----------------------------------------------------------------------
> -------- Own the Future-Intel&reg; Level Up Game Demo Contest 2013 
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- Own the Future-Intel&reg; Level Up Game Demo Contest 2013 
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- Own the Future-Intel&reg; Level Up Game Demo Contest 2013 
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game on 
> Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013 Rise to greatness in 
Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game on Steam. $5K 
grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013 Rise to greatness in 
Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game on Steam. $5K 
grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to