Thanks Daryn, that completely fixed my problem, cheers for the clear explanation aswell! Im always stumbling around exactly when I want to execute my custom actions. Is there a diagram somewhere listing all the install sequence execute events (InstallInitialize, InstallFinalize, etc etc) - in their executed order, explaining what they're doing? Also, if my CA uses Properties, at what point are the properties evaluated and assigned? For example, if I have a deferred CA, which gets passed the installation folder, its possible the CA gets queued before the property has been assigned (I've seen this before trying to use the Quiet Execute Action)...
Thanks Regards, 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: Daryn Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 December 2007 11:29 a.m. To: 'Adam Langley'; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] show progress text for custom action 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