-
Posts
538 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Posts posted by Jonnyboy
-
-
Think this needs to be updated. attempt to use and wget logs says --23:05:01-- ftp://ftp-mozilla.netscape.com/pub/mozill...n32/en-US/*.exe
=> `Files/.listing' on either version 2 or 3
Also when it did work last week did not include all my folders
But Thank you for all your work including the FF addon maker !!
Made it by request and I haven't kept it up. I will update it to work like my Firefox Addon Maker as soon as I can.
-
I might help you do it .vbs anyway, just waiting for the help of my friend..
Cool. Thanks
-
I have not been able to get this to work properly. I have decided to use gsar.exe. It is blazingly fast, faster that vbscript, anyway.
Thanks for the help.
-
thank you for the revision, I made a silent Addon, and thought it would install from the info as a standalone..unfortunately this is not possible.
do you intend to revise this?
Thank you
The silent addon can not be installed except in svcpack, there is not installation mechanism as their is with the addon and silent installer. If you are referring to the silent addon not installing properly in svcpack, could you pm me all of the logs? Thank you
-
Could you please be more specific on what you want to do, 'cause I didn't understand you mate
The script above will take 3 arguments: the filename, the string to change and the replace with string. It will only accept an absolute string, no wildcards. For example:
cscript replace_script.vbs install.rdf 2.0.0.16 3.*
would search install.rdf and replace 2.0.0.16 with 3.*
What I would like to be able to do is:
cscript replace_script.vbs install.rdf "<em:maxVersion>[this string is different in every file]</em:maxVersion>" "<em:maxVersion>3.*</em:maxVersion>"
I have 50+ files with at least 25 different strings to change = 1250 individual iterations to open and search, with regex.replace it would only be 50+ iterations to open and search.
I have found several examples using google, in the form of functions and subs, but nothing that I could make work with arguments.
I have also tried numerous command line utilities, but have not found any that accept regular expressions.
-
I could use a little help. I have a script that uses replace and will accept 3 variables to change text in a file. I need to change the script, to regex.replace to accept a (multiline if possible)regular expression as input.
Any help would be appreciated.
Thanks
Dim FileName, Find, ReplaceWith, FileContents, dFileContents
Find = WScript.Arguments(0)
ReplaceWith = WScript.Arguments(1)
FileName = WScript.Arguments(2)
'Read source text file
FileContents = GetFile(FileName)
'replace all string In the source file
dFileContents = replace(FileContents, Find, ReplaceWith, 1, -1, 1)
'Compare source And result
if dFileContents <> FileContents Then
'write result If different
WriteFile FileName, dFileContents
End If
'Read text file
function GetFile(FileName)
If FileName<>"" Then
Dim FS, FileStream
Set FS = CreateObject("Scripting.FileSystemObject")
on error resume Next
Set FileStream = FS.OpenTextFile(FileName)
GetFile = FileStream.ReadAll
End If
End Function
'Write string As a text file.
function WriteFile(FileName, Contents)
Dim OutStream, FS
on error resume Next
Set FS = CreateObject("Scripting.FileSystemObject")
Set OutStream = FS.OpenTextFile(FileName, 2, True)
OutStream.Write Contents
End Function -
updated to v0.464 - added option to choose language
- added option to install to any folder on the system drive
-
Thanks.
This is only necessary if you are logged into your machine as an administrator, right?
-
Ok I'm willing to try it,sounds nice. Post it here so others can test it too,but don't ditch the old one jet...just to be on safe side to see how it works. I'll test this one as soon as I can.
BTW did you by any chance manage to test silent switchless addon on XP source,to confirm my theory mention above?
P.S. It's 3.00AM here
Silly, it's not written, yet.
The silent addon is using the same ini file as the inf addon. It needs to be changed. It will be correcyted tonight.
Go to bed. Thanks for the help.
-
I think it's new since you make some changes to scripts. I tested it several times just to be shure since everybody reported "working" addon thus.inf selection is marked by default and I used silent switchless addon instead. It compiles it ok and integrates but it breaks complete win installation when installing it from T13.
Alright. I just finish the fix for the language issue. I'll begin working on this. I also have a couple of other changes to make and then I can post the update.
I have an idea and I'd like some feedback.
The number of options is becoming daunting. I can create a text file with all of the options. You edit the text file and then the script would read the text and then create the addon of choice.
Feedback would be great.
thx
-
This started out as such a simple script. What the h*ll happened?l
-
Does anyone have any problems with switchless silent addon? Cause if breaks my win installation if I add it. However inf addon works perfect.
Is this something new, or always?
I haven't tested since I added the copy inf into it. I'll test again.
Apparently, you are the first to try it. I know the cause and will fix in the next version. It's using the same ini file as the inf addon. I'll double check, but I think tha is it.
thx for the haeds up.
-
Firefox v3.0.1, released July 16, 2008
The script updates the links automatically.
-
I choose option "4" -"Ayakawa 3.0", but it downloads "Firefox Setup 2.0.0.16.exe" and "firefox-ce-3.0.2pre-ayakawa-080704-PGU.7z".... BTW since version 0.460 it stucks on "Copying Personal Files..." stage (i choose Ayakawa 3.0, Silent Installer).
Thanks for the heads up. fixed it and posted an update.
Thanks Johnnyboy for all updates, you're way too quick for me to follow. However I found some little bugs:-0.461: could not browse for folder appdata (choosing a profile) if Hidden files and folders are not shown in sistem
-0.462: somehow app stops at first screen (probable cause: internet proxy?)
Thanks and keep up the good work.
hmmm.... I could write a script to unhide hidden files, but I don't think that I want to monkey with other peoples systems. I'll just add a comment to the next version. thx
Does the app stop forever? Let me know. I don't use proxies but, so I don't know how to work with them. I am behind a firewall and router with no problems, though.
***EDIT***
I'll see if I can write a popup for you to change the setting to show hidden files.
-
update posted. fixed bug with language and others
-
The Is Installed was linking incorrectly, you shouldn't have most of the options if not installed in selected.
It's already been fixed in the next update. I've been waiting to see if there were any other bugs, before posting the update. The language issue is the only bug that I wasn't aware of, oh and the double entry. I caused that by putting the reg pointers to the helper.exe back in. I'll remove them and the helper.exe.
Thanks for the heads up.
Oh yeah. One more thing. Could you PM me the logs.
thx
PSS
I write most of this and the script while driving down the road. So, sometimes I make typos and sometimes I miss things.
lol
-
thanks Jonnyboy,
but I have one question :- I have so many files in my profiles folder( ie many prefs.js)
and I'm not sure which one I have to choose to be on the "right side", nevertheless I chose one and it worked out well but dont know if that was my real preference. Any ideas on this issue?
second issue, the previous version was so simple and straightforward , one could easily chose which version to d/l ( not in this one)-may be you will rework this one out too.
A nice day
Version 0.461 is posted.
The prefs.js file that you are looking for is the one in the top level of the profile you want to use. The new version should help out some. Because, some people have profiles in non-default locations, I had to make this change in the script.
The second issue you are referring to, could you be more clear so that I can be sure what you are asking?
-
FF 2.0.0.16 is out.
thanks
As soon as mozilla updates thier web page, the script will update to it. The haven't been updating all of their pages very well lately. The current version on one of their ftp's is 2.0.0.14. The current version is not always in the same place. With each new version, a different web address is updated, but not the others.
-
Version 0.460 posted.
-
Hi Jonnyboy great program. Is there any chance to integrate a possibility to point to a custom profile dir and to use a standard FF shortcut icon (as a choice) during app process?
If it is too much work, no problem. Thanks again.
First question - I'm not certain, but I think that the profile path is hard-coded to look for profiles.ii in thapplicatio data folder of the user. The profiles.ini points to the actual folder where the profile is located. I can play around with the addon putting that file there and see if the profile will still be created.
Second. Yes. I will add that option in.
-
this version (.460) works flawlessly for me! thanks!!!
could you pm me the logs?
thx
-
EDIT: I manage to make silent addon for vanilla 3.0 with all extras without any problems. I believe integration and installing would work fine (I did not test it on live or virtual machine)..
Could you PM me the logs and inf files. Thx
-
Wrong link.
fixed. sorry
-
I have completed an update but, it needs some testing. If anyone would like to test and zip up the logs and the inf and send them to me. I would appreciate. There is probably some bugs. Help me out and let me see the logs so I can find the errors. If you test the addon, let me know how it turns out.
Thanks
Good Evening!
in Introduction
Posted
Hey bud!