It's a matter of using proper installation toolkit. For Microsoft OS, the most legitimate and reasonable is WiX; in this product, this is a standard element:
Permission Element,
see also:
WiX — Wikipedia, the free encyclopedia,
WiX Toolset.
However, you should not touch the
Program Files
directory. This is not a legitimate action for an installer.
—SA