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
3 answers

Can WiX run custom actions from the installed binaries just like Visual Studio Setup project does?

Since I migrated to WiX I only can run custom actions from binaries that are inserted in the Binary table But Visual Studio Setup Project used to use…
Jader Dias
  • 217
  • 3
  • 8
0
votes
1 answer

How to create a setup project using WiX to install two Visual Studio extensions

I need to create a setup project using WiX to deploy two Visual Studio Extensions(vsix). I create a project follow the steps that you can see in this blog: Creating WiX setup for VSIX. I can compile the project and generate the .msi file, but when I…
0
votes
1 answer

Custom installation in vs2010 setup project

All, I am trying to add a Custom Action to my VS2010 SetUp Project. What I want to do is showing my custom win-form during the installation. And I want to show the custom win-form as a modal dialog so that the user can't ignore it during the…
0
votes
2 answers

How to create setup file in visual studio 2010 with .log file

I want to create setup file for my project with all prerequisites like framework,sqlserver and .log file/db script. I want to run DB script during the installation of my setup. On single click i want to install all this .
0
votes
1 answer

How can I change target folder to GAC (Visual Studio 2010 Setup Project)?

See this screenshot (sorry for Russian) these are properties of primary outputs. But when i am trying to change folder (see the next screenshot) there are only three standard directories in my list and I cannot do anything with them. Right-click…
Anton Kasianchuk
  • 1,177
  • 5
  • 13
  • 31
0
votes
1 answer

install project visual studio 2010 files cannot be executed

I have a solution in visual studio with two project, windows service in .NET 4.0 and a GUI in .net 4.5 , i moved the service to .net 4.0 so i could use visual studio 2010 setup project and just move the files in setup. The install process succeed…
0
votes
1 answer

Custom Actions - Persisting chosen value in the application properties

I added a "3 Radio Buttons" user interface to the setup project, and I am able to read the selected value from a Custom Action. I need to persist that value. The most common solution is to use the Windows Registry. I am just wondering if we could…
user386167
0
votes
1 answer

What is the Windows XP VersionNT property value?

I'm building a Condition on one of my Registry entries in a Visual Studio Setup Project (.vdproj) and I want to install the key if, and only if, it's Windows XP it's being installed on. So, I found that I'll be able to use the VersionNT property in…
Mike Perrenoud
  • 66,820
  • 29
  • 157
  • 232
0
votes
0 answers

How to include arbitrary files in a .NET setup project

We have a folder of text files that needs to be copied to the server whenever our application is deployed. Currently, we handle this by manually copying/pasting the folder's contents. How can I include this as an automated step in the MSI? I want…
0
votes
1 answer

Customize install-log location in Visual studio setup projects

The SetUp projects from Visual Studio will have their installation logs under temp folder with the name format like " %temp%\ .log " Can I have some customization done here, so that these installation logs will go to a specific folder ?
-1
votes
1 answer

Visual Studio 2017 c# setup project configuration file path

I have created a windows service application in C# which uses an SQLite database file to store data it receives. I want to be able to allow the user to select the directory the SQLite database file is stored on their PC during installation. How can…
-1
votes
1 answer

Can I add a different executable file other than compiled .exe in VS 2017 Setup Project

I made a setup project and I want to add a locked .exe instead of the compiled .exe in my setup. Can this be done with a custom action or some other way?
-1
votes
1 answer

MSI for non-admin users

I made an Outlook Add-in in VS2015 using NetOffice and targeting .NET 2.0, now I need to package it for non-admin users to install (it cannot require admin rights). I typically use ClickOnce but it's missing (assume because I'm not using VSTO?), so…
pheeper
  • 1,457
  • 4
  • 20
  • 37
-1
votes
1 answer

How to fix part of installation Path in VS Deployment project?

I am working on Visual Studio Deployment project in 2010. After I create a installation executable file, then while installing I want to fix some part of Path, that user cannot change it for example: My application name XYZABCD.exe So When…
-1
votes
1 answer

How to add a custom screen having an anchor/hyperlink and a textbox to enter some value by user before the welcome screen

How to add a custom screen having an anchor/hyperlink and a textbox to enter some value by user with a button before the welcome screen in intaller wizard in .Net Setup Project for creating the installer? I am creating an installer to install a…
1 2 3
15
16