[wix-users] SourceDir not available in Silent mode

Marc Beaudry mbeaudry at matrox.com
Wed Sep 13 11:05:18 PDT 2017


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/



More information about the wix-users mailing list