cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reddy611
Level 6

.bat file execution in installanywhere2008 version

HI friends.

While am trying to execute the batch file useing the action Execute script or batch file.it is not excuting.

in post installtion after copying the .bat file ,that bat file am calling.
"$USER_INSTALL_DIR$$\$raja.bat"

raja.bat located in installation folder.

before executing the .bat file am checking show message dialog.it is showing the .bat file location.

Here am attaching the .bmp please chek this one .
please tell me the solution .
Labels (1)
0 Kudos
(8) Replies
nosrednayduj
Level 7

Isn't the path separator "$/$", not "$\$"?
0 Kudos
purcellk24
Level 7

It doesn't matter $/$ or $\$.

I think you should be using execute target file instead of executing batch/script. Or put in a call if on Windows before your execution. Or you need a
cmd /c "USER_INSTALL_DIR$$/$raja.bat"


The text in the Execute Batch/Script action is the script.
0 Kudos
Reddy611
Level 6

i tried the above suggitions .But it is not working.could any one help me how to do that one.
0 Kudos
pv7721
Level 20

If raja.bat is an installed file you could use Execute Target action instead.
0 Kudos
MEinstaller
Level 7

Does it try to execute? Run the installer in debug mode and see what happens when it gets to this point in the install.
0 Kudos
Reddy611
Level 6

i dont how to execute .bat file could any one give me th e suggtion.

but i can execute .jar files and .exe in the this version.

but am not executing .bat file. so please tell me how to do this one

i hav one .bat file inside that .bat file i written like this

java - jar x.jar if u double click this will work.

this one i want to execute in install any where please tell me procedure how to execute this one.


if any one tells this it is very great help to me.
0 Kudos
Reddy611
Level 6

i dont how to execute .bat file could any one give me th e suggtion.

but i can execute .jar files and .exe in the this version.

but am not executing .bat file. so please tell me how to do this one

i hav one .bat file inside that .bat file i written like this

java - jar x.jar if u double click this will work.

this one i want to execute in install any where please tell me procedure how to execute this one.


if any one tells this it is very great help to me.
0 Kudos
MEinstaller
Level 7

.bat files should execute when you double click on them. I was wondering if when running the installer in debug mode if you see the installer try to execute the batch file.
0 Kudos