0

I have created a .sed file for input in iexpress.exe. The entry in .sed file has two applications. One is a batch file and another is an .exe file, for example:

AppLaunched=cmd.exe /c abc.bat
AppLaunched2=setup.exe 

After creating the setup and executing, only the batch file is executed. I want to execute both files.

Any idea?

neminem
  • 2,658
  • 5
  • 27
  • 36
CrazyCoder
  • 772
  • 5
  • 11
  • 31
  • do you mean Unix/Linux `sed`, as in **S**tream **ED**itor? If not, note the definition when you hover on the `sed` tag above. If you have a different meaning for sed, consider making a new tag like `sed-Windows-something_different`. Good luck. – shellter Mar 27 '14 at 15:39

1 Answers1

1

If I understand your problem correctly you could try using & to chain commands,

AppLaunched=cmd.exe /c abc.bat & setup.exe

There are a few other ways but this is one of the most simplistic.

n34_panda
  • 2,577
  • 5
  • 24
  • 40
  • this command is working fine. But I need to run the application as background process. So I tried as in .sed file the following entry ShowInstallProgramWindow=1 HideExtractAnimation=1, But this is working only for abc.bat but not working for setup.exe. – CrazyCoder Mar 28 '14 at 06:13
  • @n34_panda: you have mentioned other ways to achieve this in your answer, would you please let me know what are those ways. Help would be appreciated. – dhiraj suvarna Aug 26 '15 at 12:53
  • You could use a very simple VBScript file to run programs hidden; see https://stackoverflow.com/a/4876112/422043 – fission Sep 12 '15 at 18:08