VS 2015 InstallShield LE - 递归地包含子文件夹(VS 2015 InstallShield LE - Recursively include subfolders)

我正在尝试创建一个安装2个网站的InstallShield msi。 这两个网站都包含带有子文件夹的子文件夹的MANY文件夹。 将它们全部手动添加到“文件”区域的“目标计算机文件夹”区域,会很糟糕。 在以前使用Visual Studio的旧版Microsoft Installer中,我能够拖放父文件夹,并且所有文件/文件夹都会以递归方式将自己添加到我的安装程序中。 我如何在InstallShield LE中执行此操作?

I am trying to create an InstallShield msi that installs 2 websites. Both sites include MANY folders with subfolders with subfolders. Adding them all manually to the Files area 'Destination computers folders' area, would royally suck. In the old version of Microsoft Installer that used to come with Visual Studio, I was able to drag/drop a parent folder and all the files/folders would recursively add themselves to my installer. How do I do that in InstallShield LE?

最满意答案

我不确定LE产品版本,但是在完整版本的InstallShield Professional或Premium中,您可以右键单击您创建的组件并选择“动态文件链接”。 然后,您可以指定父文件夹,并选择包含子文件夹的链接。 您还可以指定包含和排除的文件筛选器。 就像您可能不想将.pdb调试文件包含在您的产品中一样,所以您可以将该扩展名添加到排除列表中。

请注意,如果升级路径包含子文件夹未正确升级的次要升级,则可能会遇到问题。

希望这有助于。

I am not certain about the LE product version, but in the full version of InstallShield Professional or Premium you can right click within a component you have created and select 'dynamic file linking'. You can then specify a parent folder and select the link to include subfolders. You can also specify a file filter for inclusion and exclusion. Like you may not want to include .pdb debug files with your product, so you add that extension to the exclusion list.

Note that you can potentially run into problems if your upgrade path includes minor upgrades where the subfolders are not upgraded properly.

Hopefully this helps.

更多推荐