You should be using InstallExecuteSequence rather than InstallUISequence.
While InstallExecuteSequence is always consulted by the installer to
determine the actions, InstallUISequence is only considered when the
installer runs in full or reduced UI mode.

Then, on each Custom element, use the "After" attribute to specify when you
want your action to be executed, i.e.:

<InstallExecuteSequence>
   <Custom Action="WriteFile" 
           After="CreateFolders">NOT Installed</Custom>
</InstallExecuteSequence>

http://msdn2.microsoft.com/en-us/library/aa369500.aspx
http://msdn2.microsoft.com/en-us/library/aa372038.aspx

Julie Campbell
[EMAIL PROTECTED]

-----Original Message-----
------------------------------

Message: 3
Date: Thu, 19 Apr 2007 10:49:23 -0700 (PDT)
From: JCWrs <[EMAIL PROTECTED]>
Subject: [WiX-users] Sequence of Install?
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


Ok, I have an installer with 2 custom actions I want to run AFTER all the
files have been installed on the target computer.  I thought that by using
an InstallUISequence that had them run after ProgressDialog that would
occur, but no such luck.  Each time I run the installer my second CA fails
because the files are not there yet (I get the error message while the
ProgressDialog box is still up).  I cannot schedule the CA's before the
ExitDialog or I get an error and there are no other Dialogs between the 2. 
Is there another way to schedule these to get the result or do I need to add
a dialog between the 2?

As always, thanks for the help.



_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_____________________________________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to