Class to create auto instalable windows app and console app in .NET