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.
This topic is 4 years and 2 days 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.
User avatar
MaureenC
Posts: 30
Last visit: Sun Mar 14, 2021 12:36 pm

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: 1654
Last visit: Wed Mar 27, 2024 1:54 pm
Answers: 39
Been upvoted: 30 times

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
SAPIEN Technologies, Inc.
This topic is 4 years and 2 days 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.