Julie,
thank's for the answer!
Maybe I misunderstand something but I don't think that 3073 is the
sequence number. I guess it's the Type-Number of the CustomAction and
describes the Custom Action In-Script Option as shown here:
http://msdn2.microsoft.com/en-us/library/aa368069.aspx
My log (msiexec) shows clearly that the ExecXmlConfig is executed at the
very end of the installation - I dont know the sequencenumber but I
think it's higher than 4002.
The thing is that I would like to execute my FileReplacer-dll right
after the execution of XmlConfig, where my tags will be written into the
xml-file. And I guess XmlConfig will be executed with the call of the
ExecXmlConfig-target but I have no clue what the sequencenumber is since
I cant find it anywhere.

So I'm wondering what the sequence-number of the XmlConfig-Execution is?
Any ideas?

Thank's Chris
// 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julie Campbell
Sent: Dienstag, 11. Dezember 2007 15:58
To: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [WiX-users] WiX-users Digest, Vol 19, Issue 33
 
Chris,
 
Your .msi failed before it ever got to your custom action.  There is an
XMLConfig example on my wix wiki,
http://wix.mindcapers.com/wiki/XmlConfig_Example
 
I rebuilt it and opened the .msi in Orca.  XmlConfig is sequenced at 3073,
just as it was for you.  Your FileReplacer is after that, at 4002.  Try
searching for "return value 3" in your log file and backtrack from there.
 
Julie Campbell
[EMAIL PROTECTED]
 
-----Original Message-----
------------------------------
 
Message: 8
Date: Tue, 11 Dec 2007 15:08:11 +0100
From: Chris <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Custom Action after XmlConfig
To: wix-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
 
> 
> Can you give an exsample how to call a custom action deferred? I try to
set the Execute property to deferred but the custom action is
> never called.
>  
> <Component Id="C_XYZ" Guid="{SomeGUID}">
>    <File Id="SOME_EXE" Name="some.exe" KeyPath="yes" DiskId="1"
> Source="SourceDir\File\Some.exe" />
> </Component>
> <CustomAction Id="CA_ID" FileKey="SOME_EXE" ExeCommand="-a -b -c"
> Execute="deferred" Impersonate="no" />
> 
> ...
> 
> <InstallExecuteSequence>
>    <Custom Action="CA_ID" Sequence="1751">1</Custom>
> </InstallExecuteSequence>
I tried the same thing as Robert did and my CustomAction didnt execute
as well - actually the installation ended with an error:
 
/<Binary Id="MsiTools" SourceFile="MsiTools.dll"/>
<CustomAction Id="FileReplacer" BinaryKey="MsiTools"
DllEntry="FileReplace" Execute="deferred" Impersonate="no"/>
. . .
<util:XmlConfig Id="AddSomethingToXML" Action="create" ... />
. . .
<InstallExecuteSequence>
    <Custom Action="FileReplacer" Sequence="4002">1</Custom>
</InstallExecuteSequence>
 
/When I log the installation I noticed that there is a trace of a
CustomAction "ExecXmlConfig" which is executed at the very end of the
installation. It can be found in the CustomAction table with the type
number 3073. I guess it has something to do with it!?
Any ideas?
 
Thank's Chris
 
 
 
_____________________________________________________________________________

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

 
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
 

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to