246 questions
0
votes
1
answer
169
views
Visual Studio Setup Project deletes just upgraded files
I'm working on an old Visual Studio 2008 project which had a setup project. I have upgraded everything to VS2019 made the changes in the code, increased the version, added a few files and made the ...
2
votes
3
answers
4k
views
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 ...
0
votes
0
answers
55
views
MSI created by visual studio setup project unable to run exe from installed location
How i can execute exe after installation from installed location.
Currently it is unable to execute exe from installed location.I have used custom action as well but it is unable to execute exe.
1
vote
0
answers
330
views
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.
...
1
vote
0
answers
98
views
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 ...
4
votes
2
answers
4k
views
Visual Studio Setup Project - how to avoid duplicate entries?
It's the first time I use Visual Studio Setup to create an installer, and there's one thing I don't understand.
I've added the files I want via simple drag-and-drop, but the end result is that the ...
0
votes
2
answers
1k
views
Custom Action - Only uninstall if installed
I have a Windows Installer project attached to my solution, which allows the user to optionally install two components of the application (they are Windows Services) using a "Checkboxes" dialogue box ...
0
votes
1
answer
98
views
Can't Add Full Control to Settings File
I have a C# application which stores it's settings in ProgramData subfolder such as
C:\ProgramData\Manufacturer\Product\Version\Settings.xml
I noticed that the application can't save settings changes,...
1
vote
2
answers
200
views
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, ...
0
votes
2
answers
2k
views
Installer Project Custom Actions - Specify working directory
I have a custom action that runs as a Visual Studio Installer Projects deployment.
Is it possible to specify the working directory of this custom action, relative to the installation directory?
Edit
...
0
votes
1
answer
1k
views
Visual Studio Installer Setup Project without UAC
Is it possible to set up a Visual Studio Installer - Setup project so that the generated Setup.msi can be installed without requiring administrator privileges, i.e. install the app for the local user ...
4
votes
2
answers
6k
views
Visual Studio 2017 Installer Project - include VC++ 2015 Redistributable
I am creating the installer for my application using a "Visual Studio Installer" project type in Visual Studio 2017.
I want my installer to install visual c++ redistributable 2015 with my application....
0
votes
1
answer
28
views
Check install drive format
I want to make sure that the drive I'm currently installing to is a certain format (e.g. NTFS, exFAT, FAT32, etc.). I was thinking there might be a condition I can check or something before installing....
1
vote
1
answer
2k
views
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. ...
3
votes
2
answers
2k
views
Create a setup for windows form application Without Administrator password while install
I have developed a windows form application in visual studio. Now, I would like to install that windows application on my PC without administrator privilege. How can I create a setup. (I already ...
1
vote
2
answers
100
views
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 ...
1
vote
5
answers
3k
views
In-use files not updated by MSI-installer (Visual Studio Installer project)
I'm using the Visual Studio Installer Projects extension to build the MSI-installer for my application. However, my application is meant to be running at all times, and if it's open when the user is ...
0
votes
1
answer
410
views
msi installer when using build events in Visual Studio 2017
I installed the Visual Studio 2017 Installer and added an installer project to my solution.
When I'm building my main project, I'm using post build events to create a Production directory (in which ...
4
votes
1
answer
193
views
Running application from setup project not returning UI culture
I created a localized wpf apllication. To install the application in the system I used msi installer provided by visual studio. Upon completion of the installation i run the application by running the ...
2
votes
2
answers
2k
views
Create MSI and Enforce All Users with Visual Studio
I have created an installer using Visual Studio 2015 (with the Visual Studio installer addon). The goal is to always run the APP with the same local resources, regardless of who is logged on, ...
0
votes
2
answers
130
views
Outlook Addin MSI installer copies file in C:\
I've developed an Outlook addin that perfectly works with my outlook. I used our organizational code signing cert and used ClickOnce. Now I want to deploy it on a small group of machines (piloting). I ...
0
votes
1
answer
2k
views
Creating Exe/MSI for C# Windows Forms using Visual Studio 2017 Setup Project
I'm trying to create exe/msi for my solution
it contains the following Projects
ActiveDirectoryEngine: library used to implement AD operations
ADService: windows service - performs the work in the ...
3
votes
1
answer
3k
views
Windows installer using the NT AUTHORITY\SYSTEM instead of login user
I have a windows installer, which is creating a database as a part of the installation process. While installing the application CREATE DATABASE process is failing because the windows installer using ...
0
votes
1
answer
2k
views
Visual Studio 2017 C# installer project is not installing my app
I have been having troubles with this, hope you can help, I have developed an app using c#, now it's time to deploy, I have recently installed the plugin to create an installer project in my solution, ...
2
votes
1
answer
6k
views
Changing the Installation Path (Application Folder) in Visual studio installer
I want to add a dialog which will be a Text-box, user will write something
in that (like client Name - Nike) which will mandatory to fill and then i
want to use that value in Application Folder . Ex - ...