setup-project

How to execute custom action before installing files when using VS's Setup Project?

我的未来我决定 提交于 2019-12-24 10:38:18
问题 I have a simple VS setup project. On the first screen user inputs database name and credentials to access it. Then user clicks 'Next' button and files are copied. I would like to add one check which should be executed after user typed database name and credentials, but before copying files. This check should hit the database and verify some info. And depending on the result of this check installation will be continued or interrupted. How could i do it? Is it possible to do it using VS setup

How to Update the installed Window Application (Creating Patches)

夙愿已清 提交于 2019-12-24 09:27:06
问题 i have requirement. i have created the window application and i have created the setup of that application that has been installed to client machine. Now the requirement is that if i will do the further modification to the project the client not need to install whole application again instead client only need to install Update of new version. like using Patches or something. How can i do this is there and tool in VS from which we can create the update patches or something. Please Help.. 回答1:

Setup Project - Allow multiple installation of the same Windows Service

无人久伴 提交于 2019-12-24 03:08:22
问题 I have a question regarding to Setup Projects in .Net (c# language, Framework 4.0): I made a setup project for a Windows Service, on the installation wizard, the user must input the name of the Windows Service as it would be installed. The setup program also creates a shortcut to the Uninstall program in case the user wants to remove that Windows Service. The question is: how to let the user run the same setup program several times specifing different service name ? This behaviour could be

VS 2010 Setup project: how to get manufacturer name in Programs and Features

╄→尐↘猪︶ㄣ 提交于 2019-12-24 03:07:20
问题 In my setup project in VS 2010, in the properties window, I have set the Manufacturer and ProductName properties. I have also set the Company property of the assemblies of my web application and class library. When I install, in Programs and Features, I want the "Manufacturer ProductName" listed. Now, I only get ProductName. I have other solutions that have setup projects that list the Manufacturer in Programs and Features, but I can't figure out what is different. 回答1: You can set the

VS 2010 Setup project: how to get manufacturer name in Programs and Features

无人久伴 提交于 2019-12-24 03:07:14
问题 In my setup project in VS 2010, in the properties window, I have set the Manufacturer and ProductName properties. I have also set the Company property of the assemblies of my web application and class library. When I install, in Programs and Features, I want the "Manufacturer ProductName" listed. Now, I only get ProductName. I have other solutions that have setup projects that list the Manufacturer in Programs and Features, but I can't figure out what is different. 回答1: You can set the

pre-build event to change setup project's ProductVersion doesn't take effect until after the build

雨燕双飞 提交于 2019-12-24 02:14:59
问题 I've followed the steps described here to modify the ProductCode and ProductVersion on my setup project on each build, using a prebuild event. (meaning- I created a console application that uses the above-mentioned code to modify the .vdproj file, and I trigger it from the pre-build event). The operation is successful, and after the build is done I can see that the 'Version' property of the setup project has changed. However, the 'ProductVersion' property of the compiled msi does not change.

Visual Studio Setup Project: Huge list of dependencies

☆樱花仙子☆ 提交于 2019-12-23 22:02:31
问题 This is Visual Studio 2015 Community Edition. I'm using Setup Project (MSI) to create an installer for my VSTO add-in. I have done this stuff numerous number of times in previous versions of VS and haven't ever seen this behavior. VS2015 detects a huge number of dependencies that aren't included in the references of the add-in project. Rebuilding the projects and using Refresh Dependencies command hasn't proved any good. Has anyone else experienced this problem or knows a solution? Here's a

What is the difference between the “Checkboxes (A)” and “Checkboxes (B)” dialogs in a Visual Studio setup project?

吃可爱长大的小学妹 提交于 2019-12-23 07:38:41
问题 In a Visual Studio Setup & Deployment Project, I can design the user interface for the installer. I have a welcome screen, a license acceptance dialog, and then an installation location dialog. All good. I want to include one more dialog, to confirm changing of file associations. I think the way to do this is with a dialog that has a Checkbox. I can right click the UI node, and select "Add Dialog" and I get this choice: What is the difference between any of these checkboxes dialogs? I tried

IAR project variable like $PROJ_DIR$

断了今生、忘了曾经 提交于 2019-12-23 04:30:35
问题 Is there any possibility in IAR to add additional project variable like $PROJ_DIR$ to specify my project environment? I like to keep my project portable and adaptable. 回答1: As a caution, if you are IarBuild.exe to build from the command line, the workspace or global values set from "Configure Custom Arguments Variables" are not included in the project files (.ewp) and thus is not expanded by IarBuild.exe at build time. This is not an issue if you only use the IDE to build. 回答2: Of course

How to run an installed file after installation?

…衆ロ難τιáo~ 提交于 2019-12-23 04:18:09
问题 I have a setup project in c#. i want that setup run 2 exe file from the installed files after installation. How can i set which file to be run after installation. Any suggestion would be highly appriciated 回答1: Add a custom action as below... After the install complete, it should run the application automatically. Launching Your Application After Install using Visual Studio 来源: https://stackoverflow.com/questions/7460628/how-to-run-an-installed-file-after-installation