do multiple installers need multiple projects?

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
Jambon
Posts: 3
Joined: Fri Mar 02, 2018 12:30 pm

do multiple installers need multiple projects?

Post by Jambon » Wed Jan 16, 2019 8:13 am

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: Powershell Studio 2019
32 or 64 bit version of product: 64bit
Operating system: Windows 7, Windows Server 2012
32 or 64 bit OS: 64bit

*** Please add details and screenshots as needed below. ***

I have a powershell executable that needs to be installed on several user machines and on a server. I'd like to build two .msi's; one for the user install and one for the server install. Do I need to have two separate projects, one for each .msi?

User avatar
davidc
Posts: 5837
Joined: Thu Aug 18, 2011 4:56 am

Re: do multiple installers need multiple projects?

Post by davidc » Wed Jan 16, 2019 9:53 am

At this time the product does not support multiple MSI settings. Because of this, you will need to update the settings before building the MSI. I highly encourage you to submit a feature request here:

https://sapien.com/requests

You could potentially create two projects, but you will have to keep both projects in sync. It is easy enough to copy the psbuild file from one project to another.
Alternatively, you can try swapping two psbuild settings files out for the one project.

If you want to get really fancy, you could use the Custom Menu to run a custom command to swap them out:

https://www.sapien.com/blog/2015/10/01/ ... -template/
https://www.sapien.com/blog/2016/05/23/ ... -the-menu/
David
SAPIEN Technologies, Inc.