Is there a WixBundleDirectoryLayout or a /layout sample snippet I can use?

僤鯓⒐⒋嵵緔 提交于 2019-12-23 01:15:19

问题


There is a Burn Built-in Variable - WixBundleDirectoryLayout. How can I assign a value to this variable to change where the bundle extracts to?

I also tried running...

setup.exe /layout c:\temp

...from a command line and it just copies the setup.exe file to c:\temp, instead of actually extracting the bundle contents. What am I doing wrong?


回答1:


The /layout switch does not extract the contents of a Bundle. It downloads all the content and creates an image that you could then burn to DVD or put on a network share or whatever. That way the Bundle will not go download content in the future. If you have no uncompressed packages then the /layout switch just ends up copying the Bundle executable to the location you specify (or a no-op if you don't specify a different folder).



来源:https://stackoverflow.com/questions/16219706/is-there-a-wixbundledirectorylayout-or-a-layout-sample-snippet-i-can-use

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!