Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WiX属性传递不工作(有时)_Wix_Windows Installer_Wix3.5 - Fatal编程技术网

WiX属性传递不工作(有时)

WiX属性传递不工作(有时),wix,windows-installer,wix3.5,Wix,Windows Installer,Wix3.5,使用WIX3.6,我试图创建一个MSI,用于内部产品的静默安装 在某些计算机上,我的安装程序工作正常,但在其他计算机上,安装程序失败,并显示一条错误消息,指示属性值尚未从进程的UI阶段传递到安装阶段: 此错误来自WiX源中的一个保护子句: <Condition Message="The property SERVER must be defined on the commandline. Installation will abort."> <![CDATA

使用WIX3.6,我试图创建一个MSI,用于内部产品的静默安装

在某些计算机上,我的安装程序工作正常,但在其他计算机上,安装程序失败,并显示一条错误消息,指示属性值尚未从进程的UI阶段传递到安装阶段:

此错误来自WiX源中的一个保护子句:

    <Condition Message="The property SERVER must be defined on the commandline. Installation will abort.">
      <![CDATA[Installed or SERVER]]>
    </Condition>
根据我通过咨询谷歌教授所能找到的一切,我所需要的就是通过使用所有大写字母作为名称将我的财产公之于众,并将其标记为安全=是:

我已经这样做了,但仍然不起作用-有什么想法我错过了

其他细节

。。。我的安装程序配置为每次作为主要升级运行

。。。我只在Windows 7上部署。在我的机器上有这个问题,我有Windows安装程序。V 5.0.7601.17514


。。。大多数机器的升级都很好,但有一小部分详细的日志文件是您的朋友。它将显示属性更改时的状态。获取详细日志文件:msiexec/i path\To\your.msi/l*v log.txt
msiexec /i 'C:\work\Excel.2010(x86).msi' SERVER=fsis-app-server ENVIRONMENT=Production SKIN=Black
<Property Id="SERVER"
          Secure="yes"/>
    <Condition Message="The property SERVER must be defined on the commandline. Installation will abort.">
      <![CDATA[Installed or SERVER]]>
    </Condition>