Jump to content

mritter

Member
  • Posts

    1,094
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by mritter

  1. It is done. Here is the ChangeLog.txt instructions: If you have any other ideas for it, please post them.
  2. A lot of people seem to still have a large mix of x86 and x64 software and are confused on how to install the correct one. I think I have an idea on how to ease the process: In Config Wizard I am going to add {x86} and {x64} to the drop-down menu. Use these to specify each installer, make 2 entries, but then no need for Cond statements. Then when starty installing it will check what system you are on and either skip or install the program. {x86} D:\MyProgram_x86.exe /s {x64} D:\MyProgram_x64.exe /s Do everything 32/64 bit specific twice. Then when start installing, as WPI goes down the list of commands, if find {x86} but on a 64bit system it will skip it. Then if find {x64} it will install it. WPI will not look ahead and check if they exist. Simple check, skip or install. You can still do 32/64 checks in Conds to hide the items altogether still. This will help make it a bit easier. Sound like a simple/good enough approach?
  3. No, bit64 is NOT for what myselfidem described above. It is to force the system to use the x64 version of cmd.exe, cscript.exe, etc. Do it like Ricktendo showed.
  4. That's weird. It was always before 8.0. So this is probably an entirely new issue. Never ends.....................
  5. Office has always been a problem for WPI. It is something in the Office installer. It must use something in the Internet Explorer "core" that interferes with WPI's use of mshta.exe. That is why the launcher (wpi.exe) was made: to alter some reg keys for IE and use the proper x86/x64 version. When the Office installer is nearing completion it does something that "confuses" the mshta. I am beginning to think that it "refreshes" the hta like IE does for a web site. The script is restarted, making it use the defaults, not what you originally specified. You probably have seen the desktop refresh during some programs' installation. The icons go blank, the screen flashes, the icons slowly redraw. It does it again. The desktop is iexplore.exe. Parts of which are in Internet Explorer. Parts of which are in MSHTA.exe. Link them together and one can/will affect the other, intentionally or not. There is no cure for it. It's Microsoft Herpes. (I just made that up.....sounds like a new t-shirt to make my million dollars).
  6. These are the codes WPI uses to check for French. Are they correct? arrOSLang[i++]=new AddLocal("French - Belgium","FRB","080c"); arrOSLang[i++]=new AddLocal("French - Canada","FRC","0c0c"); arrOSLang[i++]=new AddLocal("French - France","FRA","040c"); arrOSLang[i++]=new AddLocal("French - Luxembourg","FRL","140c"); arrOSLang[i++]=new AddLocal("French - Monaco","FRM","180c"); arrOSLang[i++]=new AddLocal("French - Switzerland","FRS","100c");
  7. EMail me your config. There may be a page numbering issue that I didn't see since my config is much smaller.
  8. All categories will be the same color. Each one can not be different.
  9. WPI looks at the 4 digit language code (1033 (0409 hex) for English ENU) to determine the language. I updated the code a little bit. But it will return the first found code, even if multiple exist. So, in your lang.ini file there has to be some way to set the code, but to which, I don't know.
  10. Fixed: Time stamp issue. Hmmmm: the numbering system has always been 000010, 000001, 000100, etc. Will look into it.
  11. Will get it added for 8.2.0 release. There already is a Vista Ultimate theme. Give it a new name.
  12. I have never come across that space issue. That is purely a typing only box. I tried it a few times with no extra space. Let me know if it happens again and what you did to make it happen.
  13. For a script you can use whatever you want. For a program, look at the install log. It will be 0 for success, 1 for error (no details given), 999 is my designation/default fail code, usually meaning file does not exist. You won't know any other codes until you get an error in the installation and look in the install log. Or google it.
  14. ChangeLog.txt is always current. The manual is Kel's job to keep up to date. But as you have seen, he is lagging way behind. Quick explanation: You are installing a program, gets 90% done but requires a reboot to finish. It closes and return's a code of 75 (example). If you tell WPI that, it will reboot and start at the same entry again. When it's done it will return 0 for done/no error. Mostly it will be for a script. Start script. Do some stuff. Need a restart. Exit code 99. WPI reboots. Starts again at script. It continues on (with internal checking,of course). Do some more stuff. Exit code 0. Done.
  15. The IP settings from Network Wizard are used for the specified user. The actual items in the main window would have to assigned to Configurations. The wizard is really meant for IT people setting up multiple computers in an office. Make a Configurations entry for Jeff, Bob, Sue, Mary, etc. In Config Wizard, for each entry add who they are meant for (can be multiple people). Then on main window pick that Config and it will select all the entries with their name.
  16. One thing you can try is deleting the reg key folder with RegEdit: HKCU/Software/WPI Reset an aborted install, possibly.
  17. @CoffeeFiend: I had just updated the code code to something much simpler, getting rid of the text search. I never did like that, mainly because of different locales. I will be switching over to your method, though. Thanks for the code snippet. @Franner: I sent you a beta copy of v8.2.0. Let me know the results.
  18. 1. From the copy/paste. Not intentional. Css would not go a Cond statement 2a. Try it and find out 2b. Scroll down the css and you will see them.
  19. Let's make sure we are both reading this the same: In Alt+G if Internet Connection is true, you are online; if false you are not. It does not mean "Allow for check for internet" is enabled/disabled. The Allow checkbox has to be checked for WPI to do an online check. ConnectedToInternet() and !ConnectedToInternet() are what you want to use.
  20. The WPI.exe checks your system and then uses the x86 or x64 MSHTA to open WPI.hta with. It also elevates itself to Admin.
  21. Doh! on my part. It has been so long since I actually did this. I had in my head Windows checked both automatically, but now that I see your second example with %programfiles(x86)%, it came back to me. Try this, one long line: [color=#1C2837][font=verdana, arial, tahoma, sans-serif][size=2]!fileVersionGreaterThan("9.3.3.177",getFileVersion("%programfiles(x86)%\Adobe\ Reader 9.0\Reader\AcroRd32.exe")) || [/size][/font][/color][color=#1C2837][font=verdana, arial, tahoma, sans-serif][size=2]!fileVersionGreaterThan("9.3.3.177",getFileVersion("%programfiles%\Adobe\ Reader 9.0\Reader\AcroRd32.exe"))[/size][/font][/color] That will check both folders using the || for OR.
  22. I am building a dynamic database in JSON with a JavaScript HTA. I am stuck on "visualizing" how to traverse the array. The easiest way I can explain this in something everyone knows is an email program's Inbox folders. You start out with an empty folder, all the new messages go in it. Fine. Now, the user wants to add a sub-folder, Mark, and sub-folder Work. Fine, I can do that. Building it is easy. Inbox ---Mark (folder) ---Work (folder) .....messages in Inbox root not in a sub-folder.... Now the user is going crazy: Inbox ---Mark (folder) ---Work (folder) ------Accounting (folder) ------Shipping (folder) ---------National (folder) ---------International (folder) This is all fine if I make the JSON array "hardcoded" from the start so I would know how to access it: Inbox[1].Work[1].Shipping[0].National[0].Message1 BUT, it was created by the user, so how do I step through the dynamically created JSON database not knowing the names (per se) and the depth of the array? Essentially, I need a JavaScript database that will traverse the array for me looking for the ID (or whatever tag) I give it: var message=jsonDB.find("ID","f7df68yfudsaf67fd"); or var message=jsonDB.find("From","eat@joes.com"); That returns an object pointing to that email message, in which I can do: message.From="eat@joes.com"; message.To="bugs@bunny.com"; The same issue above also carries over to deleting the email message, deleting entire folders, etc. var message=jsonDB.delete("ID","87hds732h"); I looked at TaffyDB but what I tried didn't work. It doesn't seem to like nested arrays.
×
×
  • Create New...