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
0
answers
25
views
An error occurred while validating. HRESULT = '8000000A' MSI Project
I was trying to build MSI setup project via CMD. When I do via VS 2022 no error appears, but when did with cmd or command getting this error which took my 4 working days and nothing works.
Then I ...
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, ...
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
votes
1
answer
121
views
Windows Forms 4.8 dialog modal works in Visual Studio 2022 IDE but not after being installed via MSI
TL;DR
bindingSource.CurrentChanged event seems to fire OK during IDE debugging, but, not in the final installed, 'Release'-compiled application - other event handlers seem to behave as desired.
Goal:
...
0
votes
1
answer
247
views
VS 2022 installer project - The shortcut gets installed but doesn't work, it doesn't launch the associated .exe
The Target is HAcomms.exe in the Application Folder directory. Everything looks right, but the icon that gets installed has an invalid target:
The target is just "HAcomms" which is not &...
5
votes
1
answer
255
views
How to set the custom Microsoft visual studio projects MSI to open it without admin power
I want to know if there some options to set the MSI file without admin power. When I open the msi file in non-admin user, it always need admin power. How can I set it to open the msi file without the ...
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 ...
1
vote
1
answer
2k
views
Visual studio 2022- incompatible installer project or doesn't support specific csproj file
Recently I moved our Visual Studio 2019 project to VS 2022 but faced errors like incompitable project (Unsupported
This version of Visual Studio does not have the following project types installed or ...
0
votes
0
answers
450
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
1k
views
Unable to locate "Installer Class" option for Visual Studio 2022 (Windows Installer) off "Add Item" templates
I have a Visual Studio 2022 instance (version 17.6.5) with the Microsoft Visual Studio Installer Projects package (version 2.0) installed on a Windows Server 2022 virtual machine. I'd like to ...
0
votes
0
answers
157
views
CefSharp MSI Installer Project - Unrecoverable build error - 0x8007000B
I have project WinForms with .net core 3.1 and I am using in this project CefSharp.WinForms (version 89.0.170).
I upgraded to newest version:
CefSharp.Common.NETCore" Version="111.2.20"
...
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 ...
4
votes
1
answer
1k
views
Build a setup for a WinFroms .NET 6 using Microsoft Visual Studio Installer Project
I used Visual studio setup/installer project template to build a setup for my App last year(in VS19) and it worked well . after some changes I was forced to migrate to.Net6 and I tried to build a ...
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 "...
2
votes
1
answer
808
views
How to get the version of a setup project msi/exe file
I'm trying to get the version from MSI/exe files.
Pic
I tried both exe and msi file but it returns as null.
var versionInfo = FileVersionInfo.GetVersionInfo(@"path\setup.exe");
...
0
votes
1
answer
86
views
VS Setup Project: Process.Start does not open up URLs when ran from within Installer class, but is executed OK from standalone application
I stumbled upon a problem with which I need some help!
When a process is executed from within a Windows application that runs directly, the call to Process.Start opens up the webpage to the default ...
2
votes
1
answer
680
views
Prevent automatic adding of dependencies in visual studio installer projects
I am currently working on a project, which is using the wix installer but now we want to migrate to the "visual studio installer projects" .msi installer.
The problem is that the vs ...
2
votes
1
answer
356
views
Change the fields and field names in Visual Studio Setup Project
I have an old project at work built in Visual Studio 2015 which I'm updating. There are eight text fields in the setup project. They all have names like FOOBAR and QWERTY which are available in ...
0
votes
1
answer
570
views
MSI Installer: Conditionally include one or another file for 32 or 64-bit systems
I'm using Visual Studio Setup Project to create installer for my application.
One of the files needs to included or excluded depending upon whether the target machine is 32 or 64-bit. The setup ...
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
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 ...
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 ...