gilles_gros Posted June 3, 2014 Posted June 3, 2014 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
DosProbie Posted June 3, 2014 Posted June 3, 2014 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
gilles_gros Posted June 10, 2014 Author Posted June 10, 2014 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
MonteiroGyn Posted August 6, 2014 Posted August 6, 2014 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:
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