PS2EXE Cannot Process Argument Transformation On Parameter LCID

IT Support Forum Forums Windows Windows 7 Troubleshooting PS2EXE Cannot Process Argument Transformation On Parameter LCID

Tagged: ,

Viewing 0 reply threads
  • Author
    Posts
    • #1021
      Webmaster
      Keymaster

      When trying to run the “createdemo.bat” file in PS2EXE, you get this error:

      ps2exe cannot process argument transformation on parameter lcid

      To fix this, forget the example batch file and go ahead and use this example to make an exe file from your PowerShell ps1 file:

      .\ps2exe.ps1 -inputfile C:\Temp\test.ps1 -outputfile C:\Temp\test.exe

      Implicitly, you have to navigate to the current directory containing PS2EXE’s ps2exe.ps1 script 😉

Viewing 0 reply threads
  • You must be logged in to reply to this topic.