title: InnoSetup making {app} dir for install.log
body: <p>I need to create an install.log of the selected components in the install destination folder ({app}) but I'm getting in issue when i run that installer that says "File does not exist C:/tmp/exe/install.log" I'm assuming that means it has not created the dir "exe" yet. How can i circumvent this? </p>
  
  <pre><code>procedure CurStepChanged(CurStep: TSetupStep);
  var
    I: Integer;
    LogList: TStringList;
  begin
    if CurStep = ssInstall then
    begin
      LogList := TStringList.Create;
      try
        LogList.Add('Selected components:');
        for I := 0 to WizardForm.ComponentsList.Items.Count - 1 do
          if WizardForm.ComponentsList.Checked[I] then
            LogList.Add('Component: ' + WizardForm.ComponentsList.ItemCaption[I]);
  
        LogList.SaveToFile(ExpandConstant('{app}\install.log'));
      finally
        LogList.Free;
      end;
    end;
  end;
  </code></pre>