visual-studio-setup

Visual Studio Setup project set install location

有些话、适合烂在心里 提交于 2020-01-06 18:41:32
问题 I am using visual studio setup project extension for build setup package for my application. I have removed the Install Location Select Interface and instead application should be installed to the location i have preset. At the moment application install location is set by Right-click on Application Folder in File system UI and set the DefaultLocation value as [ProgramFilesFolder][Manufacturer]\[ProductName] . It is installing to ProgramFiles(X86) folder. I want to install the application

how can get the path from installer and how set in my app?

好久不见. 提交于 2019-12-22 09:56:45
问题 i am writing a win app and now i want to make setup for my app,my code is: Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\Cu­rrentVersion\Run"); rk.SetValue("MyAppName", @"C:\WhereMyAppIs\MyApp.exe"); now how can get the path from installer to set it??? thanks. 回答1: If you use Visual Studio, you can right click on the setup project -> View -> Registry and then set the registry key you like. Check out this sites: msi - Set

How do I set the default browser in Visual Studio 2017?

泪湿孤枕 提交于 2019-12-13 09:23:08
问题 I don't have the stupid Browse With, and every time i figure out where it's out it only gives me options for Internet Explorer... It doesn't give me an option to change the browser... Strange enough I've already removed Internet Explorer from my PC... How is it still using it... 回答1: Try this out First you have to install google chrome Then go to visual studio and you can see a attach button with combo on the top of the window Click the combo to select the browser You can see a window of

Error updating Visual Studio 2017 15.6.2

牧云@^-^@ 提交于 2019-12-10 21:48:00
问题 I was trying to update VS 2017 to 15.6.2 version. As usual VS asked me to update the Installer. But the Installer updating failed and now, when I try to launch the VS updating again, I get this error message: Error loading vs_installershell.exe: No signature was present in the subject. Anyone has ever seen this before? Any help will be appreciated. 回答1: Microsoft recommends the following procedure in this case: Close the Visual Studio Installer. Delete the Visual Studio Installer directory.

how can get the path from installer and how set in my app?

让人想犯罪 __ 提交于 2019-12-06 02:50:36
i am writing a win app and now i want to make setup for my app,my code is: Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\Cu­rrentVersion\Run"); rk.SetValue("MyAppName", @"C:\WhereMyAppIs\MyApp.exe"); now how can get the path from installer to set it??? thanks. swissben If you use Visual Studio, you can right click on the setup project -> View -> Registry and then set the registry key you like. Check out this sites: msi - Set InstallPath registry key Registry Settings Management (MSDN) If it was installed using Windows Installer (

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

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

巧了我就是萌 提交于 2019-11-26 11:42:34
问题 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