setup-project

Visual Studio Installer > How To Launch App at End of Installer

This is probably a stupid question and my Googling just is not functioning today. I have an application I added a Visual Studio Installer > Setup Wizard project to. I am wondering how to add a button or check box that would launch the application after successful install. This would be located on the last page of the MSI Installer Packa...

VS2008 Setup Project

I have a C# project, built using VS2008. It has a number of third party dependencies. However, when I create a set-up project for it, the “Detected Dependencies” folder is empty. How do I either force it to detect these dependencies, or manually add them? ...

How to package website and database projects

I am using Visual Studio 2010. I have a solution that has 2 SqlServer Database projects and Web application projects. When I build each of these projects they generate SQL scripts and zip files for websites that can then be imported in IIS with MSDeploy. I want to create a setup project of some sort that will package these sql and zip f...

How can I use a VS Setup Project to install "Any CPU" code properly on either 32-bit or 64-bit Windows?

We have a large suite of products that include: Desktop apps written in VB6. Desktop apps written in .NET. Windows services written in .NET. ASP.NET web apps written in .NET. ASMX and WCF services written in .NET. All the .NET code is written in VS2008, targeting .NET 3.5 and "Any CPU". We could target specific processors, but would ...

Copying a file to a specific directory during installation using Visual Studio Setup Project

I have a file - say readme.txt that I want to copy or insert to a directory say C:\Documents and Settings\fooUsername\Application Data\BarSoftware during the installation of my program using Visual Studio's setup project - I know it is something to do with File System Editor but not exactly sure as it has been some time since I ha...

Coded UI Test Builder does not appear with setup project in solution

I am using VS 2010, and I was able to create a Coded UI test successfully, once. I am trying to do the same, but the Test Builder Dialog box does not appear anymore. I found the following post: http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/ff495f15-bb42-454d-88af-ae4d3bb4a075 This describes my problem somewhat. I do have...

VS2010 Setup Project Freezes on 'Select Installation Folder'

I have a pretty basic c# winforms project that has an associated setup project. It has one custom dialog (Textboxes (A)). When I run the installer, it freezes when I click Next to go to the Select Installation Folder dialog. Then after several minutes, it unfreezes. When I finally click Install, the window disappears but msiexec.exe is s...

"Unable to update dependencies of the project" after commiting to Subversion

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." Any ideas why? ...

Allowable maximum size of data that goes along with output files in setup project for a windows form application using Visual Studio

I am working on a windows form application using C# and have about 5 -10gb SWF files that are tied in to my windows form application. When I try to build these files along with the project output in setup project, Visual Studio Team system throws me an error "Not enough memory storage available". I am running this on a 32bit OS with 2 g...

Setting Public Property in msi Custom Action

Is it possible to set a public property (say MYPROPERTY) from a C# custom action? I can read properties with Context.Parameters["MYPROPERTY"] that I pass into the custom action data but is there a way to set them too? Thanks. ...

How to modify contents / replace a binary of an .msi file as a post-build step?

When building a Visual Studio 2010 Setup project with a CustomAction on x64 systems, Visual Studio includes the wrong version of InstallUtilLib.dll: It installs the 32bit shim, which will not work for CustomActions compiled as 64-bit (a requirement in my case, since it depends on 64-bit native dlls). Installing such a .msi results in th...

Django, PIP, and Virtualenv

Hi, Got this django project that I assume would run on virtualenv. I installed virtualenv through pip install and created the env but when I try to feed the pip requirements file, I got this: Directory 'tagging' is not installable. File 'setup.py' not found. Storing complete log in /Users/XXXX/.pip/pip.log Here's the entry on the log...

getting path of programdata in Visual Studio setup project

Hello, Is there anyway I can get the path of programdata folder dynamically in a setup project in the very same way I get the path of program files folder by using the keyword [Program Files] as defaultlocation for custom folder? Thanks ...

Visual Studio 2008 Setup Project

I need to build a setup project for an windows application I developed in C#. Along the way, I need the user to be able to set the database server/instance name along with authentication type, and a username /password if they are using SQL authentication. This connection string is stored in my app.config file. Once setup is complete, a ...

How should I include Infragistics dependencies in InstallShield Setup Project?

Hi, I've a Windows Application in which we are using Infragistics controls. Now, we are creating its setup project using InstallShield. This is my first time with InstallShield. It seems we need to provide Infragistics setup in dependencies. I don't want to install setup or it shouldn't be. Can't it be done just provide Infragistics DL...

How to include version number in VS Setup Project output filename

Is there a way to include the version number as part of the output.msi filename in a VS2008 Setup Project? I'd like for example an output file called: "myinstaller-1.0.13.msi" where the version part is automatically set based on the version number I have put in the deployment project properties. ...

Installing Windows services gives an error

Hi, I created a simple windows service on my local PC and added the following code to it Protected Overrides Sub OnStart(ByVal args() As String) Const iTIME_INTERVAL As Integer = 60000 ' 60 seconds. Dim oTimer As System.Threading.Timer System.IO.File.AppendAllText("C:\AuthorLog.txt", _ "AuthorLogService has...

How to launch the application after the setup finishes, but in non-elevated mode?

When I launch my appliation after the setup completes, it launches the application in elevated mode. One of the problems, that this creates is that the user can no longer drag drop files into the application. Running the application from Start Menu works fine. Is this even possible? ...

setup and deployment by reading bios of user system

am using c# vs-2005 am trying to setup & deployment of project and did it very simple by adding assembly and prerequesite of the project on setup properties. but i want to deploy it by professionally like to first read bios of user system and detect the HDD serial. after detaction of HDD Serial i want to generate my own key to allow us...

How do I select Everyone / Just Me based on the previous installed version?

Using Visual Studio setup project. I'd like to change Everyone / Just Me choice to the same as the user selected during previous installation. ...