Archive: How to read command line parameters


How to read command line parameters
Yes, I would like to make a setup that only works for certain OS's. But if for some reason I wanted to install that on an OS that is not allowed, could I somehow do

c:\setup.exe /force

where it would skip the process of checking the OS and let me install no matter what errors came up?


call the GetParameters function, you can then use StrCmp to skip your checker