Sadly, the API call to create a restore point is blocking and doesn't provide a 
callback for status updates.  If simply displaying a message on the UI that the 
installer is creating a restore point would provide value, a change to WixStdBA 
and the engine inside of OnApplyInitialize would have to happen. This is a bit 
tricky because the UX is run as the standard user and the code in question that 
is taking a long time is in the elevated process.  As such, the  elevated 
process would have to send a message to the UX via the existing IPC.  I haven't 
dug into the engine far enough to get a feel for the full impact of this change.

Could log this as a feature request so the idea doesn't get lost?

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu] 
Sent: Thursday, March 28, 2013 10:57 AM
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® 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® 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

Reply via email to