是否有我可以使用的 WixBundleDirectoryLayout 或/layout 示例片段? [英] Is there a WixBundleDirectoryLayout or a /layout sample snippet I can use?

查看:26
本文介绍了是否有我可以使用的 WixBundleDirectoryLayout 或/layout 示例片段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个 Burn 内置变量 - WixBundleDirectoryLayout.如何为此变量赋值以更改包提取到的位置?

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

我也试过跑步...

setup.exe/layout c:\temp

setup.exe /layout c:\temp

...从命令行,它只是将 setup.exe 文件复制到 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?

推荐答案

/layout 开关不会提取 Bundle 的内容.它下载所有内容并创建一个图像,然后您可以将其刻录到 DVD 或放在网络共享上或其他任何地方.这样 Bundle 以后就不会去下载内容了.如果您没有未压缩的包,则 /layout 开关只会将 Bundle 可执行文件复制到您指定的位置(如果您未指定其他文件夹,则为无操作).

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).

这篇关于是否有我可以使用的 WixBundleDirectoryLayout 或/layout 示例片段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆