Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9696

Is there a tool similar to IEpxress or 7Zip that can pass command line arguments to a dependency [closed]

$
0
0

I recently discovered IExpress and would like to use it to package arbitrary scripts in any language with their respective interpreters/libraries/dependencies. IExpress and 7zip can offer all of that (along with a handful of other tools). However, I don't see a way to be able to pass the command line arguments which get passed to the resulting self-extracting exe through to the batch file that gets extracted when running it.

Is there a tool that offers this? Or some other method I could use to achieve this?

Example:

run.bat

app.exe

app.dll

I would package these three files to get self extracted when running an exe called "Final.exe" which would call 'cmd /c run.bat' which would run app.exe which depends on app.dll. However, how would I be able to pass command line arguments to Final.exe and have them pass through to run.bat?


Viewing all articles
Browse latest Browse all 9696