Adam Langley wrote:
> ...
> the Progress Text in the dialog shows "Removing Backup Files" 
> during the execution of my slow custom action, it never 
> renders my text
> ...
>        <CustomAction ... Execute='commit' ... />


My guess: You should make your action be deferred instead of commit.

a) Wix ProgressText maps to Windows Installer ActionText table (Wix.chm)

b) "Action text is only displayed for actions that run within the
installation script. Therefore, action text is only displayed for actions
that are sequenced between the InstallInitialize and InstallFinalize
actions" (Windows Installer docs for ActionText Table)

c) Your action is a Commit CA. Commit custom actions run after
InstallFinalize is finished. (Windows Installer docs for Commit Custom
Actions).

Therefore I figure the progress is not showing because you've made it a
Commit action.

Your symptom may have been useful because it raises the question, why is
your CA a commit action, rather than deferred?
 - "The purpose of commit actions is to remove any backup information that
had been created by a custom action." (Installsite,
http://www.installsite.org/pages/en/isnews/200108/index.htm)
 - That's exactly what you saw the WiX UI choose for the progress text
during the commit phase, "Removing Backup Files".

So... would it be more appropriate for your CA to be a deferred action
instead? If so, then you'll have solved your progress text too.

Daryn.





-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to