Find Microsoft Windows Installer 3.1 or later [duplicate] - c#

This question already has answers here:
How do I check if Windows Installer 3.1 or higher is installed?
(5 answers)
Closed 9 years ago.
How to find using C# Microsoft Windows Installer 3.1 or later is installed in machine?Can anyone help me how to do this using C#.
Thanks

You can check to see if this line returns a version number higher than "3.0.1" :
return System.Diagnostics.FileVersionInfo.GetVersionInfo(#"C:\Windows\System32\msi.dll").ProductVersion;

Related

How to install Windows.Security.Credentials; C# .NET VS 2017 [duplicate]

This question already has answers here:
How to access the stored credentials (PasswordVault?) on Win7 and Win8?
(3 answers)
Closed 5 years ago.
how do I install Windows.Security.Credentials into VS 2017? I've looked everywhere and i can't find a thing. I cant add it through 'add reference'.
Thanks for any help.
Windows.Security.Credentials class avilible only in WinRT based projects type. For example in WindowsRuntimeComponent. You can't access to it from WinForms or Console project.

Excel c# in computers Without visual basic [duplicate]

This question already has answers here:
How to use Microsoft.Office.Interop.Excel on a machine without installed MS Office?
(4 answers)
Closed 6 years ago.
i made a project in c# that use excel, in my computer and other computers with visual basic the project works but in other computer when i Click the buttom Who start Work with excel i get exeption.
Am i need to install some driver or something? Tnx
In Client system must have MS Office installed.

Can we install .exe file generated by a C# console app? if yes, how? [duplicate]

This question already has answers here:
C# console app deployment
(7 answers)
Closed 6 years ago.
Can we install .exe release file generated by a C# console app? if yes, how?
The answer is no. The generated exe file just runs the console application. If you want to create an installer, I suggest researching Wix.

Converting project to.net 4.5.1 [duplicate]

This question already has answers here:
How do I change the .Net Framework from version 3.5 to version 4.0
(5 answers)
Closed 8 years ago.
I am working on a solution which contains multiple projects. it's working on .net version 4.5 and now my PM asked me to convert the solution to .net 4.5.1 and merge it back into the source code. can any one help me how to covert the my current solution into .net 4.5.1
Go into the properties window for each project and change the Target Framework to 4.5.1.

Sample code for Subversion [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Does anyone know of a good C# API for Subversion?
Can anyone point to me the starting point for Subversion using C# APIs
Have you looked at SharpSVN. It's an open-source binding of the Subversion Client API for .Net 2.0

Categories