
mritter
MemberContent Type
Profiles
Forums
Events
Everything posted by mritter
-
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
It took me awhile but I figured out what was wrong with Dje's config file. I am posting it here also so everyone knows: prog[pn]=[]; MUST be the first line of each entry in your config.js. Dje had it as the second. It threw off the way WPI counts the entries, therefore messed up the configList[] array. -
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
I can put Applications first, or anywhere, in my Sort Order and works fine. Have a typo somewhere? -
Request: getSP() [fetch service pack level]
mritter replied to deadbug's topic in Windows Post-Install Wizard (WPI)
Definetly do not put it in config.js. Don't put anything in there. Put it in api.js with getOSver(). Or just build it in with getOSver(). That is a good idea. On to my To Do List it goes. If you get done first, let me know and we can merge codes. -
You have to be careful with that 0 instead of 1 to wait. You have to make a loop to check for the install to finish or it will start the next install right away, and then the next, and the next........You could have 20 programs trying to install at the same time, eating your CPU time up. Even the wrong kind of loop will kill your CPU time.
-
That's what Lawrenca is doing with it. I myself never use it. I do clean installs only so I don't need to check for any existance of installed programs. He is doing updates to existing client computers and has already installed programs grayed out. Actually, I think he modded his code to not show the line at all. You may want to contact him for more ways he is using it. As for no errors, I mean no errors from WPI. The eval() call would throw up this error message: Error in condition statement for -program-: Treating as a false condition. You can put your own error message inside the catch(ex){;} brackets if you want. As is, nothing is reported. Which is better for a UA install. If you want, put this in there: alert("RegKey does not exists.");
-
What I don't understand is why it works fine from desktop but not RunOnceEx. Something is preventing a res change: either WPI itself because the window is opened before it calls ResChanger, so maybe mshta is to blame. But then why would it work from the desktop? Is it a Window's thing that won't allow it at this stage of installation? ResChanger does run, it just reports an error every time. Still working on it............
-
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
I have gotten the installer code working much better. I just had an idea on how to overcome all the args variations. I also figured out more for the RegEdit tweaks. RC3 should be soon, my beta testers are feeding me results and ideas. -
Did you get any error messages or anything? Did it seem to run even?
-
You have to pick a resolution different than your default, of course. Like my default is 1280x1024. I try to ResChange it down to 800x600 when WPI starts. It is one of the first things it tries to do.
-
The problem lies in the new installer. The JavaScript command, WshShell.Run(), is very rudimentary in the way it handles args. What I have to do is chop off the args and seperate them. That is is where the problem lies: where do the args really start? Not all args start with a - or /. As in your case, just words. But to be able to use spaces in the path name I have to wrap the path in quotes, but not the args. If you look in your antivirus log line, the last /passive got chopped off correct, but the rest. And CMD /C gets totally wrong. The only real solution may be leave it up to the user to put their own qoutes around the path so I don't have to try and guess. Still working on it.............
-
I think the category tool tip could be easily done. But like the topic says "5.1 Wish List". I am still working out a few bugs with the installer. That is top priority right now. But I am taking notes.
-
Is anyone having a problem getting ResChanger to work when doing a RunOnceEx full install? It works fine for me from the desktop, but from RunOnceEx it runs but says it can't change the resolution.
-
I had been working with Lawrenca on this for a few days before I figured it out. When doing a gcond[] or cond[] check for registry settings he would get the error message "....Treating as false condition....", however it goes. This method works: gcond[pn]=['try{WshShell.regRead("HKLM\\SOFTWARE\\7-Zip\\Path") != "" ? true : false}catch(ex){;}']; The try{} and catch{} eliminate the error message. Modify for your needs.
-
Almulder is correct. That version is too old. Erase your useroptons.js file and save a new one with the built-in defaults.
-
Either you aren't reading the Options wizard very closely or you have it turned off. Go into useroptions.js at the bottom: ShowMultiDefault=true; ShowOptionsButton=true; ShowConfigButton=true; ShowSourceButton=false; ShowManualButton=false; Set accordingly.
-
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
I did not change anything in the way WPI sorts/handles/displays the config list. The first thing that comes to mind is that WPI does sort the list alphabetically, as seen in the Navigation pane, and then saves it in that order. So if you then moved them around manually with a text editor, the order could be changed. Other than that, I really don't have a good answer for you. -
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
@mykz: Put the x-mplayer2 back in. One of those things works locally but not globally. Thanks. -
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Command line errors fixed. Good catch. Missed those for a long time. -
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Good point, Dynaletik. They are different. Actually there are more options you can modify. I posted a TipMessage.rar file that has a demo and customizing program in another one of the 5.0 sticky topics. Forget which one. -
@almulder: Your image links don't work. I put a onMouseOver() in on those myself once. I am going to try and get actual tab images made to look better. I was running out of time so left as is just to get it released. Next version or RC. #8 is already made, too. The problem with shell.run() is that it stays on that line until the installer is finished. There is no way to watch the diskspace being used for a progress bar. If shell.run() ran in the background, then yes it could be done. I really doubt the harddrive space will be displayed. I don't see any real reason. With today's huge harddrives, why would you really worry about running out of space?
-
The problem I have with config lister is that it only makes a list of items that have an actual ordr=[] flag set for it. If no ordr specified, does nothing. I have no order flags set in my config, so the lister exports nothing. I install by category, drivers first, then no real importance of order for the rest. If no order specified, put an X there or something: 1 .dot net framework X wireless mouse/keyboard driver ......... 10 SpyBot 11 SpywareBlaster X Joe Schmo X Mary Schmo X Other sruff ...... 1000 PaintShop Pro 1001 PhotoFiltre X Effects Stuff That way everything gets listed.
-
Here is a Tool Tip editor and demo of how to modify the Style[0] tag. TipMessage
-
Before you guys go and make code changes to your copy of WPI, could you hold off for a bit? Until the bugs gets worked out here in v5.0? I ask this because as they get fixed and posted, you download the new code, you will have to re-do everything you just modified. Perfect example: the timer wasn't displaying a count of 600 correct (10 minutes), it was showing 0:600. Kels posted a "fix" for it. Well, the code was not wrong at all. What Kels posted was correct, also. I had moved a bit of code around and it was not getting the Seconds value from useroptions.js before it parsed the timer value. So, that took out the code Kels added to timers.js, I removed code from globals.js and put it in main.js. There are now 2-3 files to will need to replace in the next RC. I don't want to make your life miserable with bug fixes messing up what you have done. Follow?
-
The config has not been altered by me in any way. EXCEPT I ensure that every line now ends in a semi-colon ( ; ). They never used to. In my book that is bad programming and could potentially lead to a slew of headaches if something in there gets messed up.
-
WPI 5.0rc2 Bug Reports
mritter replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
I see my biggest fear is being realized: how difficult it is to use shell.Run() reliably. It was never intended to be used like this; it was meant to launch programs with their paths hard-coded in, ones that never change. When you have 100s of people making custom installers things get a little dicey. I will be thinking of ideas on how to improve it. Keep the reports coming in. Thanks, guys!