setup-project

Unable to access .mdf file after installing application using Visual Studio setup project

£可爱£侵袭症+ 提交于 2020-01-16 07:31:38
问题 I have created a WPF application. I am using Visual Studio setup project to create application setup. In my application, I have a local database which is located in project folder (Application folder). When I install the application to any other drive than C: drive (operating system drive), then it is working fine. But when I install the application to the C: drive, then my application is not able to access the database file. Also, when I attach the database to SQL Server Management Studio,

Start WPF app after MSI installation complete

落花浮王杯 提交于 2020-01-15 11:38:47
问题 I have a WPF app that gets installed via an MSI, generated from a "setup project" in visual studio 2010. I was wondering how I tell the setup project to start the WPF app (primary output) after the installer is complete. 回答1: Found the answer here, using a custom action: http://www.codeproject.com/KB/install/Installation.aspx 来源: https://stackoverflow.com/questions/4905085/start-wpf-app-after-msi-installation-complete

How to add application folder to %PATH% after installation (VS Setup Project)

Deadly 提交于 2020-01-14 12:54:08
问题 I'm looking for a easy way to include application installation folder to a %PATH% environment variable after installation is complete. Visual Studio 2005/2008/2010, Setup Project. Thank you 回答1: Sad, but it still seems that you are right that it is required to code a class for the custom action. The example implementation has vanished. See below for an alternative. 回答2: This is an old question but still ranks high in google results. The link in the accepted answer is now broken. However, you

Setup App.Config As Custom Action in Setup Project

守給你的承諾、 提交于 2020-01-10 17:45:09
问题 I have a custom application with a simple app.config specifying SQL Server name and Database, I want to prompt the user on application install for application configuration items and then update the app.config file. I admit I'm totally new to setup projects and am looking for some guidance. Thank You Mark Koops 回答1: I had problems with the code Gulzar linked to on a 64 bit machine. I found the link below to be a simple solution to getting values from the config ui into the app.config. http:/

VS 2013 setup project update package fails for running executable

旧巷老猫 提交于 2020-01-06 23:51:18
问题 I have created a setup project (using VS 2013) to update my existing application on desktop clients. Previously, application has already been installed with same project output package. So, I have changed the setup project version Product code is updated in the meantime RemovePreviouVersions is checked MSI will be delivered via Microsoft SCCM 2012 R2 and has to support silent installation. My problem is, application has been running through all clients and setup can't replace existing

Deprecated function: The each() function is deprecated in Drupal

笑着哭i 提交于 2020-01-06 18:33:15
问题 I am trying to run a Drupal project. And I am getting the following error: No active batch. Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of C:\xampp\htdocs\mmcLegacyLexicon\fiveDayDiscovery\includes\menu.inc). Then I am selecting all the files and click download these updates. After that I am getting the following error: An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information

VS2017 Installer project output does not replace the current installation

冷暖自知 提交于 2020-01-06 08:52:30
问题 I have a standard windows forms application that is being deployed using the VS2017 setup project. When opening the setup project using the "File System", I added to the application folder the following: Primary output from the win forms app. The EPPlus library's dll. Some excel files. The setup project gives the output .msi package just fine. The problem is, when I run the .msi output after building the setup project (of course after building the source project) and run the application, I do

VS2017 Installer project output does not replace the current installation

吃可爱长大的小学妹 提交于 2020-01-06 08:52:18
问题 I have a standard windows forms application that is being deployed using the VS2017 setup project. When opening the setup project using the "File System", I added to the application folder the following: Primary output from the win forms app. The EPPlus library's dll. Some excel files. The setup project gives the output .msi package just fine. The problem is, when I run the .msi output after building the setup project (of course after building the source project) and run the application, I do

VS2010 Setup Project with C++ 2008 Redistributables?

删除回忆录丶 提交于 2020-01-06 07:43:28
问题 Here is the situation: I have a Visual Studio 2010 Setup project which installs a C# executable The installation includes a C# dll that references a C++ dll The C++ dll requires the C++ 2008 libraries The problem is that it is very easy to make the setup project install the C++ 2010 libraries, but I am not having much luck trying to install 2008. For 2010, it is as simple as selecting C++ 2010 in the Properties > Prerequisites section of the project. 2008 is not an option. I have found much

When using `bundle gem floob`, why is a directory of the same name as the gem is created?

血红的双手。 提交于 2020-01-06 06:07:47
问题 I am making my first gem. Let's assumed it is called floob . ex: bundle gem floob Why would bundle gem create two directories of the same name for a gem? ex: /floob/lib/floob/ Do I put the bulk of my code in /lib/floob/ (alongside the version.rb file?) What is the purpose of the file that is created with the gem name? ex: /floob/lib/floob.rb The only command run was bundle gem . I would love a little clarification on what the relationship is between all the floobs ~ 回答1: The reason for this