I am using Visual Studio Community 2017 and want to include TeamViewer.exe or any other .exe file in project setup file as prerequisite.
When installing my setup file,it should check whether TeamViewer is installed on client machine or not.
if TeamViewer is not installed on client machine,then it should automatically install with my setup.
Related
When I develop a web application via Visual Studio 2013 (version 12.0.21005) and compile/build and run locally (Citrix Desktop) it works fine. However, when the same project is built in our BUILD server it fails with the following error.
"error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found."
Looking at the build server (under C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio folder) I can find that there are v10.0 and v14.0 installed.
What instructs the system to look for v11.0 when other versions are avaiable on the server. is there some setting on the csproj or the solution file (as my WindowsForms based projects compile fine in the BUILD server)
Unfortunately I do not have the rights to install MSBUID in either the Citrix Desktop or the Build Server
Logged into the servers to find the available build versions
Found the answer in the following post.
https://devblogs.microsoft.com/aspnet/visual-studio-project-compatibility-and-visualstudioversion/
Als refer to https://en.wikipedia.org/wiki/MSBuild for version history
I did a project and I used Visual Studio 2017 (Microsoft .NET Framework 4.6.1) - (Windows Form Applications) and SQL Server 2012 Express LocalDB for database operations.
I will run this project on clients' computers. As you can imagine, customers are not interested in database, software, etc. For this purpose, without making any installation on their computers, I'll just make the project work by giving the project file. This is my FIRST comprehensive project.
When I choose deployment attributes in "publish", "prerequisities" I ticked "Microsoft .NET Framework 4.6.1 (x86 and x64) and SQL Server 2012 Express LocalDB and I published it with "Download prerequisites from the component vendor's web site.". I test my software and it works fine.
But when I choose "Download prerequisites from the same location as my application", it fails. I researched it on internet but I couldn't find any clear information. I want the user to download the prerequisites from my software file, so I want to choose "Download prerequisites from the same location as my application". I have "SqlCmdLnUtils.msi", "SqlLocalDB.msi", "sqlncli.msi" for both x86 and x64, and I have "NDP461-KB3102436-x86-x64-AllOS-ENU". I think I need to add the installers on my own computer to be able to do "Download prerequisites from the same location as my application".
But I don't know where I should add these installers in "C: \ Program Files (x86) \ Microsoft SDKs" or "C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ SDK".
You are right, you have to download the packages first on your development computer.
By default, the path is %ProgramFiles(x86)%\Microsoft SDKs\ClickOnce Bootstrapper\Packages\
All the steps that are necessary to offer prerequisites from the same location as your application are described here.
I am Working on Windows Application (VS 2013) . I am using Installshield 2015 Limited Edition for Setup. I want to install a certificate when the setup file is installed or executed i.e , In installshield setup, Adding a Vbscript and Exe file(to install certificate) in "Custom Action During Installation", adding those file again in "Custom Action During Maintaenance" .
But Custom Actions are not working.
Note: Since this was not working, installing certificate I am doing this in the code, which I am not supposed to do.
Can anyone please help me on this?
I developed a Window Service which is running successfully(tested using Developer Command Prompt for VS 2015) on my local machine because I have Visual Studio 2015 installed. My machine is a development Server.
After successfully tested it on my machine, I tried to install the same process using installutil.exe.But, I think, this exe is not present on my Window Production server because VS 2015 is not installed on production server? I have IIS installed and my website is deployed there and working fine. I found that there is no Developer Command Prompt for VS 2015 on production server
Do I need any other way to install Window Server on my Production Server?
InstallUtil is a developer tool, so it is not present on most machines without Visual Studio. Besides creating a full blown MSI installer, you can implement a self-install that behaves like installutil. An alternative to implementing this yourself is to build your service using Topshelf because it includes this self-install functionality.
I have a class library project done in visual studio 2012.
When building this project, a dll is generated.
This dll is deployed in a machine that is in the local network and is consumed by an application that I have no control (third-party).
Is there any way to debug this dll remotely with visual studio 2012?
For example: Attach the dll and await a call to them from the third-party application, then debug.
Download and install the Visual Studio remote tools on the machine that you are deploying to. https://www.microsoft.com/en-gb/download/details.aspx?id=38184
Run that program on the remote computer
Then launch you visual studio select Debug -> Attach to process -> Choose "Remote" for the transport option and enter the ipaddress or hostname for the qualifier.
All the processes should be listed for the remote machine. Choose the process which is loading your DLL. When the remote program uses your dll then your breakpoints will be hit.
If you receive any errors when attempting to attach to the remote machine your first step should be to restart visual studio. It always breaks for me and restarting visual studio fixes it.