title: How to get and set Environment System Variable using Windows WISE Installation Package
body: <p>Google searches have not produced something viable for me so I'm hoping someone here might have experience with this:</p>
  
  <p>We're trying to do the following with WISE Installation Studio:</p>
  
  <ol>
  <li><p>Does a certain environment system variable exist?</p>
  
  <p>a. If it does, get the value (It will be a file path in this case).</p>
  
  <p>b. If it doesn't, add the system variable. </p>
  
  <p>c. If adding the system variable determine what version of windows (32-bit/64-bit) is being used so we can use the <code>C:\Program Files\</code> or <code>C:\Program Files (x86)\</code> as the value. </p></li>
  </ol>
  
  <p>It seems like it's something fairly straight forward to do, but I'm having trouble figuring out how to do it. </p>
  
  <p>Any type of help would be greatly appreciated.</p>