小编Per*_*ira的帖子

错误 CNDL0200:WixBalExtension 架构

我的 wxs 文件内容:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Bundle Name="Sample" UpgradeCode="C8C5D724-FCDC-49b5-8556-4A95EC6F5B12" Version="1.0.0.0" Manufacturer="XXX">
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
      <bal:WixStandardBootstrapperApplication LicenseUrl="" SupressOptionsUI="yes" />
    </BootstrapperApplicationRef>
    <Chain>
      <MsiPackage Id="msifcbovj12_lvw" Name="MSIFile" SourceFile="D:\MSIFile.msi" />
    </Chain>
  </Bundle>
</Wix>
Run Code Online (Sandbox Code Playgroud)

当我运行candle.exe时出现以下错误:

错误 CNDL0200:BootstrapperApplicationRef 元素包含未处理的扩展元素“bal:WixStandardBootstrapperApplication”。请确保已提供“ http://schemas.microsoft.com/wix/BalExtension ”命名空间中元素的扩展名。

URI http://schemas.microsoft.com/wix/BalExtension返回:“您要查找的资源已被删除、名称已更改或暂时不可用。”

我已经尝试了http://sourceforge.net/p/wix/feature-requests/742/ 中引用的替代方法,但没有解决。

在我的 WixProject 中添加了库的适当引用作为 wix installer schema not found,但没有解决。

我几乎要放弃了。这是一个错误吗?

xml xsd wix

3
推荐指数
2
解决办法
2246
查看次数

命令“ python setup.py egg_info”在PATH / psycopg2中失败,错误代码为1

我需要将PostgreSQL从9.5版升级到11版。之后,当我从“ requirements.txt”文件重新创建virtualEnv时,在安装psycopg2软件包时开始出现以下错误:

Collecting psycopg2 == 2.6.2 (from -r conf/requirements.txt (line 50))
  Using cached https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '11 .1 '
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0Q7bhV/psycopg2/
Run Code Online (Sandbox Code Playgroud)

pip psycopg2 virtualenv python-2.7 postgresql-11

2
推荐指数
1
解决办法
2710
查看次数

标签 统计

pip ×1

postgresql-11 ×1

psycopg2 ×1

python-2.7 ×1

virtualenv ×1

wix ×1

xml ×1

xsd ×1