Search found 7379 matches

by Alexander Riedel
Sun May 31, 2020 1:32 pm
Forum: PowerShell GUIs
Topic: 5.7.178 doubles exe size when compiled
Replies: 6
Views: 401

Re: 5.7.178 doubles exe size when compiled

Pretty straight forward. A very basic script packaged with your settings amounts to just 303 kb. So the rest comes from your script, the embedded retrieval data, icon, digital signatures and time stamps etc. It is possible that your script is now internally converted to unicode (UTF-16-LE), which wo...
by Alexander Riedel
Sun May 31, 2020 11:36 am
Forum: PowerShell GUIs
Topic: 5.7.178 doubles exe size when compiled
Replies: 6
Views: 401

Re: 5.7.178 doubles exe size when compiled

Without knowing what you packaged and what options you selected that is not possible to answer. Please post the .psbuild file or at least mention the build options selected.
by Alexander Riedel
Fri May 29, 2020 1:46 pm
Forum: PowerShell GUIs
Topic: Is it possible to change the color of a Title bar in a Form?
Replies: 3
Views: 242

Re: Is it possible to change the color of a Title bar in a Form?

PowerShell Studio (and other products) use a highly sophisticated user interface library which overrides the non-client area drawing code with its own code. You cannot really compare a commercial C# or C++ application to a PowerShell script. Short of using C# and some UI Lib or using C/C++ and doing...
by Alexander Riedel
Wed May 27, 2020 8:56 am
Forum: PowerShell Studio
Topic: elevated administrator powershell: started software = black window
Replies: 5
Views: 440

Re: elevated administrator powershell: started software = black window

It is an effect of a .NET Framework bug. To make a long story short, the starter app loads the .NET framework. The launches itself as another user. Then it launches msiexec in your case elevated. The .net framework attempts to share itself across the three processes but collides with the different s...
by Alexander Riedel
Sat May 23, 2020 7:59 pm
Forum: Customer Service
Topic: Converting EXE back to PS1 file - Powershell Studio
Replies: 1
Views: 369

Re: Converting EXE back to PS1 file - Powershell Studio

Unfortunately we cannot provide source code to anyone who does not have a current license for the product used to package the script. Source code, if retrievable, can only be provided to the licensed user of the software the package was created with. If you have a current license, please make sure y...
by Alexander Riedel
Thu May 21, 2020 2:58 pm
Forum: PrimalScript
Topic: Convert cmd to exe
Replies: 8
Views: 568

Re: Convert cmd to exe

Well, you are packaging, so you wouldn't look at any of the installer settings. So focus on the pages under packager. You need to decide if you want 32 or 64 bit or both, that would be that combo box where it says Target. The CMD engine is under 'Other'. Click around, its not complicated. Under outp...
by Alexander Riedel
Thu May 21, 2020 1:25 pm
Forum: PrimalScript
Topic: Convert cmd to exe
Replies: 8
Views: 568

Re: Convert cmd to exe

Well, yeah, it doesn't know yet what you want to do. Click on Packager -> Settings.
by Alexander Riedel
Thu May 21, 2020 12:48 pm
Forum: PrimalScript
Topic: Convert cmd to exe
Replies: 8
Views: 568

Re: Convert cmd to exe

You only need that if you have a virtual machine, or at least if it thinks you do.
Without knowing what you see....
by Alexander Riedel
Thu May 21, 2020 12:47 pm
Forum: PrimalScript
Topic: Convert cmd to exe
Replies: 8
Views: 568

Re: Convert cmd to exe

2020-05-21_12-46-09.jpg
2020-05-21_12-46-09.jpg (127.78 KiB) Viewed 553 times
by Alexander Riedel
Thu May 21, 2020 10:27 am
Forum: PrimalScript
Topic: Convert cmd to exe
Replies: 8
Views: 568

Re: Convert cmd to exe

Attached is a zip file with a packaged CMD file. It contains @echo off REM ====================================================================== REM REM Batch File -- Created with SAPIEN Technologies PrimalScript 2020 REM REM NAME: REM REM AUTHOR: alexr@sapien.com , REM DATE : 5/21/2020 REM REM COM...