[wix-users] SourceDir not available in Silent mode
Joel Budreau
joel.budreau at gmail.com
Fri Oct 6 14:05:55 PDT 2017
What does your Directory table look like? In your log file, do you see SourceDir (or its parent directory) getting populated during the InstallUISequence, but not during the InstallExecuteSequence?
- Joel
> On Sep 13, 2017, at 11:05 AM, Marc Beaudry via wix-users <wix-users at lists.wixtoolset.org> wrote:
>
> Hello Wix Experts,
>
> I have an MSI that executes correctly when running in "Normal" mode, meaning
> with UI.
>
> When I run the same MSI in silent mode I get a SourceDir error
> Error code 2706: Source paths not created. No path exists for entry [2] in
> Directory table.
>
> I know where my error comes from:
> <CopyFile Id="CopyVersionFileId" SourceProperty="SourceDir"
> SourceName="Versions.txt" DestinationProperty="MYDESTPATH"
> DestinationName="Versions.txt"/>
>
> My Question:
> - Can this be done using my approach, or do I need to write a CA for this?
> - Can I delay the check of SourceDir in Silent mode so it behaves like
> published mode.
>
> The Problem:
> I need to copy a simple text file that gets generated once all the various
> MSIs and other installers get created to a folder on the destination system.
> I chose one of the MSIs to do this, copy from source folder to destination
> folder.
>
> Let me know
> Thanks for the help,
> Marc
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list