You've asked a lot of questions and I am trying to answer a few here, maybe not all of them.
Yes it is possible to start a Windows Application with arguments. Ideally for that you need to open command prompt and navigate to the directory of your application then type in theProgramName.exe - arguments options
but that I assume you already know.
Another approach would be to Create ShortCut
for the Program you are targeting and then you can just Right click -> Properties -> and append your arguments to the Target
field. Example : C:\Games\Counter-Strike\hl.exe -steam -game cstrike -noforcemparms -noforcemaccel
Another approach that I assume you would want when you are creating a SFX is to create a .bat
(batch) file with the contents being theProgramName.exe - arguments options
and put it in the same directory as your program and set it to run as our main application when it extracts. If you want the exe
and not the bat
you can use some bat to exe conversion tools, there are tons out there.
The best way I can think of is using programs like Advanced Installer. You can directly make an msi
or a sfx
and send a shortcut anywhere (more than one) and it could contain arguments you specify just like what I described in the second way.
So yeah that other tool I'd vouch for that will do what I think you want to do is Advanced Installer.