setup-project

Best tool to create MSI [closed]

无人久伴 提交于 2019-12-02 22:55:06
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I am new to setup project creation. Now I am using Visual studio 2008 to create setup file (msi) for my project. I am quit uncomfortable in creating my own custom forms in the installation wizard as well as upgrading an existing version of my project to a new version. Is there any other alternatives to create MSI/MSP package for Dot net projects? marc_s Creating MSI is not always an easy task - one tool that definitely

Running multiple NUnit Projects in Visual Studio

南楼画角 提交于 2019-12-02 21:48:03
问题 I have a solution that has multiple projects including NUnit Test projects. So the solution looks like this (using generic names, these aren't the actual names): + Solution + Project1 + Project1.Test + Project2 + Project2.Test + Project3 + Project3.Test ... I would like to run all the NUnit Tests through the NUnit GUI or console application when I click 'Start Debugging' from within Visual Studio. Right now, what I have done is added a new Class library called TestRunner and set it to be the

“Unable to update dependencies of the project” after committing to Subversion

对着背影说爱祢 提交于 2019-12-02 16:54:42
I have a setup project in .NET. When I save the project and the other projects to subversion, the setup project no longer compiles. I get the error "Unable to update dependencies of the project." There is a long discussion thread about this on MSDN. It seems like there are many possible causes. The discussion includes a few links for this problem from Microsoft. Here is a hotfix for VS2005 and here is a workaround for VS2010. Closing VS2010 and then re-opening it has always worked for me :) I've had the same issue, but none of the mentioned resolutions seemed to work for me. Rebuilding the

c# setup project get radio buttons value

白昼怎懂夜的黑 提交于 2019-12-02 11:00:38
I've started to create installer for my application using Setup Project in Visual Studio, I've made User Interface with two radio buttons. There it is what i'm talking about I want to get access to values of these radiobuttons in c#, but I completely have no idea how. Can any1 help me ? Assuming that getting them in C# means that you have a custom action installer class that you wish to pass the values to: DOMAINLOCALVALUE appears to be the name of the property associated with the radiobutton. In the properties window of the custom action you want to pass the value into, in the

How to code for Custom Dialog in Setup Project?

别来无恙 提交于 2019-12-02 09:58:43
问题 I have created a Setup Project for my .net application. I want to add another dialog after installation folder selection. I have added that dialog from User Interface panel. It is showing me correctly. Now, I want to write some code as per selected option in CustomInstallerClass . But, I don't know how to fetch that value (Selected Radio Button) in Commit process. So, i can do my further process as per radio button selection. I cannot use Wix or any other third party tool to create that

Visual Studio 2008 setup project, fixing the location of installed kit

我只是一个虾纸丫 提交于 2019-12-02 09:14:25
问题 I've created a setup project in Visual Studio 2008. I would like the installed location DefaultLocation never to be modified by the user during installation, probably by skipping the 'Select Installation Folder' dialog during setup. Is there a way to do this, either in VS2008 (or VS2010) or using an MSI editor such as Orca. Please advise at your earliest convenience, thanks. 回答1: Yes, you can do it in Orca, manually, or you can write a post-processing script that uses the WindowsInstaller

Running multiple NUnit Projects in Visual Studio

泪湿孤枕 提交于 2019-12-02 08:54:50
I have a solution that has multiple projects including NUnit Test projects. So the solution looks like this (using generic names, these aren't the actual names): + Solution + Project1 + Project1.Test + Project2 + Project2.Test + Project3 + Project3.Test ... I would like to run all the NUnit Tests through the NUnit GUI or console application when I click 'Start Debugging' from within Visual Studio. Right now, what I have done is added a new Class library called TestRunner and set it to be the StartUp project (I've read I don't really need to do this, I can just right click on the project and

Overriding “Textboxes” dialog fields from the command line in MSI installer (Visual Studio 2010 Web Setup)

纵然是瞬间 提交于 2019-12-02 07:23:51
Background I have a Web Setup project in Visual Studio 2010. In the User Interface section, I have a custom Textboxes dialog. These text fields have property names like EDITA1, EDITA2. I have a Custom Action which makes use of these properties: CustomActionData = /foo="[EDITA1]" /bar="[EDITA2]" /zip="[BLARB]" In the code for handling this custom action, these parameters are available in the Context.Parameters dictionary public override void Install(System.Collections.IDictionary stateSaver) { string foo = Context.Parameters["foo"]; // originates in edit box EDITA1 string bar = Context

Visual Studio 2008 Installer, Custom Action. Breakpoint not firing

亡梦爱人 提交于 2019-12-02 06:51:19
问题 I've got an installer with a custom action project. I want the action to fire at install. The action fires, when I write something to the event log, it works perfectly. But I really need to debug the file since the action is quite complicated. So I've got the following installer class: namespace InstallerActions { using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration.Install; using System.Diagnostics; using System.IO;

How to code for Custom Dialog in Setup Project?

穿精又带淫゛_ 提交于 2019-12-02 06:03:08
I have created a Setup Project for my .net application. I want to add another dialog after installation folder selection. I have added that dialog from User Interface panel. It is showing me correctly. Now, I want to write some code as per selected option in CustomInstallerClass . But, I don't know how to fetch that value (Selected Radio Button) in Commit process. So, i can do my further process as per radio button selection. I cannot use Wix or any other third party tool to create that package. I have also read some other post like this on SO. But, I could not found any solution from these.