June 6, 200620 yr havin problems with some code, can ya help please??Config File:prog[pn]=['Symantec Antivirus'];ordr[pn]=[101];desc[pn]=['Symantec Antivirus Corporate 10.0.2.2000'];uid[pn]=['Symantec_Antivirus'];dflt[pn]=['yes'];cat[pn]=['System Tools'];forc[pn]=['no'];configs[pn]=['Ferrari4005,Xaser3,Australia'];gcond[pn]=['FileExists(\'%programfiles%\')'];cmd1[pn]=['X:\\Appz\\x86\\Symantec_Antivirus\\SAV.msi ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=ReallySuppress /passive'];pn++;prog[pn]=['Fengtao DVDfab'];ordr[pn]=[108];desc[pn]=['Fengtao DVDfab Platinum 2.9.7.8'];uid[pn]=['Fengtao_DVDfab'];dflt[pn]=['yes'];cat[pn]=['System Tools'];forc[pn]=['no'];configs[pn]=['Ferrari4005,Xaser3,Australia'];gcond[pn]=['FileExists(\'%programfiles%\')'];cmd1[pn]=['X:\\Appz\\x86\\Fengtao_DVDfabPlatinum_2.9.7.8.exe /VERYSILENT /SP- /NORESTART'];cmd2[pn]=['cmd /c copy /y "X:\\Fixez\\Crackz\\Fengtao_DVDfabPlatinum_2.9.7.8-1.exe" "%programfiles%\\DVDFab Platinum\\DVDFabExpress.exe"'];cmd3[pn]=['cmd /c copy /y "X:\\Fixez\\Crackz\\Fengtao_DVDfabPlatinum_2.9.7.8-2.exe" "%programfiles%\\DVDFab Platinum\\DVDFabGold.exe"'];pn++;prog[pn]=['Microsoft Office'];ordr[pn]=[301];desc[pn]=['Microsoft Office 2003 + Service Pack 1'];uid[pn]=['Microsoft_Office'];dflt[pn]=['yes'];cat[pn]=['Office Tools'];forc[pn]=['no'];configs[pn]=['Ferrari4005,Xaser3,Australia'];gcond[pn]=['FileExists(\'%programfiles%\')'];cmd1[pn]=['X:\\Appz\\x86\\Microsoft_Office\\Office\\Setup.exe TRANSFORMS=X:\\Appz\\x86\\Microsoft_Office\\Office\\Unattended.MST /qn'];pn++;WPI LOG:05 June 2006 23:56:57 Program: Symantec Antivirus UID: Symantec_Antivirus Order: 00101 Category: System Tools05 June 2006 23:56:57 Cmd1 Fail: 'X:\Appz\x86\Symantec_Antivirus\SAV.msi ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=ReallySuppress' '/passive'05 June 2006 23:56:57 Finished installation06 June 2006 00:03:28 Program: Fengtao DVDfab UID: Fengtao_DVDfab Order: 00108 Category: System Tools06 June 2006 00:03:28 Cmd1 Success: 'X:\Appz\x86\Fengtao_DVDfabPlatinum_2.9.7.8.exe' '/VERYSILENT /SP- /NORESTART'06 June 2006 00:03:39 Cmd2 Fail: 'cmd' '/c copy /y "X:\Fixez\Crackz\Fengtao_DVDfabPlatinum_2.9.7.8-1.exe" "C:\Program Files\\DVDFab Platinum\DVDFabExpress.exe"'06 June 2006 00:03:39 Cmd3 Fail: 'cmd' '/c copy /y "X:\Fixez\Crackz\Fengtao_DVDfabPlatinum_2.9.7.8-2.exe" "C:\Program Files\\DVDFab Platinum\DVDFabGold.exe"'06 June 2006 00:03:39 Finished installation06 June 2006 00:18:00 Program: Microsoft Office UID: Microsoft_Office Order: 00301 Category: Office Tools06 June 2006 00:18:00 Cmd1 Fail: 'X:\Appz\x86\Microsoft_Office\Office\Setup.exe TRANSFORMS=X:\Appz\x86\Microsoft_Office\Office\Unattended.MST' '/qn'06 June 2006 00:18:00 Finished installationjust wanna know if anyone can help me solve the mystery of why these apps are failing????There are a few more apps I have which fail, but Im sure when I knw whats happening with these I can fix those by my self... Well maybe?!?!?!
June 6, 200620 yr i got a problem myself with the office one but i did this just made a ofd1.bat in the root of the cd and put the commond in ther to run i try about 10 or so things to get it to work in WPI so i gave up in the end but about the rest i cant help you dont have them good luck with it ps.. have u tryed the ver 4.3 or what it was did it work there ?
June 6, 200620 yr Author all my coding works fine in the old version, just the new version looks so much sweeter and is really just what I need.. all my coding works fine in the old version, just the new version looks so much sweeter and is really just what I need..
June 6, 200620 yr The problem lies in the new installer. The JavaScript command, WshShell.Run(), is very rudimentary in the way it handles args. What I have to do is chop off the args and seperate them. That is is where the problem lies: where do the args really start? Not all args start with a - or /. As in your case, just words. But to be able to use spaces in the path name I have to wrap the path in quotes, but not the args.If you look in your antivirus log line, the last /passive got chopped off correct, but the rest. And CMD /C gets totally wrong.The only real solution may be leave it up to the user to put their own qoutes around the path so I don't have to try and guess.Still working on it.............
Create an account or sign in to comment