cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ahsanmostafa
Level 2

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.

Labels (1)
0 Kudos
(2) Replies
Azmaeus
Level 6

You would want to put that file in its own Component, then in that component you can specify the Condition to LICENSE="auto".

0 Kudos

Thank you very much for your answer.

It resolved my issue 🙂

0 Kudos