setup-project

Register/Alter MIME associations in asp.net mvc Web Setup Project

I'm making a Web Setup Project of my Asp.net Mvc project. I'd like the installer to change some MIME associations on IIS7. How to do this? ...

Add prerequisites/dependencies to VS2008's Setup Project options?

VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks) which you can simply check off to have the bootstrapper ensure they are installed. But what about other dependencies you might want to add, like the SQL Native Client (only available as an MSI, not as merge modules) or the ODBC Data P...

Visual Studio setup project - running as system account

I created a new Visual Studio Setup project with VS 2008. I use it to install SQLExpress. The installatino of SQLExpress works fine when I do it manually outside of the installer. But when I install, I get an error in SQL Express with permissions. I found out that it's because the SQLExpress process is running as the System account w...

C# sql express 2008 not showing in the list of pre-requisites in setup project

I'm creating an installer via VS setup project, and I'd like to make sure sql express 2008 is installed if it is not already installed. I right clicked on my installer project and go to Pre-requisites but SQL Server 2008 Express is not there. 2005 is listed, but I need 2008. I installed SQL Server 2008 Express after Visual Studio. W...

FileNotFoundException in Visual Studio Setup and Deployment Project when trying to load custom config

Hi, I'm trying to call a custom action within my Setup & Deployment project to update some items within the app.config on my app. I've wrapped up the custom config section in the usual way, e.g.: [ConfigurationProperty("serviceProvider", IsRequired = true)] public string ServiceProvider { get { return (string)base["serviceProvider"...

Change default output path for VS2008 setup-project?

How do I change the default output path of a VS2008 setup-project? It installs into Program Files\myOldProjectName right now. ...

Is there any way for a .NET application to read a variable defined at installation time?

With Visual Studio Setup Project I can ask for the user for some input, like a location of a folder. There is any way for the installed application to read the user input? ...

Is it possible to create an installer that includes ms sql express? (wihtout separate exe)

Is it possible to create an installer that includes ms sql express? I currently install ms sql express via setting the setup project's pre-requisites. It outputs 2 files, an msi and a setup.exe. The setup.exe will detect is SQL express is installed and install it. It works great. But now I have to distribute 2 files... I'd like to ...

Using the Condition field in a Setup project on VS2008

Hello all, On my application Setup Project, I'm trying to setup a Registry key either under HKLM/Software or HKCU/Software depending on whether the user checked "All Users" or "Just Me" during the setup. For that effect, I've been trying to use the ALLUSERS property and check it against either 1 or "", respectively.: ALLUSERS = 1 ALL...

Run exe after msi installation?

Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks. ...

Best tool to create MSI

Hi, 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...

Adding version number to Application Folder in Visual Studio Setup project

I have a Visual Studio Setup project which has a Application Folder DefaultLocation set to[ProgramFilesFolder][Manufacturer]\[ProductName]. I would like to change this to include the software's version number, like [ProgramFilesFolder][Manufacturer]\[ProductName][Version], but Visual Studio doesn't seem to support it. Is there an altern...

Application packaging

I'm using Visual Studio to create my installation package. My application use some bitmap and other data file. I currently include these files in my setup project. Is there a way to embed these file in a kind of bundle package? ...

Shipping SQL Server Express Edition with my Windows Service.

Hi, I have created a windows service which interacts with SQL Server Express Edition. I want to ship this to my test machine which doesn't have any form of SQL Server installed. Is there an easy way of shipping SQL Server Express Edition with my service? Is it possible to make this part of a Setup Project? Thanks. ...

Microsoft VC Runtime Requirement and SXS error for Setup Custom Action in Vista

I created a setup project with VS2005 for an application that I'm developing, which installs fine on Windows 2000 and XP, but when I try to run the installer on Vista, it gives the following error: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. This e...

Upgrade individual feature in WIX feature-tree without uninstalling/upgrading other feature(s)

Hello, I'm trying to create a setup project using WIX that will allow me to install multiple features of a single product. How can I update one of the installed features (which is independent of the other installed features) without having to reinstall the other features in the feature-tree? For example, I want to be able to have a p...

DB setup for Web2 online applications [Solved]

Hi, I'm planning to code a Web2 online application and I'm looking for best-pratices. I'm talking about online apps similar to web collaborative or billing apps. In fact I'm wondering how they setup their DB? Do they put all users info in the same DB, is each user have their own DB? Any suggestion and information are welcome! Tha...

Mark a folder as 'Permanent' in VS Setup Project

When creating a Setup Project in Visual Studio you can specify that a file is Permanent, but there is no option for setting a folder as such. My installer needs to copy some files to an existing (sometimes empty) folder, but when it uninstalls it deletes the folder if it's empty. I'd like to prevent that so it doesn't break other add-ins...

How to use installation configured variables in setup project?

Using .net's setup project, I want to write the location that my software is installed to into the registry, in order to help a plugin know where the main application is. Is there some kind of %variable% I can use which represents the folder to which the application was installed? ...

Building Visual Studio 2008 Setup projects with the Windows 7 SDK

Is it possible to build a Visual Studio 2008 Setup project with only the Windows 7 SDK installed? My setup project refuses to build because it can't find "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\", part of the Windows 6 SDK. I would have thought that the 7 SDK would have everything that the setup project needs. A rel...