Questions tagged [visual-studio-setup]

Use this tag to ask questions related to visual studio project setup.

40 questions
8
votes
2 answers

Building Visual Studio Setup/Deploy project asks to install 2010 shell integrated

For the first time I'm creating Visual Studio Setup and Deploy project in which points to a Windows Service that will run on our VPS. Usually I use CMD to start/stop the service but was ideally looking for a more robust approach. At the moment I'm…
7
votes
1 answer

How add value on hkey_classes_root key where the application installed

Solved!! I am trying to create a Custom URL Protocol of my application that will launch my application when they visit or clicked link to myapp:start My problem is how to know where the user installed my application. Can the msi installer put the…
4
votes
1 answer

Error updating Visual Studio 2017 15.6.2

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:…
4
votes
1 answer

Visual Studio Setup project set install location

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…
3
votes
2 answers

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

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",…
Farna
  • 1,157
  • 6
  • 26
  • 45
3
votes
2 answers

Visual Studio 2013 Installer Project can't save .vdproj file

I just downloaded and installed the Installer Projects extension for VS 2013 and tried to make a new .vdproj project. I created new "Hello World" console application project, then added a new Visual Studio Installer project to the solution, added…
B. Fuller
  • 157
  • 12
3
votes
1 answer

Setting a registry value based on dialog in a visual studio setup project

I have visual studio setup project with a custom RadioButtons dialog. How do I get it to write the value of the ButtonProperty in the registry after it is selected in the UI?
3
votes
2 answers

How do I detect dependencies and abort an install using Visual Studio Setup projct

I need to detect 2 conditions before installing and application using an installer created with visual studio 2010. Detect an existing application I need to not allow an app to install unless another application is already install. For example if…
kraftz
  • 51
  • 2
2
votes
0 answers

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 working well without any issue. When launching in my…
2
votes
2 answers

Visual Studio Setup Project installation kill existing process

I made a Visual studio setup project. I did the setup of my setup. Later this was born of a desire to make application to the Board to upgrade. When you do a new installation and need to install again the current running application kill. In the…
2
votes
1 answer

Where I can find the Property Pages of a project in VS studio in terms of a file on computer

In solution Explorer, If you right click on a project, at the bottom, There is an option ----> 'Properties' My question is, how do I find the 'Properties' page in terms of a file on computer? Because I want to compare the properties of different…
2
votes
1 answer

Visual Studio: SQL server object explorer error

I cannot figure out how to remedy this error when I select the SQL server object explorer. Could not load file or assembly 'Microsoft.Data.Tools.Schema.Utilities.Sql.11 Version=11.1.0.0 Culture=neutral, PublicKeyToken=**** or one of its…
Zach M.
  • 1,188
  • 7
  • 22
  • 46
1
vote
0 answers

Install driver inf from Visual Studio Setup project

So.. We have a C# utility application for a usb/serial device. I would like to install the driver during the setup process. I know there are lots of posts about this, and I've gone through many msdn and stackoverflow articles, but I just do not seem…
1
vote
2 answers

Visual Studio 2013 always starts with unwanted windows

Using VS 2013 Community Edition (yay!), whenever I start it it opens the Performance Explorer window, which I do not require. I opened it once, and it seems to have saved this layout as default. I have tried saving the setup without that window,…
Joel in Gö
  • 7,460
  • 9
  • 47
  • 77
1
vote
1 answer

How to RUN SCRIPT or EXE before installation begins on msi?

How to RUN SCRIPT or EXE before installation begins on msi? I am using Visual Studio 2010's setup project. I want to have the script or exe run, to exit the previous version of my application. I was looking on the CUSTOM ACTION but the exe will only…
1
2 3