setup-project

Will a VS2008 setup project update Net 3.5 SP1?

I just started using the WPF WebBrowser that is included in Net 3.5 SP1. I built my setup project (which I have been using prior to moving to 3.5 SP1) and installed it on a test machine but the WebBrowser was not available. What must I do to be sure that the setup.exe/msi combination checks for and installs SP1? ...

How do I add a EULA to a VS2008 setup project?

This is a very simple question with a simple answer, but it is not quite so simple to find the answer on the internet. I have a simple Setup (deployment) project in Visual Studio 2008, and I have the EULA text. What do I need to do in the project to get the EULA into the install wizard? ...

What is the best way to install a C# windows service that doesn't require running installutil manually?

I'd like to package a C# windows service project so it can be easily installed by anyone without having to use installutil command prompt utility? Is there an easy way to configure a Visual Studio setup project to do that similar to how winforms applications are installed? ...

VS Setup Project: Uninstall other component on install

I am Creating a Visual Studio Setup project. I want to un-install another component from the system on the install of my component. And the another component is installed from my own setup created using Visual Studio. Currently when I am doing calling the un-insatll of the other component from the install action of the component. But th...

How to Forcefully Rollback a Setup from Custom Actions?

I am creating a installer in .NET and using custom actions for controlling installation. Now there is certain conditions which I need to check and based on those I have to continue install OR rollback the installation. How can I forcefully rollback the Setup from custom actions? ...

Setup App.Config As Custom Action in Setup Project

I have a custom application with a simple app.config specifying SQL Server name and Database, I want to prompt the user on application install for application configuration items and then update the app.config file. I admit I'm totally new to setup projects and am looking for some guidance. Thank You Mark Koops ...

Can't find setup project properties in Visual Studio 2005

All of the various postings, when speaking of Setup projects in vs2005, simply say "the properties are there" and/or "In Studio, I just click on the project name in the Explorer and I get the property window typical to other projects, and it's right there." BUT I DON'T!! I get a very limited list of properties (Output file name, Packag...

Installer for .NET 2.0 application for Windows 98

How can an automatic installer for .NET 2.0 application be created for Windows 98? I mean for application and also for .NET 2.0 if missing. I tried to do it by creating a setup project for Visual Studio 2008, but I didn't succeed. I installed IE6 SP1 manually, but Installer still crashed. Windows Installer 2.0 is installed. It's impos...

How to create website shortcut in a VS Setup project?

How do I create a shortcut to my website in the VS 2008 Setup project? I'd like to have a shortcut created inside User's Program Menu\MyProgram , after the application is installed. I could create a shortcut to the application itself but I have no idea how to make a shortcut to an http:// address. Can anyone help? ...

VS2008 Setup Project - Overwrite Newer Version

VS2008 setup projects provide the option to halt installation if a newer version is detected by setting "DetectNewerInstalledVersion". Is there a way to remove a newer version if it exists ie similar to "RemovePreviousVersions" options? ...

VS2008 Setup Project - No Repair Option

Is there anyway to disable the repair option so that if a user runs the msi again it automatically uninstalls without prompting for Repair/Remove options? Edit: This is for a controlled corporate environment and has been passed down as a requirement. ...

Setup project not installing referenced project content files

I have a Windows Service project, A, with a dependency on a class library project, B. Project B has XML files set as Content, Copy if newer. In the bin\Debug folder of project A, these content files are successfully copied. Edit (more failure): The Primary output installs fine. I cannot get the Content Files to install. Edit (win): I...

What's the easiest way to install 100s of files in a Visual Studio setup project

I have a standard c# application that acts as a GUI front end for a an "R" statistics engine. "R" consists of approx 600 files in approx 50 different folders and can be "installed" on a machine through xcopy deployment. I would like to package up both the R engine and my c# gui into one setup.exe so that the user doesn't need to go and ...

How can I set application settings at install time (via installer class)

I have a Visual Studio setup project that has an Installer class. In the installer class I set a setting as follows: MessageBox.Show(Properties.Settings.Default.MySetting); Properties.Settings.Default.MySetting = "Foo"; Properties.Settings.Default.Save(); MessageBox.Show(Properties.Settings.Default.MySet...

Extra space while installing .msi

I have extra space in my custom made .msi. The data to be installed has about 600MB and the installer says it needs 1.4 GB.Switching to a different location then the predetermined one (e.g from C:\Program Files\My_App to F:\My_App) shows that it always need approximately 800 MB on the Windows partition, which is in my case the extra spac...

Visual Studio Setup exe version different from Properties version

I have created a Visual Studio Setup project and have set the version to 1.1.5. When I build my setup project the setup.exe file version is 9.0.21022.8. How would I retrieve the 1.1.5 file version from my setup project? ...

How Add a COM-Exposed .NET Project to the VB6 (or VBA) References Dialog?

I have created a .NET assembly that is exposed to COM according to the exceptional article Build and Deploy a .NET COM Assembly by Phil Wilson. And everything works fine in the sense that the .NET assembly is properly registered for COM, and compiled COM code can call it without any trouble. The only odd thing is that developing agains...

Visual Studio Setup Project with all files from a folder

We have a setup project that currently adds Project Output's from different visual studio projects. We want to change the packaging system and use a folder with a bunch of deploy files that are prepared for deployment in the setup. But this means that we need to add the files one by one, and keep adding them on each version when there ar...

How to create a folder under %allusersprofile% during Setup with VS 2003 Setup Project?

I need to create a folder under "%allusersprofile%/Program Data" during the install process. The Setup file is created with VS 2003 setup project, and in it you can use several Known Folders... but as I see none maps to %allusersprofile% or "%allusersprofile%/Program Data". I thought that creating a "Custom Folder" (within VS Setup Pro...

Getting Content Files and Primary Output programatically

For some reason, we have a script that creates batch files to XCOPY our compiled assemblies, config files, and various other files to a network share for our beta testers. We do have an installer, but some don't have the permissions required to run the installer, or they're running over Citrix. If you vomited all over your desk at the m...