Search found 7664 matches

by Alexander Riedel
Tue Apr 20, 2021 5:03 pm
Forum: PowerShell Studio
Topic: Auto-increment file version no longer working v5.8.188
Replies: 4
Views: 184

Re: Auto-increment file version no longer working v5.8.188

In September 2018 we added some macro expansion when packaging. It scrolled off the changelog by now. Add: Packager expands macros in code from packaging settings, current status: __PRODUCTVERSION__ __FILEVERSION__ __PRODUCTDESCRIPTION__ __PRODUCTNAME__ __COMPANY__ __COPYRIGHT__ __FILE__ __DATE__ __...
by Alexander Riedel
Mon Apr 19, 2021 8:49 am
Forum: Customer Service
Topic: You are attempting to launch a trial version on a virtual machine
Replies: 1
Views: 90

Re: You are attempting to launch a trial version on a virtual machine

Detecting a virtual machine is not an easy task. It happens that there are false positives. Our apologies if you encountered one of those.
Simply go your SAPIEN account page and get a VM Trial key.
Enter that as activation key along with your SAPIEN username and password and press "Start / Trial"
by Alexander Riedel
Fri Apr 16, 2021 8:53 am
Forum: Former and Future Customers - Questions
Topic: Make files and folder nonreadable to users after MSI install
Replies: 1
Views: 207

Re: Make files and folder nonreadable to users after MSI install

A folder and files from which you wish to execute code must be readable. If the OS cannot read a file, it cannot execute it. There really is no way around that. You didn't provide a lot of detail here, so there is some guesswork involved here. Renaming a .ps1 file to .xyz it does not make it any les...
by Alexander Riedel
Thu Apr 15, 2021 5:49 pm
Forum: PowerShell Studio
Topic: Unable to retrieve line number of exe from module
Replies: 4
Views: 1072

Re: Unable to retrieve line number of exe from module

I apologize, maybe my original answer was not verbose enough. When you package (it is not a compiler) with a SAPIEN Script Host, there is no script FILE. It is executed from memory. That's the point of it. Because there is no FILE, mechanisms like Get-PSCallStack don't work, because they assume that...
by Alexander Riedel
Tue Apr 13, 2021 10:37 am
Forum: PowerShell Studio
Topic: Unable to retrieve line number of exe from module
Replies: 4
Views: 1072

Re: Unable to retrieve line number of exe from module

Well, as there is no actual script really that is a little tough. I am not certain at this time if PowerShell can provide a location within a script block.
by Alexander Riedel
Tue Apr 13, 2021 10:32 am
Forum: PowerShell Studio
Topic: Is there a way to by default run as different user (NOT elevated)?
Replies: 5
Views: 979

Re: Is there a way to by default run as different user (NOT elevated)?

You can also package using RunAs. That does not imply admin.
2021-04-13_10-31-53.png
2021-04-13_10-31-53.png (18.48 KiB) Viewed 932 times
by Alexander Riedel
Tue Apr 13, 2021 10:27 am
Forum: PowerShell Studio
Topic: Is there a way to by default run as different user (NOT elevated)?
Replies: 5
Views: 979

Re: Is there a way to by default run as different user (NOT elevated)?

Create a starter app that prompts and then run the main process as required. Or create the shortcut on install.
Without knowing more about your getup it's a bit hard to tell.
by Alexander Riedel
Tue Apr 13, 2021 6:09 am
Forum: Customer Service
Topic: Unable to post in powershell forum
Replies: 3
Views: 163

Re: Unable to post in powershell forum

Please send the text you wanted to post to websupport@sapien.com
The SPAM plugin is probably overeager and needs to be adjusted.
We apologize for the inconvenience.
by Alexander Riedel
Mon Apr 12, 2021 2:33 pm
Forum: PowerShell Studio
Topic: Error with P/S7.1.3 (Forms) EXE's running "error executing script"
Replies: 7
Views: 1081

Re: Error with P/S7.1.3 (Forms) EXE's running "error executing script"

If you have PowerShell 7.1.3 itself installed, you do not need to install the 7.1.3 runtime.