Tag: 安装

如何在未安装Office 2010的计算机上安装带有MS Access数据库的visual studio 2010安装项目?

我正在用C#开发wpf应用程序。 我已成功为visual studio 2010中的wpf应用程序创建了安装项目。我已将MS Access 2010用作数据库。 它安装在所有计算机上。 但在某些计算机上没有安装Microsoft Office,在某些计算机上有MS Office的较低版本,如MS Office 2003.当我在这些计算机上安装我的应用程序时,它会给我带来连接问题。 你能告诉我我该怎么做吗? 我是否需要在Visual Studio 2010安装项目中包含MS Access 2010的任何先决条件? 如果有什么是它们以及如何包含它们?

Windows应用程序启动错误exception代码:0xe0434352

我是启动Windows应用程序然后应用程序未启动。 错误exception代码:0xe0434352我从EventViewer发现以下错误。 Application_develop在Visual Studio 2010中,启动错误 Application: POSBarcode.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Xml.XmlException at System.Xml.XmlTextReaderImpl.Throw(System.Exception) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Configuration.XmlUtil..ctor(System.IO.Stream, System.String, Boolean, System.Configuration.ConfigurationSchemaErrors) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors) at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors() at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs) Exception Info: System.Configuration.ConfigurationErrorsException at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, […]

无法更新数据库.MDF是只读的

我有一个应用程序中的本地数据库。 当我在另一台机器上安装它时,我收到错误 无法更新数据库.. .ddf是只读的。 通过编辑我对.mdf和日志文件的权限,我能够绕过它。 我做了一些研究,发现我可能想将数据库安装到共享文件夹中。 但是,我不知道该怎么做,我遇到的答案并没有多大意义。 //My connection string SqlConnection con = new SqlConnection(@”Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|AssetDatabase.mdf;Integrated Security=True”); 任何指导将不胜感激。 我在学习。

如何在构建时将其他文件包含在C#的输出目录中?

我有一些库文件需要我的应用程序工作。 我的应用程序包含设置和部署。 我已经知道,为了在安装时将库文件添加到应用程序的输出目录中,我只需要在构建之前引用.NET IDE中的那些库…唯一的问题是这些库不能被引用…所以我需要能够将这些库复制到我的应用程序的安装目录…目前,我正在手动复制这些库… 附录 我也尝试将这些库文件作为现有项添加到我的项目中,并标记每个库文件’ 复制到输出目录以复制,如果它们的属性更新但仍然没有得到我想要的解决方案。 更新1 谢谢你帮助我帮助我解决问题的人,我设法让你发布的解决方案工作除了一个… @Matthew Watson的post..我甚至设法找到了解决方案,所以我想和你分享它。 inheritance人我做了什么: 1. I opened the setup and deployment project in my application. 2. Under the Application Folder Tree, on it’s right side, I right clicked.. 3. then clicked Add.. 4. then clicked File 5. and then browsed for the files I wanted to add […]

是否可以使用WIX创建多语言安装程序?

是否可以使用WIX创建多语言安装程序?