246 questions
0
votes
1
answer
94
views
Install software as admin, but perform updates without admin rights
I'm using a Visual Studio setup project together with my own C# bootstrapper project that guides the user through the installation of my software (on Windows 11).
My main problem is that I need admin ...
2
votes
0
answers
82
views
VS Setup Project Change to Non-advertised Shortcut
I have a Visual Studio 2022 installer project I made and it currently has a primary output which creates an advertised shortcut automatically when the project is installed. However, since its ...
0
votes
1
answer
62
views
dotnet publish fails intermittently when publishing a WinForms app via code to automate setup buildig
I'm automating the setup generation (.msi) file of a of a WinForms app using a C# console tool that invokes dotnet publish via code.
The reason I'm automating it is because I need to create multiple ...
0
votes
0
answers
79
views
Windows Service not removed after uninstall
I have followed this guide:
https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service-with-installer?tabs=ext
And I chose the options to create an installer using the Microsoft ...
0
votes
0
answers
360
views
Create setup project with all dependencies in VS2022
I have a.net WPF project. I would like to build a set up project so that I create an MSI for installing the build on other machines.
I have tried creating a Setup project and added Project Output, ...
1
vote
0
answers
1k
views
Setup project broken after update to VS2022 17.10
Over a year ago I started building a tool for internal use and distribute it through an MSI and setup.exe (the setup.exe is necessary to check if the current version is already installed or if an ...
0
votes
1
answer
75
views
Unable to build custom action named because it uses a conditionally installed file
I followed this tutorial for making my .NET Core Windows service have an installer.
Before the tutorial, I published the files for the entry point project using the default folder publishing profile ...
0
votes
1
answer
119
views
Windows Installer with CustomInstaller and Error 1001. Unable to get installer types in the dll assembly
My solution has 3 projects with a project for CustomInstaller, a project for my WPF app and my Setup Installer.
After building my setup installer and running it, in the middle of the process I do have ...
1
vote
0
answers
362
views
"System.DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies" error
I have created an app using c# and winforms. I am using EF to manage a sqlite db (first time I do it in thie way). When the app is ready to deploy I use visual studio project installer 2022 to build ...
83
votes
10
answers
108k
views
How to install a windows service programmatically in C#?
I have 3 projects in my VS solution. One of them is a Web app, the second one is a Windows Service and the last one a Setup project for my Web app.
What I want is by the end of the installation of ...
0
votes
2
answers
166
views
Setting Oracle.DataAccess.Client DllPath for Windows Installer Project
I have a Windows Forms application that accesses a legacy Oracle 9 database. Therefore, I am including an Oracle 11.2.0.4 Oracle Instant Client as a subfolder of the application. In my application I ...
0
votes
0
answers
451
views
Visual Studio Installer Project doesn't include my software exe
I wrote a C# windows desktop software. I added an installer for it. The problem is the Setup project only includes a dll of my software in its Primary output, it doesn't include my software exe.
My ...
0
votes
0
answers
389
views
Microsoft Visual Studio Installer Projects: Issues Installing for 'yourself' or 'anyone who uses this computer'
I get a .msi that works and successfully installs the software, but the radio buttons that allows the user to Install for 'yourself' or 'anyone who uses this computer' seemingly does nothing.
If I ...
1
vote
0
answers
72
views
Creating .msi installer for only specific Project Output
I have a bunch of .net projects and few visual c++ projects, i want to only copy specific output dlls from the build output into the msi project.
Two C# library projects
One Visual C++ project which ...
2
votes
2
answers
2k
views
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?
4
votes
0
answers
1k
views
How to add powershell script as custom action in visual studio setup project
I have written one powershell(IPConfiguration.ps1) script to change the static IP address , subnet address and for disabling the IPV6 option in the ethernet network Interface. PowerShell script ...
1
vote
2
answers
625
views
How do I debug and Step through a Visual Studio Setup project?
OS: Windows 10 Enterprise N
Dev Environment: VS2022 (64-Bit) Professional (7.5)
Application: VSTO Add-In (Outlook 32-Bit)
The custom action I have closes Outlook during Install. That's working. ...
1
vote
0
answers
699
views
Building a Windows Setup Project gives many Setup files
I did the following steps to create a Windows Setup project:
Create a Windows Forms Application using Visual Studio
Install "Microsoft Visual Studio Installer Projects plugin"
Add a "...
10
votes
3
answers
23k
views
How to set icon for the desktop shortcut of setup project created using visual studio Installer?
I have created a Setup Project from Visual Studio Installer.
I installed the MSI and I was able to install the application. I want to add an icon for the shortcut I have created on the desktop. For ...
0
votes
1
answer
131
views
Visual Studio Setup Project shortcut has missing functionality compared to manually creating shortcut
I am working on making a very simple console app for tech-illiterate people to simply drag their files onto it, and it does the rest for them. When I made the program and tested this with the exe ...
0
votes
1
answer
140
views
Is there a way to display the previous version of application's version ID before installation begin
I am creating the *.msi installer package using the Visual Studio "Set up" project using VS 2022. I have a particular requirement to identify the previous version of the installed ...
0
votes
0
answers
240
views
Visual Studio - Web Browser Project not displaying webpage when installed on computer
Thank you for taking a look.
So in Visual Studio I built a Web Browser. When I use the Debugger, my Browser works and display's all web pages. However, when I build a Setup Exe for the project and ...
1
vote
1
answer
3k
views
How to use Custom Action of Setup Project (vdproj) with .NET Core
I would like to create an installer for my self-hosted service written in .NET Core 3.1. I'm using Visual Studio 2019 so I had to install VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects ...
2
votes
1
answer
4k
views
Deploying .NET 5 WPF application using MSI installer
Has anyone used Visual Studio Setup Project to deploy a .NET 5 WPF desktop application? I have been doing this stuff for years, but with .NET 5, things seem to have changed a bit. I tried to follow ...
2
votes
1
answer
1k
views
Install Without Manufacturer Name - Visual Studio Setup Project
Is there a way to install my application without a manufacturer name using a Visual Studio Setup Project?
For example, if in the setup project properties I leave the manufacturer name blank, it ...