How to avoid the “Windows Defender SmartScreen prevented an unrecognized app from starting warning”

TL;DR This warning is shown if your app doesn’t have enough reputation with Microsoft SmartScreen yet. In order to gain reputation, you can either submit your app for malware analysis to Microsoft, buy an “Extended Validation” code signing certificate, buy a standard code signing certificate, or just wait for a long time. Read on for … Read more

An error occurred while validating. HRESULT = ‘8000000A’

Update for those who got this issue for VS2013 or VS2015 after upgrading a VS200X setup project using the Microsoft Visual Studio Installer Projects extension. Following the recipe for v1.0.0.0 from MS finally made it work for me: Microsoft Visual Studio Installer Projects Unfortunately we couldn’t address all cases of the command line issue for … Read more

Create MSI or setup project with Visual Studio 2012

Please see: Visual Studio setup projects (vdproj) will not ship with future versions of VS Windows Installer Deployment It was announced 1 1/2 years ago that the project types were being killed. Alternatives are: Use A VS2008/2010 Solution to build your installer Switch to another tool such as InstallShield or Windows Installer XML

How to create an installer for a .net Windows Service using Visual Studio

In the service project do the following: In the solution explorer double click your services .cs file. It should bring up a screen that is all gray and talks about dragging stuff from the toolbox. Then right click on the gray area and select add installer. This will add an installer project file to your … Read more

How to add a WiX custom action that happens only on uninstall (via MSI)?

EDIT: Perhaps look at the answer currently immediately below. This topic has been a headache for long time. I finally figured it out. There are some solutions online, but none of them really works. And of course there is no documentation. So in the chart below there are several properties that are suggested to use … Read more

What are the specific differences between .msi and setup.exe file?

An MSI is a Windows Installer database. Windows Installer (a service installed with Windows) uses this to install software on your system (i.e. copy files, set registry values, etc…). A setup.exe may either be a bootstrapper or a non-msi installer. A non-msi installer will extract the installation resources from itself and manage their installation directly. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)