Questions tagged [visual-studio-setup-proje]

Use this tag if you are creating Visual Studio Setup projects. Most likely there'll be a version of Visual Studio to which you've added the installer project add-in. These projects create MSI-based setups and ClickOnce setups.

Visual Studio Setup Projects were introduced in Visual Studio.NET and developers can create such projects to compile their binaries (and various settings) into MSI packages.

Since 2011 this project type has been considered obsolete. Microsoft initially announced its death in a blog post and later revived it as a separate Visual Studio extension.

It is recommended that users of this project migrate to other technologies (from Microsoft or not), such as the open source WiX Toolkit.

227 questions
0
votes
2 answers

Add custom action of installing msi before the setup in installer project

I am creating an installer project for one of my windows applications . I want to make sure that an msi is installed first i.e. before the primary output is installed . The msi in question here is Microsoft VisualFoxPro OLEDB . So if I tried adding…
Aditya Korti
  • 692
  • 2
  • 12
  • 28
0
votes
2 answers

Visual Studio Installer - How to embed MS Access Driver in the setup

I have a Windows form application. It reads data from MS Access Database. I did install MS Access database engine (AccessDatabaseEngine_X64.exe) in my system. It works well. As this application can be used by anyone internally they have to go…
0
votes
1 answer

How to link two dialog boxes into an installer projects ( c# - VS 2013)

I'm working on Visual Studio 2013, with the add-on Visual Studio Installer Projects. I have created a setup projet ( "MySetup" ) to install few personal components into a customer's PC. I want to let the possibility to the operator to choose the…
0
votes
0 answers

How can i place zip files in a folder during installation of an msi?

The solution exists out of a wpf project and a setup project. When the user will run the msi, I also want to place some zip files on the file system of the target machine. These zip files would be placed under an already existing path on the target…
0
votes
1 answer

How to enable Upgrade in MSI Files using Microsoft Setup and Deployment Projects

Once my exe is installed, the next time when I go for the another installation, It should go for the Upgrade Window. But it says, Already Version Installed, Uninstall the Version. How can I overcome this? I had changed the Version numbers, (Minor,…
user1027076
  • 175
  • 1
  • 4
  • 12
0
votes
1 answer

Icon not showing up in taskbar after installing an application with Setup project Visual studio installer

I have to make a setup project for an application, I used Visual Studio Installer since the previous one was made with that. The setup works fine, the application gets installed. The only problem that I have is that the icon of the application does…
Macs
  • 53
  • 1
  • 6
0
votes
1 answer

VS 2013 Setup Projects Works on one server and does not on another

We recently migrated from VS 2008 to VS 2013 including a set of setup projects. One of the setup projects is meant to install a web application. It has one custom action that is meant to check the connection to the database. The code of the custom…
0
votes
0 answers

Access to the path \Start Menu\Programs\Startup is denied

I have created an installer via Visual Studio Installer for a windows form app, that is needed to run at startup. I am using Visual Studio 2015, and set it up by adding the registry key…
0
votes
1 answer

Change default Windows installer location in Visual Studio

I'm modifying a Windows installer in Visual Studio 2008 (Visual Basic I believe, what my company's currently using) and I want to change the default install "Folder" of the program (the name of the directory). I've attached an image to show what I…
0
votes
2 answers

VS 2015 Prerequisites dotnetfx parameters

I created s small C# tool and a Installer Project for the tool, my tool uses the .net framework 4.6. The client uses the version 3.5 (Windows 7 SP1 32-bit) - everything works fine. The Setup-Project detects the prerequisites version and start…
0
votes
1 answer

Upgrade uses OnCommit Custom Action from previous installer

While upgrading my solution from version 1 to 2 using the new MSI, I noticed one of my custom actions which configure the application was using values which belong to version 1 (on the OnCommit action) I added messageboxes and logs that print out…
0
votes
3 answers

Detect All Users .msi

I wrote a C# program in Visual Studio that uses the Setup & Deployment Project to create an .msi installer. The "InstallAllUsers" value is set to "True", so it'll install "Everyone" by default, but the users can change it to "Just Me" during…
0
votes
1 answer

Multiple entries in Add/Remove Programs of my application

I am using Visual Studio 2013 installer to package my application. I then make a copy of the MSI, open it in Orca and remove all the dialogs to create a silent package. So I have two MSI's that should be the same other than one is silent and the…
0
votes
2 answers

Installer behaves differently on different platforms - Windows 2008 R2 and Windows 2012 R2

I have created an installer for an application, using Visual Studio Installer Projects Version 1.0.0.1 and Visual Studio Version 14.0.25424.00 Update 3, that i intend to run on both Windows 2012 and Windows 2008 platforms. When I build this software…
0
votes
2 answers

How can I set this registry value for my User from my installer

The problem from https://stackoverflow.com/a/37859812/4878558 I need to set Registry value for current user, who launch the install up. Since install going for system mode - I don't know anything about current user Also my code giving…
Curly Brace
  • 515
  • 3
  • 13