Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在维护一个旧的 InstallShield 安装程序项目,其中定义了许多 PATH 变量。
InstallShield IDE 有没有办法查看是否使用了 PATH 变量?
还是我应该删除一个,构建,测试?即蛮力?
不完全是您要问的,但我通常做的是使用文本编辑器打开 .ism 文件并搜索 PATH 变量以查看它是否在任何其他表中使用。
请注意,如果您使用 Redistributables 作为安装程序的先决条件,则可能会使用 PATH 变量来指向它们在您机器上的位置。这是一个 InstallShield 设置,不会显示在 .ism 文件中,因此如果您不知道,您可能需要检查那里以确保安全。您会在工具 -> 选项 -> 先决条件中找到它(至少在 InstallShield 2013 中)。