编译时WIX构建错误 [英] WIX Build Error while compiling

查看:114
本文介绍了编译时WIX构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法打开数据库。在验证期间,最常发生在尝试使用不受支持的代码页或不是有效Windows Installer数据库的文件打开数据库时。请使用Module / @ Codepage,Package / @ SummaryCodepage,Product / @ Codepage或WixLocalization / @ Codepage中的其他代码页;或确保提供有效Windows Installer数据库的路径。





HI伙计们,



我在使用Wix3.6构建项目安装程序时遇到上述错误。



你能帮我帮忙吗?







Jagadeesh

Failed to open the database. During validation, this most commonly happens when attempting to open a database using an unsupported code page or a file that is not a valid Windows Installer database. Please use a different code page in Module/@Codepage, Package/@SummaryCodepage, Product/@Codepage, or WixLocalization/@Codepage; or make sure you provide the path to a valid Windows Installer database.


HI Guys,

I am getting above error while building project installer using Wix3.6.

Could you please help me anyone ...



Jagadeesh

推荐答案

如果您在计算机上安装了防病毒软件,请尝试暂时禁用它。当visual studio创建MSI文件时,它会在你的临时文件夹中创建,大多数防病毒扫描和MSI(读取库)被创建,防病毒自动将其删除。



另外,在xml wxs安装程序文件中,确保xml文件声明指定

If you have anti-virus on the computer, try disabling it temporarily. When visual studio creates the MSI file, it gets created in your temp folder that most anti-virus scan and the MSI (read library) gets created, the anti-virus auto deletes it.

Also, in the xml wxs installer file, ensure that the xml file declaration specifies
<?xml version="1.0" encoding="utf-8"?>





在您的产品节点中,您还需要指定



In your product node you also need to specify the

CodePage="1252"

标准英语

在您的包节点中添加

for standard English
In your package node you add

SummaryCodepage="1252"







希望这会有所帮助。

问候

Theo Jacobs




Hope this helps.
Regards
Theo Jacobs


这篇关于编译时WIX构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆