Search found 149 matches

by clum09
Tue Sep 02, 2014 12:59 pm
Forum: PrimalScript
Topic: PrimalScript 2012 - Variable for debugger path
Replies: 1
Views: 1562

PrimalScript 2012 - Variable for debugger path

Hello,

I am wondering whether there is a built-in variable within PrimalScript 2012 or 2014 that points to the SAPIEN Debogger path just like the following.

C:\Program Files (x86)\Common Files\SAPIEN Debugger 2012 (or 2014)

If there is one, what is the variable name?

Thanks.
by clum09
Wed Aug 27, 2014 11:44 am
Forum: PrimalScript
Topic: PrimalScript 2014 - PowerShell V3 Packger Error
Replies: 7
Views: 4308

Re: PrimalScript 2014 - PowerShell V3 Packger Error

Thank you for the information.

By the way, this behavior also happens with Power Studio 2014 - exactly the same issue with SAPIEN PowerShell V3 Host (Command line) x64 platform packager.
by clum09
Fri Aug 22, 2014 4:19 pm
Forum: PrimalScript
Topic: PrimalScript 2014 - PowerShell V3 Packger Error
Replies: 7
Views: 4308

Re: PrimalScript 2014 - PowerShell V3 Packger Error

Alex, This command (Stop-Computer -Force) was launched in PowerShell V3 packaged script within an Administrator console's command prompt window. What other elevated privilege can it be above an Administrator console? When I just launched this cmdlet in the Administrator PowerShell console without a ...
by clum09
Fri Aug 22, 2014 12:44 pm
Forum: PrimalScript
Topic: PrimalScript 2014 - PowerShell V3 Packger Error
Replies: 7
Views: 4308

Re: PrimalScript 2014 - PowerShell V3 Packger Error

By the way, this behavior also happens with PrimalScript 2012 - extactly the same issue with SAPIEN PowerShell Host (Command line) with "Use PowerShell V3" engine type selected, but not when "Use PowerShell V3" engine type is not selected.

Thanks.
by clum09
Fri Aug 22, 2014 12:37 pm
Forum: PrimalScript
Topic: PrimalScript 2014 - PowerShell V3 Packger Error
Replies: 7
Views: 4308

PrimalScript 2014 - PowerShell V3 Packger Error

Hello, I have a script to shutdown the computer running Windows Server 2012 R2. The code is listed below: Stop-Computer -Force When I packaged the script with "SAPIEN PowerShell V3 Host (Command line) Any platform" or "SAPIEN PowerShell V3 Host x64" engine type, the packaged script produced the foll...
by clum09
Tue Aug 19, 2014 8:02 pm
Forum: PrimalScript
Topic: PrimalScript 2014 and PowerShell V2 packager
Replies: 3
Views: 2140

PrimalScript 2014 and PowerShell V2 packager

Hello, I write a script that uses Get-WindowsFeature cmdlet from Windows Server 2012 R2. I packaged this script with PrimalScript 2014 and the Engine type is SAPIEN PowerShell V2 Host (Command line)x64 or SAPIEN PowerShell V2 Host (Command line) Any platform. The the only piece of code I used is: Ge...
by clum09
Sun Aug 10, 2014 4:14 pm
Forum: Windows PowerShell
Topic: Temporary folder in PrimalScript 2014
Replies: 1
Views: 1037

Temporary folder in PrimalScript 2014

Hello, In PrimalScript 2012, I can set the script folder to the Temp folder during execution of the packaged script since the Script Packager in PrimalScript 2012 can allow the dependency files to be added to the packaged script. In PromalScript 2014, since there is no dependency files allowed, wher...
by clum09
Tue May 06, 2014 6:22 am
Forum: Wish List and Feature Requests
Topic: PrimalScript 2014 dependency files during packaging script
Replies: 6
Views: 4773

Re: PrimalScript 2014 dependency files during packaging scri

The reason I used PrimalScript 2014 for is to write the tools for automation of system management and administration tasks for the enterprise environments. I liked the fact that earlier versions of PrimalScript allowed dependency files to be packaged with the final executable files. This can serve m...
by clum09
Mon Apr 14, 2014 4:35 pm
Forum: Wish List and Feature Requests
Topic: PrimalScript 2014 dependency files during packaging script
Replies: 6
Views: 4773

Re: PrimalScript 2014 dependency files during packaging scri

You stated: "The proper way of doing what you describe is to create an installer for the solutions you create. Alternatively you can use the deploy functionality to push your solution and any files required to a desired network location. Please indicate why these solutions do not work for you. Feel ...
by clum09
Mon Apr 14, 2014 10:55 am
Forum: Wish List and Feature Requests
Topic: PrimalScript 2014 dependency files during packaging script
Replies: 6
Views: 4773

PrimalScript 2014 dependency files during packaging script

Hello, I came to this forum because I posted my question in a wrong forum. PrimalScript 2014 packager failed to allow the addition of the dependency files, which is a very important feature required for writing the robust tools in today's computing environments. This renders PrimalScript 2014 a usel...