Jump to content

DOS commands don't work


Recommended Posts

If you install DAEMON Tools in silent mode it will also install WhenU Installer which is some toolbar for IE or something like that. Anyway I obviously don't want it on my PC so 2nd and 3rd Command Line params after installing DAEMON Tools themselves would be to DELETE %programfiles%\DAEMON Tools\SetupDTSB.exe and DELDIR %programfiles%\DaemonTools_WhenUSave_Installer. Each time I run WPI DELETE fails with code 1 and DELDIR with code 2. If I execute the same command myself it works as intended. Any help here would be appreciated. Here's the part of config.js with DAEMON Tools:

prog[pn]=['DAEMON Tools'];
desc[pn]=['DAEMON Tools is a virtual cd/dvd-rom emulator. It is able to emulate nearly all known copy protections on the market today.'];
uid[pn]=['DAEMONTOOLS'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
gcond[pn]=['!FileExists("%wpipath%\\Install\\daemontools.exe")'];
cmd1[pn]=['%wpipath%\\Install\\daemontools.exe /S'];
cmd2[pn]=['DELETE %programfiles%\\DAEMON Tools\\SetupDTSB.exe'];
cmd3[pn]=['DELDIR %programfiles%\\DaemonTools_WhenUSave_Installer'];
picf[pn]=['Daemon_Tools.png'];
picw[pn]=['192'];
pich[pn]=['192'];
textl[pn]=['Top'];
pn++;

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...