title: Installing an exe with Powershell DSC Package resource gets return code 1619
body: <p>I'm trying to use Powershell DSC's Package resource to install an exe... Perforce's P4V to be specific. Here's my code:</p>
  
  <pre><code>Configuration PerforceMachine
  {
      Node "SERVERNAME"
      {
          Package P4V
          {
              Ensure = "Present"
              Name = "Perforce Visual Components"
              Path = "\\nas\share\p4vinst64.exe"
              ProductId = ''
              Arguments = "/S /V/qn" # args for silent mode
              LogPath = "$env:ProgramData\p4v_install.log"
          }
      }
  }
  </code></pre>
  
  <p>When running this, this is the error Powershell gives me:</p>
  
  <pre><code>PowerShell provider MSFT_PackageResource failed to execute Set-TargetResource functionality with error message: The return code 1619 was not expected. Configuration is likely not
  correct
      + CategoryInfo          : InvalidOperation: (:) [], CimException
      + FullyQualifiedErrorId : ProviderOperationExecutionFailure
      + PSComputerName        : SERVERNAME
  </code></pre>
  
  <p>According to <a href="http://support.microsoft.com/kb/290158">documentation</a>, return code 1619 means the MSI package couldn't be opened. However, when I manually log in to the machine and run "<strong>\\nas\share\p4vinst64.exe /S /V/qn</strong>", the install works flawlessly.</p>
  
  <p>Does anyone know why this is failing? Alternately, can anyone tell me how to troubleshoot this? I pasted all the error information I got from the terminal, my log file (p4v_install.log) is a 0 byte file, and there are no events in the event viewer. I don't know how to troubleshoot it any further!</p>
  
  <p><strong>EDIT</strong>: I should note that I also tried using the File resource to copy the file locally, and then install it from there. Sadly, that met with the same result.</p>