Steam Trout Posted April 2, 2007 Share Posted April 2, 2007 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 More sharing options...
Kelsenellenelvian Posted April 2, 2007 Share Posted April 2, 2007 cmd2[pn]=['DELETE "%programfiles%\\DAEMON Tools\\SetupDTSB.exe"'];cmd3[pn]=['DELDIR "%programfiles%\\DaemonTools_WhenUSave_Installer"'];Try adding in the quotesIf that fails post your installation log. Link to comment Share on other sites More sharing options...
rajesh.kumar Posted April 2, 2007 Share Posted April 2, 2007 this same thing happens to me too. so i moved the delete command to cleanup.cmd which i already use in wpi for cleanup work. regarding the log, i have to compile the config file again, burn, test and post. Link to comment Share on other sites More sharing options...
Steam Trout Posted April 2, 2007 Author Share Posted April 2, 2007 Works like a charm when "" are added. Thanks. Link to comment Share on other sites More sharing options...
rajesh.kumar Posted April 3, 2007 Share Posted April 3, 2007 i was using cmd2[pn]=['del /f /q "%programfiles%\\DAEMON Tools\\SetupDTSB.exe"'];now i would try delete command. Link to comment Share on other sites More sharing options...
Steam Trout Posted April 3, 2007 Author Share Posted April 3, 2007 DELETE is automatically replaced with CMD /C del when WPI executes that line so if you are running from bat you don't need that. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now