0

I want to execute multiple exe files. I have 3 exe files:

1. XYZTool.exe

2. vcredst_x86 (Visual Studio Redistributable 2015)

3. vcredst_x64 (Visual Studio Redistributable 2015)

When XYZTool.exe is run, the supported vcredst( x64 or x86) should run and installed successfully and then the installation of XYZTool should resume and install successfully.

Shiv
  • 5
  • 1
  • 6
  • So the `XYZTool.exe` is an installer? Or application that is installer by your Inno Setup installer? – Martin Prikryl Apr 11 '17 at 08:58
  • XYZTool.exe is a exe file generated by VS 2015 in release mode – Shiv Apr 11 '17 at 09:14
  • So what sense makes *"When XYZTool.exe is run, the supported vcredst( x64 or x86) should run"*? Shouldn't it be *"**Before** XYZTool.exe is run"*? Or *"When XYZTool.exe is **installed**"*? – Martin Prikryl Apr 11 '17 at 09:21
  • Let me clear it. Earlier I had XYZTool.exe and other files packed into one executable itself, as i never had issues with dlls. But now the VS 2015 exe can't be run on PCs which don't have those dlls. The only way to ensure dlls are added to the target PC is installing vcredst. Even without packing vcredst the application will be installed but cannot be run (It gives an error dll is missing) . Hence i need to install vcredst before running the XYZTool application. – Shiv Apr 11 '17 at 09:30
  • This can be ensured also by installing supported vcredst first and then XYZTool. You might be suggesting the same – Shiv Apr 11 '17 at 09:33
  • I will try it. Thanks for the help – Shiv Apr 11 '17 at 09:39
  • If it does, please accept the duplicate. – Martin Prikryl Apr 11 '17 at 09:39
  • See http://stackoverflow.com/q/3618049/850848 – Martin Prikryl Apr 12 '17 at 10:42
  • Though, are you really sure you want that? If your application is 32-bit (just a guess), you need 32-bit redistributables, no matter what platform the target system uses, don't you? – Martin Prikryl Apr 12 '17 at 10:44
  • Yes. I found that solution. I will add the answer. Thank you – Shiv Apr 12 '17 at 11:00

0 Answers0