Product, version and build: 5.4.145
32 or 64 bit version of product: 64-bit
Operating system: Windows 10
32 or 64 bit OS: 64-bit
Is it possible to create a blank form that includes .ps1 files (orany files) ? What we wanted to explore was creating an .EXE from a blank PowerShell Studio Form that has lets say 1 .MSI file, 1 .PS1 file and 1 .ini file. And when this blank .exe from a form is run on any system it would include the .msi, .ps1 & .ini file and run them as called.
Can PowerShell Studio do that?
include files
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: include files
I'm not clear as to what you want to accomplish.
Are you asking if you can create a single exe that extracts these files? We don't support this because Microsoft frowns upon this behavior (typical of viruses) and they recommend using MSI files instead.
Or do you want an executable that will run regardless of PowerShell version or platform? Unfortunately, you need to specify a version of PowerShell. As for the 32bit vs 64bit, PowerShell Studio does have a native setting that creates a starter executable that calls the right version depending on the OS.
https://www.sapien.com/blog/2016/10/24/ ... -features/
Are you asking if you can create a single exe that extracts these files? We don't support this because Microsoft frowns upon this behavior (typical of viruses) and they recommend using MSI files instead.
Or do you want an executable that will run regardless of PowerShell version or platform? Unfortunately, you need to specify a version of PowerShell. As for the 32bit vs 64bit, PowerShell Studio does have a native setting that creates a starter executable that calls the right version depending on the OS.
https://www.sapien.com/blog/2016/10/24/ ... -features/
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: include files
David, you answered it. We wanted to bundle files within the .EXE and call them when the .EXE runs.