Help making a .ps1 to .exe

Welcome Forums General PowerShell Q&A Help making a .ps1 to .exe

This topic contains 4 replies, has 2 voices, and was last updated by

 
Participant
2 years, 6 months ago.

  • Author
    Posts
  • #39183

    Participant
    Points: 0
    Rank: Member

    http://pastebin.com/raw/BsJDrkLm

    I have this code that make a GUI. I am trying to package it up as an executable, I used ps2exe and it is not working. I hoping some one can point me in the direction I need to be heading! Thanks in advance

  • #39186

    Participant
    Points: 26
    Rank: Member

    There are some commercial products that do this:

    Converting Scripts to EXEs


    https://www.sapien.com/software/powershell_studio

    Personally I've never had the need to do this, so I'm curious which error message you get?

  • #39188

    Participant
    Points: 0
    Rank: Member

    When I packaged with ps2exe, I get errors in cmd prompt and the form doens't open. The errors go by before I can see what they are. It is red text.

  • #39189

    Participant
    Points: 0
    Rank: Member

    awesome ISE Steroids worked great. Thanks for pointing me in the direction !!!!!!!!!!!!

  • #39190

    Participant
    Points: 26
    Rank: Member

    Great! Don't forget to buy this great piece of software. You'll make Tobias a happy man, and he can improve the software more. 🙂

The topic ‘Help making a .ps1 to .exe’ is closed to new replies.