Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 546

PowerShell Studio • Re: Deploy » Export to File: Disable "overwrite?" Dialog / Call by command line?

$
0
0
There is a tool included in PowerShell Studio called SAPIENCommandLine for building from the command line.
It can be called using the following parameters:

SAPIENCommandLine.exe /BUILDSCRIPT <form or project file>

Build an executable for script, form or project file. Build settings (.psbuild file) must exist and be located in the same folder as the script or project. (Exit Code: Success = 0)
SAPIENCommandLine.exe /BUILDEXE <file>

Build a MSI for script, form or project file. Build settings (.psbuild file) must exist. (Exit Code: Success = 0)
SAPIENCommandLine.exe /BUILDMSI <file>

/BUILDSCRIPT is not the actually the same as exporting a file. The build process itself is the same, but the resulting script is named FileName.Package.ps1 instead of FileName.Export.ps1. It's important to note that this process needs to be able to detect that PowerShell Studio is installed.

The overwrite message is not from PowerShell Studio; it is a Windows message. We can look into adding a setting to always delete exported files, but there is no ETA on this.

Statistics: Posted by brittneyr — Wed Jun 26, 2024 7:40 am



Viewing all articles
Browse latest Browse all 546

Trending Articles