• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Zaarin
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 36
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by Zaarin

    • RE: snappin doesn't work

      Hi,

      -programme is not an argument recognized by powershell executable.

      lebrun78 you wrote

      “I checked powershell.exe -ExecutionPolicy allsigned -File -ExecutionPolicy allsigned -File “P:\packages\audio video\vlc\inst_vlc.bat” on the client it works.”

      -File -ExecutionPolicy are defined twice, maybe it works but it’s not what you’re asking for. In your log, the plugin seems to run another command line because I see the -programme argument, please check your command line in the plugin.

      ++ Zaza.

      posted in FOG Problems
      ZaarinZ
      Zaarin
    • RE: snappin doesn't work

      OK. Je comprends mieux.

      But as Tom Elliott said, the ps1 must be here :

      09/02/2017 11:47 SnapinClient File: -ExecutionPolicy allsigned -File

      and I didn’t see it.

      posted in FOG Problems
      ZaarinZ
      Zaarin
    • RE: snappin doesn't work

      This line works, correct:

      powershell -ExecutionPolicy allsigned -File “C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”

      Not this one:

      powershell -ExecutionPolicy allsigned -File “fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”

      Because powershell is executed from another folder.

      The question is: which version is run by the snapin?

      An easy workaround is to compile ps1 into an exe.

      posted in FOG Problems
      ZaarinZ
      Zaarin
    • 1 / 1