我想安装一个插件的DLL到预先安装的应用程序。预安装的应用程序在安装位置从注册表中可以找到它的位置。如果我找不到注册表。我只是不想安装插件文件。我正在使用Wise Installation express 7.4.0.214。通过msi有条件安装文件(内部错误2732)
我所做的是把在注册表中的系统搜索,我得到了我想要出货插件
我创建的名为“PluginDir” whoes在目录表中输入程序的安装位置Directory_parent设置为“”,DefaultDir设置为“”。
在MSI剧本我已经wriiten上执行即时选项卡中的脚本
REM Display the message fetched from the registry
Display Message [InstalledDir]
Set Directory PluginDir to [InstalledDir]Plugin\
消息框显示正确的获取路径,但只要它锥设置目录中显示“内部错误2732 0”
但是,当我注释设置目录Msi运行withot错误。我不明白我做错了什么。