title: Is there alternative way to access session details in deferred custom action?
body: <p>I have a custom action and need to get below values for copying some parts from installation folder to VS2010 folder</p>
  
  <ol>
  <li>VS2010 directory path (<code>VS2010DEVENV</code> property)</li>
  <li>Installation path (<code>INSTALLLOCATION</code> property)</li>
  </ol>
  
  <p>To give enough privileges, I've set custom action as <code>Execute='deferred' Impersonate='no'</code>. But when running the installer, it logged the message: </p>
  
  <blockquote>
    <p>Cannot access session details from a non-immediate custom action</p>
  </blockquote>
  
  <p>It seems we cannot access a property in a "deferred" custom action (i.e <code>session["VS2010DEVENV"]</code>)</p>
  
  <p>Is there any other way so that I can retrieve those values as needed?</p>