有没有办法可以避免这个错误2753?我想在安装时选择一些功能,如果我选择我得到这个错误。我如何避免这种情况,仍然可以选择我想要的功能:
提前致谢。
答案 0 :(得分:2)
这表示您有一个引用功能安装的文件的自定义操作。您需要为自定义操作提供一个条件,以限制它在安装该组件文件时的调用。否则,执行自定义操作时会出现错误,因为该文件不可用。
答案 1 :(得分:0)
<CustomAction Id="StartAppOnExit" FileKey="VcredistEXE"
ExeCommand="" Execute="deferred" Return="asyncNoWait" Impersonate="no" />
<InstallExecuteSequence>
<Custom Action="StartAppOnExit" Before="InstallFinalize">!SOMECOMPONENTID=3</Custom>
</InstallExecuteSequence>
<CustomAction Id="StartAppOnExit1" FileKey="InterUMIEXE"
ExeCommand="" Execute="deferred" Return="asyncNoWait" Impersonate="no" />
<InstallExecuteSequence>
<Custom Action="StartAppOnExit1" Before="InstallFinalize"/>
</InstallExecuteSequence>
<CustomAction Id="StartAppOnExit2" FileKey="Python"
ExeCommand="" Execute="deferred" Return="check" Impersonate="no" />
<InstallExecuteSequence>
<Custom Action="StartAppOnExit2" Before="InstallFinalize" />
</InstallExecuteSequence>
<InstallExecuteSequence>
<WriteEnvironmentStrings>EnableEV=1</WriteEnvironmentStrings>
</InstallExecuteSequence>