variables - How to copy executable file of ExePackage to the target machine's specified directory using Wix Burn? -



variables - How to copy executable file of ExePackage to the target machine's specified directory using Wix Burn? -

in wix bootstrapper project have 2 exe packages (for 32 , 64 bit) , msi package.i'd install 1 of exe packages , install msi. need executables of both exe packages copied target directory, designed in msi. problem if install them other files in msi:

<component id="cmp9a1327054e32" directory="dir088" guid="guid"> <file id="fila60" keypath="yes" source="$(var.pathtofile)\accessdatabaseengine.exe" /> </component>

this double size of bundle (2 executables exe packages , 2 msi). question "how can utilize same .exe files both installing exe packages , copying them target machine?"

i tried utilize files payload msi , utilize custom action in msi re-create them cache folder

<msipackage id="mainpackage" sourcefile="$(var.resources)\foo.msi" displayinternalui="yes" compressed="yes" vital="yes" displayname="foo"> <payload sourcefile="$(var.thirdpaptyresources)\accessdatabaseengine_x64.exe" name="accessdatabaseengine_x64.exe" id="msade64"/> <payload sourcefile="$(var.thirdpaptyresources)\accessdatabaseengine.exe" id="msade"/> <msiproperty name="cache" value="[wixbundleexecutepackagecachefolder]"/> </msipackage>

but cant value of wixbundleexecutepackagecachefolder built-in variable pass msi.any suggestions?

wixbundleexecutepackagecachefolder added in wix 3.9.

variables wix built-in burn payload

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -