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
1 answer

Visual Studio 2017 Installer create ProgramData folder

I have a Setup project in Visual Studio 2017 where I need to create a custom folder in ProgramData folder. When I right-click on File System of Setup Project I get this options: But I can't find ProgramData option or similar. Any clue? Thanks
VAAA
  • 14,531
  • 28
  • 130
  • 253
0
votes
1 answer

Licence Agreement text not showing during installation using VS setup

I've added a Licence Agreement dialog box to the setup project and included the license file in .rtf format but the text is not showing in the installation using VS setup. what can be the problem?
0
votes
1 answer

How to update Registry Values as "System" user?

I have a Windows Forms application needs to update registry values. When I debug the application the values are being saved properly. But when I launch the application after the completion of installer (Visual Studio Setup Project - .vdproj), the…
Libin TK
  • 1,477
  • 2
  • 25
  • 46
0
votes
2 answers

Is it possible to have a setup project create a registry value without overwriting an existing one?

I know it can be done with a custom action, but can it be done without it?
0
votes
1 answer

Add custom folder with Microsoft Visual Studio Installer Projects

I have created a program that reads some text files from a folder usually located in C:\CustomFolder\Subfolder . Now I have also created an installer using "Microsoft Visual Studio 1027 Installer Projects" , but I would like that it creates also the…
Mattia
  • 135
  • 3
  • 13
0
votes
2 answers

c# Visual Studio Project Installer retrieve data from Textbox

I'm trying to retrieve data from a Textbox in Visual Studio Project Installer but I simply keep failing. I have no idea how to retrieve data from, let's say the EDITA2 field and it seems the internet has no answers so far. The project I'm talking…
0
votes
1 answer

VSTO Outlook AddIn Deployment/Installer help on VS2015

I have created a VSTO Outlook AddIn using Visual Studio 2015 Enterprise Edition. My development computer is 64bit Win10. I have created an installer (DVD) using InstallShield 2015 Limited Edition. I am able to run the intaller on 64bit OS…
0
votes
1 answer

Error when rebuild the setup project in c#

Im getting below error when im going to rebuild my setup project in visual studio 2015.Please advice to resolve this:
amila
  • 1
  • 3
0
votes
0 answers

Is it possible to skip to application install step from prerequisites dialog to execute setup.exe by making Visual Studio Installer Project?

I'm trying to build VS Installer Project and to execute setup.exe after building in the project. I make the prerequisites which is VC++ 2015 distributable(x86)(Option is "Download prerequisites from the same location as my application"), build it…
0
votes
2 answers

Why AssemblyFileVersion automatically changes Product version?

To enable upgrade, I did modify the AssebmlyVersion of DLL and didn't change AssemblyFileVersion. I assumed as I changed AssemblyVersion, the installer automatically detects the latest DLL and replace at the time of upgrade. But, upgrade failed to…
RJN
  • 696
  • 8
  • 17
0
votes
1 answer

How to install pre-requsite software using Visual Studio Installer?

I have pre-requisite software installer, xyz.msi which should be installed via main installer, pqr.msi. I use Visual Studio 2015 installer project to create pqr.msi installer. I also need to check certain condition like whether xyz.msi is already…
RJN
  • 696
  • 8
  • 17
0
votes
1 answer

COM-registered DLL doesn't generate/register type library with MSI installer

I've written a DLL using C# in VS2017 that I'm attempting to make properly COM-registered using a VS Installer, but cannot get the installer to generate/register a *.tlb file (which, if I understand correctly, the installer should do). I think I'm…
0
votes
1 answer

Folder property of File Search Launch Condition: how to specify custom folder under [TARGETDIR]?

I'm trying to set a file search launch condition for my installer. I need it to search for a specified file in a subfolder of my [TARGETDIR] folder. I tried setting the Folder property…
0
votes
2 answers

VS2015 Setup Project not updating Access Database included in package when reinstalling

I'm trying to build a Visual Studio Installer Setup Project that deploys multiple C# projects and some other files. Included in these other files, there are Access Database with forms that needs updates. To illustrate the problem, I simplified it…
0
votes
3 answers

Visual Studio Setup Project how to flag non-essential files? MSI repair tool

I have a Visual Studio Setup Project that includes a number of icons with the installation. The issue I am running into regards these icons being deleted. If I delete one of these icons through the file system, the MSI repair tool kicks in and…