Jump to content

Problem to execute cmd or bat files


Recommended Posts

I have wpi 5.6 and i have problem to execute file with bat or cmd extension. When wpi launch this file nothin go fine and wpi continuing with other installation. I have tryed with older version of wpi but is the same...

sorry for my english

anyone can help me?

Link to comment
Share on other sites


I have wpi 5.6 and i have problem to execute file with bat or cmd extension. When wpi launch this file nothin go fine and wpi continuing with other installation. I have tryed with older version of wpi but is the same...

sorry for my english

anyone can help me?

does wpi install any apps or is it just this one giving you the probs,?

can you post the portion of your config.js file which holds the point where your trying to install this cmd or bat..

either one should work,

have you removed the quotes in the addy before testing ?

Link to comment
Share on other sites

prog[pn]=['Rimuovi Windows Messenger'];

ordr[pn]=[456];

desc[pn]=['Utilità di rimozione per windows messenger'];

uid[pn]=['RIMUOVIWINDOWSMESSENGER'];

dflt[pn]=['yes'];

cat[pn]=['Chat - Instant Messenger'];

forc[pn]=['no'];

cmd1[pn]=['%CDROM%\\install\\messenger\\remove.bat'];

picf[pn]=['msn.png'];

picw[pn]=['128'];

pich[pn]=['128'];

textl[pn]=['Bottom'];

pn++;

When i click this option nothing go... why? I have do a change with a script (autoit) to laounch exe file but was the same...

tk

Link to comment
Share on other sites

prog[pn]=['Rimuovi Windows Messenger'];

ordr[pn]=[456];

desc[pn]=['Utilità di rimozione per windows messenger'];

uid[pn]=['RIMUOVIWINDOWSMESSENGER'];

dflt[pn]=['yes'];

cat[pn]=['Chat - Instant Messenger'];

forc[pn]=['no'];

cmd1[pn]=['%CDROM%\\install\\messenger\\remove.bat'];

picf[pn]=['msn.png'];

picw[pn]=['128'];

pich[pn]=['128'];

textl[pn]=['Bottom'];

pn++;

When i click this option nothing go... why? I have do a change with a script (autoit) to laounch exe file but was the same...

tk

are you trying to test this from a cd or the pc ?

Link to comment
Share on other sites

i test this on external hd with letter Z (i think is the same taht cdrom)

I Have had same probem with old version of wpi. Only Bat and cmd file go wrong...

i test this on external hd with letter Z (i think is the same taht cdrom)

I Have had same probem with old version of wpi. Only Bat and cmd file go wrong...

Link to comment
Share on other sites

Let's see one of you bat files...

it might be the path in the bat file ??

Whats in your log file ? does it say "Success" on running the bat file ? if yes, it's the path written inside your bat files that's false.

If you bat files doesnt consist of more than 6 commandlines, you can run the commandlines directly from WPI, like :

cmd1[pn]=['cmd /c MD "%PROGRAMFILES%\\Program"'];

hope it helps.

Link to comment
Share on other sites

i test this on external hd with letter Z (i think is the same taht cdrom)

I Have had same probem with old version of wpi. Only Bat and cmd file go wrong...

i test this on external hd with letter Z (i think is the same taht cdrom)

I Have had same probem with old version of wpi. Only Bat and cmd file go wrong...

if your testing this from a hd then no your letter z isnt the same as a cdrom so, unless your testing your setup out on a virtual enviornment then you need to replace your cdrom variable with a wpipath variable to test it out on the hd,, but when you switch it out to use on a cd then you can use the cdrom variable

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...