windows installer - WiX CopyFile with unknown path on DiskCost -
i need copy external file, location acquire dialog. file should copied on installation, i'm trying use copyfile
element. problem is, sourceproperty
copyfile
not set when installer starts, throws error 1606. not access network location .
after costfinalize
. assume, installer trying acquire size of external file. there way force installer not compute size of copyfile
element, or must implement custom action copying of file, installer not know it?
my file component:
<component id="configurationinifiledeploy" directory="applicationfolder" guid="my-guid"> <copyfile id="configurationinifilecopy" sourceproperty="wixui_ini_location" destinationproperty="applicationfolder"/> </component>
property filled in dialog before installation:
<property id="wixui_ini_location" value=" " />
documentation specifies sourceproperty
:
the property not have exist in installer database @ creation time; created @ installation time custom action, on command line, etc
shouldn't installer ignoring default?
my version of toolset: wix v3.10.3 (stable)
Comments
Post a Comment