Page 1 of 1

Can build an MSI or EXE that allows user to pass a parameter?

Posted: Mon Mar 23, 2020 2:12 pm
by MaureenC
Product, version and build: PowerShell Studio 2020 5.7.174; I have the same question for 2019
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit

Is there a way to create an MSI or even an EXE that will allow the user to enter a parameter? Similar to an installation wizard.

I know there is an Arguments option on the Custom Actions screen, but I need to be able to pass a dynamic value.

Re: Can build an MSI or EXE that allows user to pass a parameter?

Posted: Wed Mar 25, 2020 7:24 am
by brittneyr
If you are meaning passing an argument by the command line, you may find the following article helpful:
https://www.sapien.com/blog/2012/10/25/ ... arguments/