Thanks for the reply Kelly,

> 0x8007006E = -2147024786 = "The system cannot open the file or device
> specified." (from WinXP SP2)
>
> My guess is that it's a path issue.  Perhaps there's some way you can figure
> out what your working path is at that point?  I think it's probably the path
> to the MSI, but I'm not sure.

Further digging suggests that it could be the order of events causing
my problem,
here's some output from filemon, filtered to only include msiexec process:

4:29:32 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    PATH NOT FOUND  Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    NOT FOUND       Attributes: Error
4:29:36 PM      msiexec.exe:576 CREATE  C:\Program
Files\Just-A-Test\App.config    SUCCESS Options: OverwriteIf  Access:
00120196
4:29:36 PM      msiexec.exe:576 QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    SUCCESS FileNameInformation
4:29:36 PM      msiexec.exe:576 WRITE   C:\Program
Files\Just-A-Test\App.config    SUCCESS Offset: 0 Length: 62
4:29:36 PM      msiexec.exe:576 SET INFORMATION         C:\Program
Files\Just-A-Test\App.config    SUCCESS FileBasicInformation
4:29:36 PM      msiexec.exe:576 CLOSE   C:\Program
Files\Just-A-Test\App.config    SUCCESS
4:29:36 PM      msiexec.exe:576 OPEN    C:\Program
Files\Just-A-Test\App.config:KAVICHS    NOT FOUND       Options: Open  Access:
0012019F
4:29:36 PM      msiexec.exe:4092        OPEN    C:\Program
Files\Just-A-Test\App.config    SUCCESS Options: Open  Access: Read
4:29:36 PM      msiexec.exe:4092        QUERY INFORMATION       C:\Program
Files\Just-A-Test\App.config    SUCCESS FileNameInformation
4:29:36 PM      msiexec.exe:4092        READ    C:\Program
Files\Just-A-Test\App.config    SUCCESS Offset: 0 Length: 4095
4:29:36 PM      msiexec.exe:4092        READ    C:\Program
Files\Just-A-Test\App.config    END OF FILE     Offset: 62 Length: 8172
4:29:36 PM      msiexec.exe:4092        CLOSE   C:\Program
Files\Just-A-Test\App.config    SUCCESS

So I will see if I can work out how to change the event execution order,
i.e. put XmlConfig after File copy.

cheers
si

p.s. KAVICHS is apparently my Antivirus NTFS IStream,
disabling real-time protection didn't alter the outcome.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to