June 3, 201412 yr Hi all, I am trying to run a command that is build on reading the registry thru JSCRIPT I tryed the following with no result cmds[pn]=['{JSCRIPT}=RunCmd(RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString") %comma% false %comma% true);'];or even cmds[pn]=['{JSCRIPT}=RunCmd(RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString").replace(/\\/gi %comma% "\\\\") %comma% false %comma% true);']; none do work. I know that cmds[pn]=['{JSCRIPT}=alert ("myvalue = " + RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString"));']; it shows a message box with the correct valueC:\WINDOWS\SysWOW64\Macromed\Flash\FlashUtil32_13_0_0_206_ActiveX.exe -maintain activex Please advise on how to get it working. Regards. Gilles
June 3, 201412 yr You may want to post this over in the Programming C++, Delphi, VB/VBS, CMD/batch, etc. that is run by Yzöwl. If you find a fix post it so it can help out someone else..DP
June 10, 201412 yr Author Hello all, For those who might be interested in the solution: cmds[pn]=['{JSCRIPT}=RunCmd(\'"\' + RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString")+\'"\'%comma%0%comma%1);']This run the uninstall command stored in the registry. Cheers, Gilles
August 6, 201412 yr Hi help me with my script firefox 32 or this wrong? prog[pn]=['Firefox Setup 32.0b3'];uid[pn]=['FIREFOXSETUP320b3'];dflt[pn]=['yes'];forc[pn]=['no'];cat[pn]=['Navegadores'];pfro[pn]=['no'];cmds[pn]=['"%wpipath%\\Install\\FIREFOX SETUP 32.0b3\\Firefox_Setup_32.0b3.exe" -ms'];desc[pn]=['Un ya muy conocido navegador web con la opcion de instalar infinidad de complementos. <STRONG>(Recomendado)</STRONG>'];picf[pn]=['"%wpipath%\\Graphics\\Iconos\\Firefox.png"'];picw[pn]=['48'];pich[pn]=['48'];textl[pn]=['Right'];pn++; Error:
Create an account or sign in to comment