title: The path of APPDIR in RemoveExistingProducts action is wrong and the sequence failed with error 1606
body: <p>I use Advanced Installer to create an update package for my application.</p>
  
  <p>At the Installation Execution Stage, I have these sequence :</p>
  
  <p><a href="https://i.stack.imgur.com/jGl7y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jGl7y.png" alt="enter image description here"></a></p>
  
  <ol>
  <li>I have PreserveInstallType_1 </li>
  <li>Searches which search some XML properties in config file. </li>
  <li>Custom actions : SetPropertyAPPDIR_1, SetPropertyAPPDATA_1, SetPropertyDOCS_1. It set the properties APPDIR, APPDATA and an other DOCS with the good path. </li>
  <li>Next, we can see Path Resolution sequence. </li>
  <li>Next it's the Preparing sequence. In this sequence we have RemoveExistingProducts and I think it's this action which failed.</li>
  </ol>
  
  <p>Indeed, I look the logs file and I can see the good path in APPDIR and TARGETDIR just before RemoveExistingProducts. There are a path like C:\Program Files (x86)...
  But in the RemoveExistingProducts a SET_APPDIR is done and a wrong value is set (it's the ProductName not a path).</p>
  
  <p>I don't know where this value come from and i check my path just before this sequence.</p>
  
  <p>Why in RemoveExistingProducts the SET_APPDIR action doesn't give the good path to APPDIR ?</p>
  
  <p>There is a way to set the APPDIR with custom action or other in this action ?</p>
  
  <p>Thank you for your help, currently i'm blocked.</p>