title: Inno Installer - Why does it modify exe properties to require admin privileges and XP compatibility mode
body: <p>An installation kit built with Inno installs two EXE files.  After installation, one file requires only normal user privileges.  The second file is marked with properties which require Admin privilges and XP compatibility mode.</p>
  <p>The original EXE files have no visible properties set which would require Admin privileges or XP compatibility mode, and run fine on a Windows 7 box in normal user mode.  The second file was originally compiled on an XP system - but seems to run correctly when I copy it (without the installer) to the Windows 7 system.</p>
  <p>When the installer script specifies &quot;PrivilegesRequired=none&quot;, I still get a modified icon with the &quot;Admin Privilege Required&quot; marker and a file property set to &quot;disable visual themes&quot; for the installed EXE file.</p>
  <p>The Inno version is 5.5.0(a)</p>
  <p>How to I get the installer to copy the EXE files without changing their properties?</p>
  <pre><code>#define InstallRoot &quot;D:\InstallationSource\Tracker\&quot;
  #define AppRoot &quot;C:\Tracker\&quot;
  ......
  
  [Setup]
  ;directories
  SourceDir={#InstallRoot}
  DefaultDirName={#AppRoot}
  .......
  
  [Files]
  Source: &quot;*&quot;; DestDir: &quot;C:\Tracker\&quot;; Flags: recursesubdirs
  </code></pre>
  <p>The executables are in a &quot;bin&quot; subdirectory under the main application directory.</p>