puppetlabs/puppet_for_the_win — pull request #8 by jeffmccune (2012-02-10 23:55:24+00:00)
Title: Install to %PROGRAMFILES% by default

(#12561) Make %PROGRAMFILES% the default INSTALLDIR

It is a problem if we refuse to play nice with the Microsoft ecosystem.
The best practice for applications is to install into a vendor-specific
sub-directory of `%PROGRAMFILES%`.

This patch fixes this problem by making `%PROGRAMFILES%\Puppet
Labs\Puppet` the default installation directory for our package. This
follows Microsoft best practices and recommendations for application
developers.

This will usually be `C:\Program Files (x86)\Puppet Labs\Puppet` since
Ruby is a 32 bit executable.

The user sees this path reflected in the default destination directory
as per:

![Destination](http://links.puppetlabs.com/ftw_msi_120210_3d.png)

Also...

(#12570) Add run_{puppet,facter}_interactive batch files

Without this patch applied there is no easy way to run Puppet and
Facter from the desktop user interface. This is a problem because the
product is less usable for someone who is expecting a double click UI
and UX.

This patch helps address the problem by adding two batch files to run
Puppet and Facter interactively.

The batch files use a `PAUSE` statement to prevent the `cmd.exe` window
from flashing on the screen and vanishing before the user has a chance
to review the output.

![Run Facter Interactive](http://links.puppetlabs.com/ftw_msi_facter_interactive_1a.png)