April 2, 200719 yr 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++;
April 2, 200719 yr 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.
April 2, 200719 yr 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.
April 3, 200719 yr i was using cmd2[pn]=['del /f /q "%programfiles%\\DAEMON Tools\\SetupDTSB.exe"'];now i would try delete command.
April 3, 200719 yr Author 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.
Create an account or sign in to comment