Page 1 of 1

do multiple installers need multiple projects?

Posted: Wed Jan 16, 2019 7:13 am
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?

Re: do multiple installers need multiple projects?

Posted: Wed Jan 16, 2019 8:53 am
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/