Jump to content

mritter

Member
  • Posts

    1,094
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by mritter

  1. You will have to insert a command to MAKEDIR for the destination folders first. It may take 2 or more calls, one for each sub-folder. MAKEDIR "%ALLUSERSPROFILE%\\Application Data\\Apple Computer" MAKEDIR ""%ALLUSERSPROFILE%\\Application Data\\Apple Computer\\QuickTime\" Then copy your file.
  2. In the Options wizard, I no longer like the tab title Installer. Some of the items refer to the WPI main boxes display. Some do pertain to the installer....... Post some ideas of what it can be changed to. Maybe you will win $1,000,000!!!! No purchase necessary. Void where prohibited. Must be between 14 and 60 years old to participate. This post has no cash value.
  3. In doing some other testing, I managed to make WPI crash (on purpose, sort of......). Anyway, this left all the USSF reg keys in tact. That really messed things up. No I do delete of all 10 keys when exit WPI just in case. Maybe you could do this also, Alex?
  4. I also just added JSCRIPT=TimedWaitForDelete(delay,file,timeout) This could be used to check if an installer temp file has been deleted. delay is number of seconds before start checking.
  5. Try it with double backslahes \\ instead of singles
  6. I just implemented this excellent idea. I have wanted something like this for a while. In your commands, do things like this: JSCRIPT=alert("Opens a window") Use WPI's commands to write directly to registry without RegEdit JSCRIPT=WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\WPI_Rocks",1,"REG_DWORD") New function JSCRIPT=TimedWaitForFile("C:\Program Files\WinRAR.exe",10) Waits 10 seconds while checking if the file exists. Will continue once file does exist or reaches timeout. Simple way to really wait before moving on to next command. Handy for installers that "exit" before really done. This might be something to look at for Office installations...............??????
  7. Cond/GCond is a strange beast. Try it this way: RegKeyValue("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization") != "Organisation" It is like it wants the opposite of what you think it is.
  8. Multiple dependencies.......will take some looking into..........
  9. @TheFastOne: Avoid WMI error message See if this helps any. I have not tested it myself.
  10. Read some where else about WMI not being started yet. Try this updated code in core.js // %OSLANG% var Enum, DtoH; CreateLocalArray(); try { OSProps = GetObject("winmgmts:").InstancesOf("Win32_OperatingSystem"); winMgts = new Enumerator(OSProps).item(); // OSLanguage = 1033, 1036, .... // Language ID in Dec try { Enum = winMgts.OSLanguage; } catch(ex2) { Enum=1033; } DtoH = DecToHex(Enum); while (DtoH.length<4) DtoH = "0" + DtoH+""; for (var x=0; x<arrOSLang.length; x++) { if (arrOSLang[x].LCID == DtoH) { oslang=arrOSLang[x].TLA; oslocale=arrOSLang[x].Locale; break; } } } catch(ex) { oslang="ENU"; oslocale="English - United States"; } The try/catch may prevent the error message, and default to "ENU" and "English - United States" for the language/locale.
  11. That call has been on place for over 18 months, so I really don't think it is a problem with WPI, something you have done with your Windows DVD. Open a command prompt window and launch it from there to see if you get the same error. Works fine for me.
  12. Thanks. I already have this fixed. Same idea you had: core.js // %wpipath% wpipath = unescape(document.location); wpipath = wpipath.substring(0,wpipath.lastIndexOf("/")); wpipath = wpipath.replace("file:///","").replace(/\//g,"\\"); if (ResumeInstall) wpipath=wpipath.substring(0,wpipath.lastIndexOf('\\')); //Remove the 'Common' folder from wpipath
  13. I experienced the "bug" once myself. I just tried it again, worked fine. One thing I did notice is when you send the args back to WPI but keep USSF open, WPI is blocked.
  14. SiriusSG, are you installing from a cd/dvd and have done a reboot? In the previous versions of WPI the cdrom check did some I didn't care for. They have been removed in the latest version. The old cdrom check did a regentry check for where the original Windows was installed from, ie, D: cdrom drive. When you have multiple partitions the cdrom can get pushed up to G:, which happens on my system. That is where the path error arises. Took me a while to track it down. Only did it after a reboot. Anyway, that has been eliminated and a true check for the first cd/dvd is in place and working.
  15. Using any system variables, ie, %wpipath%, work fine. As far as auto-replacing C:\WPI\xxx.exe with %wpipath%\xxx.exe, that can be done, too. I left it out on purpose for more flexibility for launching programs. Say, you did an install, rebooted, install one last item, Execute After could then run CCleaner, for example. That wouldn't be in %wpipath%. I see your point in wanting it, but also limits you. So I will leave it out for now unless demand for it changes my mind.
  16. I have an idea on what it MIGHT be. I will look in to in the next few days.
  17. Right, it was. But installer.js is where the log entry is called from, not wpi.hta. In installer.js I updated function OpenLogFile() { position="installer_log.js"; whatfunc="OpenLogFile()"; var logFile; var stamp, month, date, hours, minutes, seconds; var TheDate = new Date(); if (LogInstallation) { if (LogPath=="") .......... } else write default blank reg key here } function LogGlobalVariables() { This way if Log Installation is checked the official key is written. If not checked a blank one is written just so the read won't error.
  18. Thanks. I put your additional line in install_log.js instead. A "default" entry was not being written. It now writes a "blank" path if Log Installation is not checked.
  19. Finally! Fixed it in ALL themes. It was a leftover call in some, but not all, themes that needed to be removed. I spent 3 hours working on it when I had it right away, just didn't realize the steps I took. If you want to fix it now yourself, go in your theme folder and edit wpi.htm, change this line: onClick="checkInstall('install'); ExitWPI();"> to onClick="checkInstall('install');">
  20. FIXED! .............. in one theme only. It is something that got carried over from my Corporate version, which is now a regular theme (making my life much easier), that was affecting all the regular themes. Now that I have it narrowed down it should be easier to find. This also "cures" another bug that is related.
  21. ttInstall[lang] = ['îúçéì äú÷ðä\', \'ìçõ òì äçõ äéøå÷ ëãé ìäúçéì'];
  22. I would say you have an error in your config file: a missing quote, a single backslash \ instead of 2 \\, etc.
  23. This is at LEAST the 7th time for this post. IT HAS BEEN FIXED IN THE NEXT VERSION RELEASE!!!!!!!
  24. In Options -> Installer: Is install by category checked?
×
×
  • Create New...