visual-studio-setup-proje

Windows installer using the NT AUTHORITY\\SYSTEM instead of login user

為{幸葍}努か 提交于 2019-12-02 04:41:40
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 a wrong user. It is using NT AUTHORITY\SYSTEM instead of using the login user. NT AUTHORITY\SYSTEM user does not have permission to create a database. Is there any way to force the installer to use the login user? Using Windows 10 environment with VS 2017 and MS Visual Studio 2017 Installer Projects. The short answer is that you can't do this in a Visual Studio setup that is an InstallAllUsers

How to create a msi file for a Visual Studio 2010 solution w/o Visual Studio 2010?

ぐ巨炮叔叔 提交于 2019-12-01 12:57:55
问题 We have an old Visual Studio 2010 windows forms application, inside it has a Setup project to create the msi file. This is the command we call in Jenkins: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" "%WORKSAPCE%\RepoManager-v3-TIB3-dev\RepoManager.sln" /build "Release|x86" Now we only have VS 2013 installed on the build server. We can build the solution using 2013 like this, but the msi file is not created. We know it's no longer supported. "C:\Program Files

How can I configure what .NET version should be installed by windows installer in VS 2017

丶灬走出姿态 提交于 2019-11-29 17:04:18
Currently I am working on a project that needs .NET 4.0 to work properly but when I configure the windows installer and try to install it is trying to install the latest version of .NET. So how can I configure the windows installer to install the .NET version on which the project was created. Also I would like to know how to include the Visual C++ Redistributable in my installer. When you create a setup project and add primary output of a project to the setup project, the setup project automatically detect dependencies including Microsoft .Net Framework . To see if the detected dependency is

Create MSI and Enforce All Users with Visual Studio

一世执手 提交于 2019-11-28 14:20:32
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, therefore we target [CommonAppDataFolder] (C:\ProgramData... on Win10). The installer works just fine placing all shared resources where we want them. But the generated MSI provides the option to install as "everyone" or just the "just me" We want to grey out the option to install as "just me". Is there a way to do this from within Visual Studio as part of the build process for the MSI. I see some

How can I configure what .NET version should be installed by windows installer in VS 2017

风流意气都作罢 提交于 2019-11-28 11:23:51
问题 Currently I am working on a project that needs .NET 4.0 to work properly but when I configure the windows installer and try to install it is trying to install the latest version of .NET. So how can I configure the windows installer to install the .NET version on which the project was created. Also I would like to know how to include the Visual C++ Redistributable in my installer. 回答1: When you create a setup project and add primary output of a project to the setup project, the setup project

Prerequisites button disabled - MSI installer

旧城冷巷雨未停 提交于 2019-11-27 16:27:49
I have created an .msi installer. I want to further add prerequisites (such as .Net) but when I go to Setup Project properties, the Prerequisites button is disabled. How do I enable it? Other details: I'm using VS 2015, SQL Server 2008 R2, .Net 4.5.2, C#, WinForms, Win 10 Pro x64 My setup project is in the same solution as the main project Prerequisities in Visual Studio Projects In Configuration at the top of the dialog, did you try to select either Release or Debug ? That should enable the Prerequisites... button. Unecessary, outdated prerequisites? One pet-peeve of mine : is it really

Create MSI and Enforce All Users with Visual Studio

我是研究僧i 提交于 2019-11-27 08:47:29
问题 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, therefore we target [CommonAppDataFolder] (C:\ProgramData... on Win10). The installer works just fine placing all shared resources where we want them. But the generated MSI provides the option to install as "everyone" or just the "just me" We want to grey out the option to install as "just me". Is there

In-use files not updated by MSI-installer (Visual Studio Installer project)

折月煮酒 提交于 2019-11-27 05:41:28
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 installing a new version of my software, the open files are not overwritten, and very little to nothing is actually updated (although there are no installer-errors). I've found that using the installer project's "Custom Actions" to run a script that closes the application doesn't help, as none of the actions are called before the files are replaced. Is there a good way to make sure the open/locked

Visual Studio 2017 setup project missing

江枫思渺然 提交于 2019-11-27 02:04:00
问题 Anyone know where the elusive setup project template went to for Visual Studio 2017? Trying to update VS2015 setup projects, but their setup projects are not supported and MS has no information I can find (I followed every link in their forums from the IDE for the last 5 hours, but they take me to old pages!). InstallShield is nowhere to be found & ClickOnce is still not an option. 回答1: Full explained and working solution: 1) open vs2017 and select "Tools" -> "Extensions and Updates" 2) Under

Prerequisites button disabled - MSI installer

拥有回忆 提交于 2019-11-26 18:38:23
问题 I have created an .msi installer. I want to further add prerequisites (such as .Net) but when I go to Setup Project properties, the Prerequisites button is disabled. How do I enable it? Other details: I'm using VS 2015, SQL Server 2008 R2, .Net 4.5.2, C#, WinForms, Win 10 Pro x64 My setup project is in the same solution as the main project 回答1: Prerequisities in Visual Studio Projects In Configuration at the top of the dialog, did you try to select either Release or Debug ? That should enable