cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ankitmehta84
Level 2

Run a batch file with arguements

Hello All,

I am a total newbie . I tried doing variety of solutions on the forum but nothing worked :mad: .

In custom actions I am using "After File Transfer" and creating a new exe

Source Location:File exists on target computer
File Location: [SystemFolder]
file name and command line:
"[SystemFolder]cmd.exe" /c "[INSTALLDIR]install.bat [DATABASEDIR]file"

wait for action: yes
ignore exit code: no


i have the install.bat in [installdir] and file in [databasedir]
while brunning it gives me an error
File [SystemFolder] not found Cannot stream the file into binary mode. error code -1024.

Any help would be appreciated.

Thanks

Ankit
Labels (1)
0 Kudos
(2) Replies
ChandanOmkar
Level 8

pass [SystemFolder] in the arguments in place of [SystemFolder112].
0 Kudos
ankitmehta84
Level 2

oops ... I did that only..... I passed [systemfolder] only in he arguements..... That was a typo ... sorry for that
0 Kudos