do multiple installers need multiple projects?

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 5 years and 2 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.
tsugacanadensis
Posts: 7
Last visit: Tue Feb 06, 2024 4:09 am

do multiple installers need multiple projects?

Post by tsugacanadensis »

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: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: do multiple installers need multiple projects?

Post by davidc »

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.
This topic is 5 years and 2 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.