WiX从用户定义的根文件夹调整安装路径

时间:2020-11-10 15:31:44

标签: wix windows-installer wix3

我正在使用WiX工具集为我的公司ide编写一些插件的安装程序,而这些插件必须深入其目录结构中。我想使每个人都尽可能容易,因此他们必须仅指定其ide的根路径。 我已经从其官方仓库中复制了WixUIMinimal文件,并希望随后再调整INSTALLFOLDER路径,但它只是将所有内容安装在DLC(ide的根路径)中 文件应安装到的路径:

DLC \ oeide \ eclipse \ plugins \ com.openedge.pdt.extensibility.user_1.0.0

这是我的目录wxs

<Directory Id="TARGETDIR" Name="SourceDir" ComponentGuidGenerationSeed="{51AAB846-6A74-404E-8B4A-4CAA019978C8}">
            <Directory Id="DLC" Name="OpenEdge">
                <Directory Id="oeide" Name="oeide">
                    <Directory Id="eclipse" Name="eclipse">
                        <Directory Id="plugins" Name="plugins">
                            <Directory Id="INSTALLFOLDER" Name="com.openedge.pdt.extensibility.user_1.0.0">

                            </Directory>
                        </Directory>
                    </Directory>
                </Directory>
            </Directory>
        </Directory>
        <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
        <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />

0 个答案:

没有答案
相关问题