Archive: js & nsis


js & nsis
nsis can run *.js file? if yes please say how, thanks


ExecShell. But why would you want to? You should convert the code to NSIS script.

Stu


i want change some file in Mozilla FireFox.


ExecShell is not a good way to run .js, it could open in Notepad etc. If you want to run a js file with Windows Scripting Host you need to call wscript.exe.

I'm guessing you want to edit the about:config file? (WHY? Don't mess with the users settings) Anyway, look for the profiles under $Appdata\Mozilla\Firefox with the NSIS find functions (And hope that the user is not using the -profile switch since then the profile could be anywhere :) )


i write toolbar and want cnahge some option in this file.
..AppData\Roaming\Mozilla\Firefox\Profiles\7xokl1z9.default\prefs.js

now i use *.exe file and parser this file in application? but have some poblem when run my installation without admin rights.


ok