setup-project

Install over multiple UpgradeCodes with Visual Setup?

We have a product that has been installed with multiple UpgradeCodes in the past. There's a big red box in Microsoft's documentation saying not to do that, but the developer somehow overlooked it. I'd like to move this installer to a Setup Project. How can I install over all of the previous UpgradeCodes installed by the various WIX inst...

I have made an installer for MyProgram but the uninstall shortcut that it creates leaves behind empty folders

I have created an installer for MyProgram using the Visual Studio Installer (Visual Studio Setup Project). It is called "MyProgram Setup.msi". It installs the program fine and if it is uninstalled using the Add/Remove Programs control panel then everything gets removed as it should. The problem is that I want to add a shortcut to the "U...

Visual Studio 2008 Installer, Custom Action. Breakpoint not firing.

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

MSI not running the current version of the code in .NET Setup project.

I'm not sure what happened, but my installer is in a weird state--when I install my MSI, it doesn't seem to be running the current version of the code (I'm using Custom Actions). I verified it by placing some MessageBox.Shows and sure enough, they are not popping up. It's possible I may have had a few unsuccessful installs previously...

How do I obtain the version information for my Windows Service programmatically

I need to obtain the version of my Windows service programmatically and store it in a string. Then, I'll append the version to my display name and service name in the ProjectInstaller class. Right now I'm getting an empty string and I'm having trouble debugging my setup project. Here's my current code: string version = null; ...

VS 2008 created shortcut doesn't show up in "Send To" menu

I have a WinForms application built using Visual Studio 2008. I added a Setup Project to the solution to create an installation MSI file. I need the setup project to create a shortcut pointing to the application's executable in the users Send To Menu. This way when someone right clicks on a file, my application will show in the Send T...

Installing Outlook Add-In

I have a problem. I've been installing my VSTO Outlook Add-In to the Outlook 2007 on the account that has no security limitations. For the setup, I am using a normal visual studio setup project. I've had the user install few versions of my application before and it worked fine. Recently, I've created a new version of my application (whic...

Unknown Publisher problems

I have a VS 2008 Setup Project created. I am trying to install this on a Windows 7 machine as a Standard User. I am getting a warning during install about an unknown publisher. I have used makecert to create a certificate, then converted it to a password pfx file. I have digitally signed the msi and setup.exe with the pfx file. When...

Including .Net Framework 3.5 SP1 in prerequisites for VS 2005 Setup Project

I have a problem. The thing is that I am using Visual Studio 2005 and .Net Framework 3.5 sp1. I have created the app and I want to have the .Net Framework prerequisite installed before however I can only select 2.0 . This wont go well since some columns in some of my grids will be arranged differently along with other problems. Is there ...

Can a ClickOnce deployed app be silently mass installed?

I have a smart client app (WinForms/WPF) currently deployed using ClickOnce. A particular client has expressed the desire to silently deploy the app to it's intranet network users as part of its nightly/weekly client PC update service - presumably via MS Systems Management Server (SMS) and Group Policy or similar (I don't understand the...

Visual Studio Setup project to NSIS importer

I have a setup/deployment project that I've built in Visual Studio for packaging my WPF app. I now want to build an installer in NSIS for packaging my app. Is there any tool through which I can import my VS setup project into NSIS? ...

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Setup Project." How can I use the VIsual Studio setup project to do the following things: Register the assembly (currently using regasm). T...

System.BadImageFormatException for CustomAction in Visual Studio 2010 Setup project

Hold your guns! I did check to see if all the project outputs are set to the same processor architecture (in this case, x64). They are. So what am I trying to do? Wrote a plugin for Autodesk Revit Architecture 2011 x64 targets .NET 3.5 x64 Created a setup project Created a custom action (RegisterRevit2011Addin) for registering plugin...

Register a dll on the target installation

I have a Windows service that I've written in C#. In the business logic, I have a reference to a dll that needs to be registered on the target installation. Currently, it's not being registered on the target machine. On the setup project, I opened the Properties for the dll in question and noticed a 'Register' option that was set to "...

Excluding files from Visual Studio Web Setup Project

I have a Web Setup project in VS. I'll be switching to WiX, but that's in the future and currently I need to solve the following issue. I need to exclude some common dlls from the project. So I build the project, VS updates the list of Detected Dependencies. I exclude them and the setup builds. I check the file list with Orca and the fi...

Add common Startup Folder to VS2008 Setup Solution

When you right click the File System on Target Machine tree and select Add Special Folder inside a setup application you get a list of options. One is User's Startup Folder....however there is no option for Common/All Startup Folder. Is there a way to specify the common/all startup folder as a custom folder and still have it work prope...

is it possible to create setup project with web-site included?

Is it possible to create in Visual Studio a setup project which could publish a web-site to a given web-server and at the same time create a SQL database on specified SQL-server instance? Could you show me a good example or tutorial. Thank you upd: And also I'd like to implement checksum checking algoritm to make my setup-app tamper-pr...

how to create Windows application installation/setup select component window?

I am creating a windows application setup project using Visual studio 2008 setup project. This setup will have following steps: Splash screen Select Installation folder/directory Database configuration Select Components I am having trouble finding a way to create such installation window in setup. could you please help me to find a s...

DirectX Bootstrapper package

Hello, I want to share DirectX redistributable as a prerequisite package of my application setup msi( made with visual Studio). Anyone developed a bootstrapper package of DirectX? Where can I find it? I need some help about it. Thanks in advance, Paulo ...

Setup project with managed custom actions. Big heck of a headache

I'm trying to create a setup project and I can't believe how painful it could be. Non of the tools that I've tried to use, haven't satisfy me. How come? Well, let's see: First and easiest option: Setup project built in Visual Studio. Easy and fast. you can easily implement custom actions, even if you're code was written in c# or vb.net...