title: Creating a selfextracting executable which will copy itself to temp directory on Windows and launch itself
body: <p>I want to distribute a setup in a self extracting executable form. I want to pack versions for 32 bit and 64 windows. So I have a program which first checks the version of Windows OS running and then launches the correct program. SO I have a directory structure like this</p>
  
  <pre><code>DetermineOS.exe
  Win32\Win32Setup.exe
  Win32\supporting win32 files
  Win64\Win64Setup.exe
  Win64\Supporting win64 files
  </code></pre>
  
  <p>I want to pack them in a bundle called something like install.exe. When the user clicks install.exe it will  extract this directory structure to the temp location and launch DetermineOS.exe which will then launch the correct setup.exe</p>
  
  <p>Will NSIS be the easiest way to go? Would this be a compicated NSIS script? Thanks. </p>