This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Copy file based on Condition (Passed in Command-line argument)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2021
01:36 AM
Copy file based on Condition (Passed in Command-line argument)
Hello,
I am using InstallShield 2020.
I am facing one issue about putting one file in Installation directory based on the user arguments. For example,
setup.exe /v"LICENSE=auto"
If users pass this, then I need to put one License file in installation directory. This license file should be packaged with the setup file. I searched a lot to find the solution but still could not able to find.
Can you please help?
Thanks a lot.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2021
09:44 AM
You would want to put that file in its own Component, then in that component you can specify the Condition to LICENSE="auto".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 09, 2021
01:41 AM
Thank you very much for your answer.
It resolved my issue 🙂