I don't think compiling those will work, From PS2exe's site: Therefore the EXE file is*not* a real “standalone” EXE file. It needs PowerShell to be installed!!! And – of course – it needs .NET Framework v2.0. Furthermore “script execution” have to be allowed (see cmdlet: set-execultionpolicy). – The resulting EXE is “MSIL” and is able to execute as x64 or x86.
On Mon, Jul 28, 2014 at 11:01 AM, Daniel Ratliff <[email protected]> wrote: > PS2EXE works pretty well. It’s a powershell wrapper for a powershell > script. I think it uses c# to compile. > > > > http://ps2exe.codeplex.com/ > > > > The biggest issue I see on the target machines is the PowerShell version > level, depending on what needs to be done. > > > > Any XP machines with no PowerShell? If the environment is Win7 or higher > you are golden. > > > > *Daniel Ratliff* > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Nash Pherson > *Sent:* Monday, July 28, 2014 11:55 AM > > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > > . You simply call > > > > Trevor – He isn’t the one calling it, the end user is. He needs a > packaged application to distribute so the user ran just download the binary > and double click on it. These are not managed computers. > > > > > > > > > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Trevor Sullivan > *Sent:* Monday, July 28, 2014 10:51 AM > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > Nash, > > > > Script execution policy is a non-issue. You simply call (from a batch > wrapper): > > > > powershell.exe -ExecutionPolicy Bypass -File "%~dp0%\MyScriptFile.ps1"; > > > > Cheers, > > Trevor Sullivan > > Microsoft PowerShell MVP > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Brandon Linton > *Sent:* Monday, July 28, 2014 10:46 AM > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > That makes more sense but I wouldn’t completely agree that Powershell > still isn’t a good fit depending on his needs. Powershell DSC is very > powerful and if done properly the user wouldn’t even know he was working > with any scripts etc… > > > > http://technet.microsoft.com/en-us/library/dn249912.aspx > > > > *Thanks,* > > *Brandon A. Linton* | Sr. Consultant | [email protected] | Work > 484.323.7205 > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Nash Pherson > *Sent:* Monday, July 28, 2014 11:42 AM > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > > make available for download to our customers (outside of ConfigMgr), > > > Mike is trying to make a software package for people to install on their > own machines which are not managed by the organization. > > > > > PowerShell is free and built-in. > > > > As these are not managed devices, having end users deal with script > execution policies seems like a bad idea, and spending money on a public > cert seems like moving in the wrong direction. > > > > > > Mike – I’d give the trial with Advanced Installer a shot. For what you > need, I think it is the right features/price. If it doesn’t work for you, > Flexera offers a trial as well, but that is much more expensive and has a > lot that you don’t need. > > > > I hope that helps, > > > > > > Nash > > > > > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Brandon Linton > *Sent:* Monday, July 28, 2014 10:36 AM > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > Even more so I am confused as this is built in to ConfigMgr 2012 in the > Application Model. Why would you not want to use that assuming CM12? But > yes to Trevor’s point Powershell works well for this as well. > > > > *Thanks,* > > *Brandon A. Linton* | Sr. Consultant | [email protected] | Work > 484.323.7205 > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Trevor Sullivan > *Sent:* Monday, July 28, 2014 11:33 AM > *To:* [email protected] > *Subject:* RE: [mssms] OT: Need a software packing app > > > > PowerShell is free and built-in. > > > > Cheers, > > Trevor Sullivan > > Microsoft PowerShell MVP > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *Murray, Mike > *Sent:* Monday, July 28, 2014 10:08 AM > *To:* [email protected] > *Subject:* [mssms] OT: Need a software packing app > > > > Hey folks, > > > > We have an application we want to make available for download to our > customers (outside of ConfigMgr), but it requires another app to be > installed along with it (the installer would check to see if app A exists > already, if not, it would install it). I’m looking for an easy packager app > that can handle prerequisites, and is fairly inexpensive/cheap. I’m looking > at Advanced Installer, I think the Professional license should cover what > we need. > > > > Any other suggestions? > > > > > > Best Regards, > > > > Mike Murray > > Desktop Management Coordinator - IT Support Services > > California State University, Chico > > 530.898.4357 > [email protected] > > > > > > > > > > > > > > > > > > The information transmitted is intended only for the person or entity to > which it is addressed > and may contain CONFIDENTIAL material. If you receive this > material/information in error, > please contact the sender and delete or destroy the material/information. > >

