title: How to convert a relative path to an absolute path in InstallShield?
body: <p>I have an IS project where I want to put some files under <code>TARGETDIR ^ ".." ^ "NewDir"</code>, and create the directory if it doesn't exist. The problem is that <code>CreateDir</code> requires an absolute path.</p>
  
  <p>I'm thinking of trimming the trailing "\" from <code>TARGETDIR</code> then using <code>ParsePath(svReturnString, szPath, PATH)</code> to drop the last directory off <code>TARGETDIR</code>, but that is very specific to my particular example. Is there a more general purpose way of converting from relative to absolute paths?</p>
  
  <p>Our installs default to <code>CompanyName\ProductName</code> so usually that will be <code>TARGETDIR</code>, but since products share resources we want to put common files in <code>CompanyName\Data</code>, <code>CompanyName\Log</code>, etc.</p>