Hi all, I'm new to wix and <strike>am</strike> was getting this message when
I try to build the wsx file of a wix project in Visual Studio 2012.
The full text of the message (generated by Light) is: "Error 9 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."
I am not referring to Codepage (or SummaryCodepage) in any of those tags, or
in fact anywhere in the wxs. Putting Codepage="1252" didn't change
anything. Finally, I tried adding
encoding="utf-16"
to the xml tag which previously only had a version='1.0' attribute. This
fixed the problem.
Now that it is solved, I don't need any help, but - working on the theory
that I can't be the only person it's happened to - I thought it might be
useful to have the solution here.
hth
mcalex
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Failed-to-open-the-database-error-SOLVED-tp7582297.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users