coucou Posted February 2, 2011 Posted February 2, 2011 Hello,I'm using WPI 8.1.0 and I'm really happy with. It simply works like a charm However, as i write (update) manualy into the config.js file, I've a question regarding the cmds (command) script. Some cmds are with 1 quote mark (') others with 2 ('"). Why? What the differences are? When it should be 1 quote mark and when 2here bellow some examplescmds[pn]=['%cdrom%\\Software\\AdvJPEGCompress\\ajpegcompr.exe /VERYSILENT /SP-','"%cdrom%\\Software\\AdvJPEGCompress\\ajc_CR.exe"','{REGEDIT} %cdrom%\\Software\\AdvJPEGCompress\\ajc.reg'];cmds[pn]=['"%cdrom%\\Software\\BatchImageResizer\\batch-image-resizer.exe /VERYSILENT /SP- /NORESTART"','{REGEDIT} %cdrom%\\Software\\BatchImageResizer\\BIR.reg'];cmds[pn]=['"%cdrom%\\Software\\VirtualDJ\\Setup.exe /S"','"%cdrom%\\Software\\VirtualDJ\\virtualdj_CR.exe"','{REGEDIT} %cdrom%\\Software\\VirtualDJ\\VirtualDJ.reg'];I'll appreciate yr explanationRegards
coucou Posted February 4, 2011 Author Posted February 4, 2011 Really, No one can explain when do i use 1 quote mark (') and when 2 quote mark ('") into config.js?What a pity
myselfidem Posted February 4, 2011 Posted February 4, 2011 (edited) The best way to install programs with WPI, is to use quotes ("")!Example:cmds[pn]=['"%wpipath%\\Install\\Realtek\\Realtek.exe"','%systemdrive%\\Realtek\\Setup.exe -s "-f1%systemdrive%\\Realtek\\setup.iss"'];Otherwise (') is sufficient!Mostly I use quotes (" ") to install my programs when (') doesn't works!!cmds[pn]=['"%wpipath%\\Install\\Firefox\\Firefox_3.6.13.exe" -ms -ira'];cmds[pn]=['"%systemdrive%\\Install\\7QuickLaunch.exe"'];It is simply a deduction! Edited February 4, 2011 by myselfidem
submix8c Posted February 4, 2011 Posted February 4, 2011 However, as i write (update) manualy into the config.js file, I've a question regarding the cmds (command) script. Some cmds are with 1 quote mark (') others with 2 ('"). Why? What the differences are? When it should be 1 quote mark and when 2Are the "samples" you provided from letting WPI automatically "fill in the blanks" or was this "manually made"? I don't recognize some of the (multi) strings provided.Explain and I'll see if I can reproduce the "anomaly".
mritter Posted February 5, 2011 Posted February 5, 2011 WPI should (I may have missed some cases) always put in double quotes ("....") to allow for spaces in the path. Older versions didn't do that so it could just be a carry over from your older config.Have a little patience for replies. Not all of us are on here every day.
coucou Posted February 6, 2011 Author Posted February 6, 2011 Thanks all very much for yr patience and explanation.SEver since, I use double quote ("...."). When I upgrade from v6 to v8, the commands into config.js were automatically updated sometimes to ('....') and sometimes to both ('"...."') (see my examples above).Moreover, when I add or update any softwares to WPI, I modify manually the config.js. So, I remember that I have had diffculties with the quotes.Regards
Kelsenellenelvian Posted February 17, 2011 Posted February 17, 2011 We really cannot help you too much considering that you consistently decide not to use the config wizard...
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