Compiling files into a package or MSI

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 4 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Galia Lotan Konas
Posts: 2
Last visit: Wed May 19, 2021 8:09 am

Compiling files into a package or MSI

Post by Galia Lotan Konas »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS:
***Product: PowerShell Studio 2018 (64 Bit)
Build: v5.5.155
OS: Windows 10 Enterprise 2016 LTSB (64 Bit)
Build: v10.0.14393.0 ***

*** Please add details and screenshots as needed below. ***
I'm trying to see if its possible to compile a file that will contains files with a script. The script should copy the files to directory on the target computer, to a directory I define. Then execute an executable from that directory.
I've tried playing with the MSI builder but could not fine any comprehensible documentation.

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Compiling files into a package or MSI

Post by davidc »

The latest release of PowerShell Studio 2019 (v5.6.161) allows you to specify a custom folder for the MSI installer.

In the v5.5.151 service release we added support for Custom Actions in the MSI installer. Custom Actions allows you to run custom scripts that could copy files to the necessary location.

https://www.sapien.com/blog/2018/04/25/ ... -v5-5-151/
David
SAPIEN Technologies, Inc.
User avatar
Galia Lotan Konas
Posts: 2
Last visit: Wed May 19, 2021 8:09 am

Re: Compiling files into a package or MSI

Post by Galia Lotan Konas »

Thank you for the reply.
1. Is the fixed update out yet? (I read that one of updates had bugs).
2. Where can I get a detailed step-by-step guide to create an MSI?

Thanks,
Galia
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Compiling files into a package or MSI

Post by davidc »

1. Yes, we released a build resolving a packager issue. The MSI installer was not affected.

2. We have these articles on the subject (They reference PrimalScript but still apply to PowerShell Studio):

https://info.sapien.com/index.php/packa ... VydmVyIl0=

Custom Actions:
https://www.sapien.com/blog/2018/02/26/ ... i-builder/

If you have any specific questions, feel free to post them here.
David
SAPIEN Technologies, Inc.
This topic is 4 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.