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

Why SASS code is not showed up in colored form in Visual Studio Code?

I am using Visual Studio Code for the front end development project. Unfortunately, VS Code stopped showing me colored version of SASS file. May I ask please what is the solution?
Manghud
  • 1,126
  • 3
  • 12
  • 20
1
vote
3 answers

Building an installer for a C# project in VS2019 .NET 4.8 fails

I have a C# project in a solution I built in VS2019 Enterprise, using .NET 4.8, and since this is a tool for internal use only, 1) the build log I'll be posting will be redacted, and 2) I know exactly the hardware and .NET version of every computer…
1
vote
2 answers

Correct way to create Registry Key using C# installer

I have created installer project in visual studio, Now my task is to add Registry Key of installer And i have done creating Registry key from installer like Right click on installer project -> view -> registry it create Registry Key with provided…
1
vote
2 answers

A strongly-named dll is not installing to GAC when added to GAC Folder in setup-deployment project

I'm attempting to install a dll shared by multiple projects to the GAC, using Visual Studio's setup and deployment project. I've strongly named my assembly, and set the output folder of the project primary output to 'Global Assembly Cache…
1
vote
0 answers

Visual Studio Installer Project Content File References to new VS2017 Project do not work

For legacy reasons we still use the Microsoft Visual Studio Installer Project Extension. In the setup project there is an project output added of type content files that points to a library project. Via this output 3rd party stuff is included into…
1
vote
0 answers

What is the privilege level for post install run of msi using the EnableLaunchApplication.js script in Visual Studio?

Using Visual Studio Installer Project I can launch a post install option using the script given here: Run exe after msi installation? The question is does the launched program run in elevated privileged mode or revert to the unprivileged user…
1
vote
1 answer

WPF application crashes when I launch

I used 'Microsoft Visual Studio Installer' to create a MSI for a legacy c# WPF application. After I install, I see this error BELOW. Do I have the wrong net framework installed ? Faulting application name: MyDesktop.UI.exe, version: 1.20.7097.18607,…
1
vote
1 answer

Rename shortcut with Visual Studio Setup Project Creates new folder in "Program Files"

I used Visual Studio Setup project to create MSI installer for a WPF application. The setup project configured to create a shortcut of application on desktop. Now I have requirement to rename the shortcut. I renamed the shortcut under setup project…
1
vote
2 answers

Installer created by VS 2008 deployment project fails with error "System.BadImageFormatException"

I have created an installer with Visual Studio 2008. VS project type is deployment project. This installer fails in some environments but also runs perfectly in some other environments. For example, the installer is compiled in virtual machine that…
1
vote
2 answers

Windows Installer 4.5 Doesn't appear in the prerequisites component list

From Prerequisites on the setup property pages, I selected the option to Download prerequisites from the component vendor's web site There is no Windows Installer 4.5 in the prerequisites to install option.. because every im installing my setup…
1
vote
0 answers

Visual studio project installer, startup folder, filename

I'm using Microsoft Visual Studio 2017 Installer Projects to make an installer for my application. I have made a shortcut to the primary output in the users startup folder. It is working, and the application is started when the user logs in. However…
1
vote
1 answer

Visual Studio Setup Project not updating Content File

I have a Visual Studio Setup project which includes a .SQL file from my project which should always overwrite the existing file if I run the installer on the same machine to update to a new version. The problem is that doesn't always seem to happen.…
1
vote
1 answer

Adding folder navigation to an msi

I am creating an MSI package for a windows service, untill recently i have always just performed the minimum using the installer class and then manually edited the app.config file afterwards. However, i need to make it easier for the users to carry…
1
vote
2 answers

How to use .net installer files

I have a Visual Studio Installer project that is configured, works fine and is ready for deployment. When I build the project, it creates a .exe file and a .msi file. I can delete the .exe file and install the app with a double click of the .msi…
1
vote
1 answer

Localized MSI setup into Chinese using ORCA tool

I am editing text into Chinese language of msi setup using orca tool. I generated transform using ORCA in this language and on applied the same to msi setup. Now on running this msi setup the translated values are not corerct. Orca is not able to…