> I am using Wix 3.0 for an installation to a network drive. During the
> install an xml configuration file is put into the install directory,
> and then values are pushed in using XmlFile.
>
> This breaks during XmlFile when installing to a network drive, because
> of access issues.
>
> The file is placed on the shared drive without a problem, but XmlFile
> fails when opening or editing the file. The error seems to come from
> MSXML. Here's what the log looks like:
>
> Action start 10:25:25: InstallFinalize.
> MSI (s) (98:BC) [10:25:30:612]: Creating MSIHANDLE (60) of type 790536
> for thread 444
> MSI (s) (98!7C) [10:25:31:093]: Creating MSIHANDLE (61) of type 790531
> for thread 2684
> ExecXmlFile: Error 0x80070005: failed to load XML file:
> \\machine1\transfer\Install\SetupConfig.xml
> MSI (s) (98!7C) [10:25:31:103]: Closing MSIHANDLE (61) of type 790531
> for thread 2684
> MSI (s) (98!7C) [10:25:31:103]: Creating MSIHANDLE (62) of type 790531
> for thread 2684
> MSI (s) (98!7C) [10:25:33:076]: Product: My Product Network Install --
> Error 25531. Failed to open XML file
> \\machine1\transfer\Install\SetupConfig.xml, system error: -2147024891
> MSI (s) (98!7C) [10:25:33:086]: Closing MSIHANDLE (62) of type 790531
> for thread 2684
> MSI (s) (98:7C) [10:25:33:116]: Closing MSIHANDLE (60) of type 790536
> for thread 444
>
> Using the filemon.exe tool to dig into the problem, I found that the
> process is not run under the (administrative) user who started the
> process, but as the internal SYSTEM user. This is causing an ACCESS
> DENIED error.
>
> The question is how to get the configured file onto a network drive?
>
>
> My understanding is that XmlFile is a "stock" custom action. I could
> use XmlFile to edit the file locally and then push it out to the
> network drive using another custom action - but if all custom actions
> run under the SYSTEM user, this would not work either....
>
> Thanks, anyone!
>
> Michael
--------------------------------------------------------
The information contained in this message is intended only for the recipient,
and may be a confidential attorney-client communication or may otherwise be
privileged and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, please be aware that any
dissemination or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify us by
replying to the message and deleting it from your computer. The McGraw-Hill
Companies, Inc. reserves the right, subject to applicable local law, to monitor
and review the content of any electronic message or information sent to or from
McGraw-Hill employee e-mail addresses without informing the sender or recipient
of the message.
--------------------------------------------------------
-------------------------------------------------------------------------
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