Run external batch script inside of SourceDir from msi with SourceDir as Working Directory

231 Views Asked by At

I need to run an executable inside of SourceDir while installing an application. The msi database already exists. I try to alter it using Orca.

The executable itself is located inside of SourceDir. I further need to set the working directory to the executable location befor running it.

I know I can create CustomActions of type 50 or 34. I was able to run the executable with a CustomAction of type 34 with the predefined SystemDir as working directory. But how can I set SourceDir or a subdirectory as working directory?

0

There are 0 best solutions below