djsleepy Posted June 6, 2006 Share Posted June 6, 2006 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?!?!?! Link to comment Share on other sites More sharing options...
ZcWorld Posted June 6, 2006 Share Posted June 6, 2006 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 ? Link to comment Share on other sites More sharing options...
djsleepy Posted June 6, 2006 Author Share Posted June 6, 2006 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.. Link to comment Share on other sites More sharing options...
mritter Posted June 6, 2006 Share Posted June 6, 2006 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............. Link to comment Share on other sites More sharing options...
djsleepy Posted June 11, 2006 Author Share Posted June 11, 2006 how has this been fixed in the final reealse???? Link to comment Share on other sites More sharing options...
mritter Posted June 11, 2006 Share Posted June 11, 2006 Yes. Download the final release above. 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