Editor: When building .NET applications and components you may come across the need for a basic setup.exe that will launch your msi file in a user friendly manner.
Users expect to find a 'setup.exe' to click on when they receive your product, but the only way to get this from a Visual Studio .NET deployment project is to allow it to include the installers for MSI itself. Since these total over 3.5MB you don't usually want to distribute them unless you have to.
Our Free Setup.exe app does the following:
* Automatically locates any msi file in the same folder as itself (limitation: it will use the first one returned by the FindFirstFile API call)
* Checks that the Windows Installer is present before trying to open the msi file, and presents a user friendly message if it isn't, directing the user to the Microsoft Downloads site
* Reads the MSI Title from the package and presents a confirmation dialog like: 'This setup routine will install the following program: XYZ Product. Are you sure you want to continue?'. The MSI Title corresponds to the Title property of the Deployment Project in VS.NET
* Launches MSIExec to process the msi file