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

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.
User avatar
MaureenC
Posts: 27
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Thu Mar 06, 2014 6:08 am

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

Post 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.

User avatar
brittneyr
Site Admin
Posts: 473
Joined: Thu Jun 01, 2017 7:20 am

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

Post 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/
Brittney Ryn
SAPIEN Technologies, Inc.