Hi Chunyan,

I do not know that you can add any progress bars during the time that
the custom action is being executed, but at least you can add some text
to let the user that something is happening. Look at the ProgressText
element. The documentation on this one is minimal,
http://wix.sourceforge.net/manual-wix3/wix_xsd_progresstext.htm. You can
use it something like this:

<ProgressText Action="Custom Action Name">
  Custom action description for user to see (e.g., Restarting necessary
services)
</ProgressText>

-Zach


Zachary Young, Configuration Engineer
Entriq, Inc.
Phone: +1 760 795 2721
entriq.com 
-----Original Message-----
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] 
Sent: Monday, July 27, 2009 7:17 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to connect Custom Action and Progress dialog

Hi Wix-users,
 
In my install package progress dialog works fine for installation, like
copying new files. The progress bar is growing during the installation.
However, when I call the Custom Action, which takes pretty long time,
the progress bar is always empty, untill the Custom Action is over, the
progress dialog dispears, and the next dialog shows up.
 
How can I connect my Custom Action with Progress bar, instead of only
showing the empty progress bar?
 
The Custom Action is called as:
 
<InstallExecuteSequence>

<RemoveExistingProducts After="InstallFinalize" />

<Custom Action='VPAdminInstall' After='InstallFinalize'>NOT
Installed</Custom>

</InstallExecuteSequence>

 
 
Regards,
 
Chunyan
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to