title: Inno Setup default install folder change
body: <p>Every time I compile my installer the default installation directory is C:\Program Files\Company\Product and I don't seem to be able to change it. Here's what I got under Setup:</p>
  
  <pre><code>[Setup]
  AppName=MyProduct
  AppVerName=MyProduct
  AppPublisher=Company
  DefaultDirName=C:\MyStuff\Company\MyProduct
  DefaultGroupName=Company\MyProduct
  UninstallDisplayIcon={app}\MyProduct.exe
  UninstallDisplayName=MyProduct Uninstall
  PrivilegesRequired=poweruser
  OutputDir=userdocs:Inno Setup Examples Output
  OutputBaseFilename=Setup
  DisableDirPage=false
  DisableProgramGroupPage=true
  VersionInfoCompany=Company Inc
  VersionInfoProductName=MyProduct
  AllowUNCPath=false
  </code></pre>
  
  <p>Based on the documentations, DefaultDirName should dictate the default install folder. But it doesn't.</p>
  
  <p>My case in particular is that, I want to set the default install folder on x64 machines to C:\Program Files, but the installer always picks Program Files (x86) no matter what I put in the DefaultDirName.</p>