Thanks Stefan,

I tried using that, and the Progress Text in the dialog shows "Removing Backup 
Files" during the execution of my slow custom action, it never renders my 
text...
Heres what I have:

                <CustomAction Id='DEVENV_SETUP'
                                        Property='DEVENV8'
                                        ExeCommand='/setup'
                                        Return='check'
                                        Execute='commit'
                                        Impersonate='no'
                />

                <UI>
                        <ProgressText Action="DEVENV_SETUP">Configuring Visual 
Studio... (this may take a few minutes)</ProgressText>
                </UI>

                <InstallExecuteSequence>
                        <Custom Action="DEVENV_SETUP" After="InstallFiles" 
>1</Custom>
                </InstallExecuteSequence>

My CA is definitely executing, I can see its process start and chew away at 15% 
CPU for 3-4 minutes, but the progress text just stays on "Removing Backup 
Files"...

Thanks

 - Adam Langley

Secon NZ Ltd.
A1/400 Rosedale Road
Albany
North Shore 0632
New Zealand

Tel.  +64 (0)9 414 4071
Fax. +64 (0)9 414 4072

www.seconag.com

-----Original Message-----
From: Stefan Pavlik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 4 December 2007 8:26 p.m.
To: Adam Langley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] show progress text for custom action

Hi Adam...

You should use the ProgressText element

<ProgressText Action="YourCustomAction">Description of the custom
action</ProgressText>

Of course you can also use the $(loc.LocalizedDescription) notation
for the description (in conjunction with .wxl files)

Regards

Stefan

Adam Langley wrote:
> Hi guys,
> 
>  
> 
> I have a custom action which calls a batch file during installation, and
> it takes a couple of minutes to execute.
> 
> How can I have the progress-text display “Executing real slow batch file
> now...this may take a while.” (or something (c; )?
> 
> Is there a declarative way of describing this?
> 
>  
> 
> Thanks
> 
>  
> 
> -          Adam Langley
> 
>  
> 
> Secon NZ Ltd.*
> *A1/400 Rosedale Road
> Albany
> North Shore 0632
> New Zealand
> 
> Tel.  +64 (0)9 414 4071
> Fax. +64 (0)9 414 4072
> 
> www.seconag.com <http://www.seconag.com>
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735


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