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: ,

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 1 year, 11 months ago.

  • 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 😉

You must be logged in to reply to this topic.