title: How to pass (save) installation directory chosen while running installer (Inno Setup)
body: <p>I am using <a href="http://www.jrsoftware.org" rel="nofollow">Inno Setup</a> to make a setup.exe file for my Windows desktop application. It works well.</p>
  
  <p>One problem is:
  User is able to choose the installation directory while running the setup.exe.</p>
  
  <p>My Windows application should know that information to adjust its directory structure.</p>
  
  <p>Can you let me know how I can pass the selected installation directory into other outside file or registry?</p>