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

How to install and start a Windows Service using WiX

The following code works for me… no need to prompt for username/password 🙂 <File Id=’JobServiceEXE’ Name=”JobService.exe” DiskId=’1′ Source=”JobService.exe” KeyPath=”yes”/> <ServiceInstall Id=”ServiceInstaller” Type=”ownProcess” Name=”JobService” DisplayName=”123 Co. JobService” Description=”Monitoring and management Jobs” Start=”auto” Account=”[SERVICEACCOUNT]” Password=”[SERVICEPASSWORD]” ErrorControl=”normal” /> <ServiceControl Id=”StartService” Start=”install” Stop=”both” Remove=”uninstall” Name=”JobService” Wait=”yes” /> </Component>

Install a Windows service using a Windows command prompt?

Navigate to the installutil.exe in your .net folder (for .net 4 it’s C:\Windows\Microsoft.NET\Framework\v4.0.30319 for example) and use it to install your service, like this: “C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe” “c:\myservice.exe” Regarding a comment, for 64bit apps, use below: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe

Start / Stop a Windows Service from a non-Administrator user account

Below I have put together everything I learned about Starting/Stopping a Windows Service from a non-Admin user account, if anyone needs to know. Primarily, there are two ways in which to Start / Stop a Windows Service. 1. Directly accessing the service through logon Windows user account. 2. Accessing the service through IIS using Network … Read more