Jump to content

Ghost_Shield

Member
  • Posts

    14
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by Ghost_Shield

  1. Kelsenellenelvian Yeah, I know but this function would be a restart after a category is finished installing, before the next category starts. Lets say you had several programs that you want to install and serval updates to those programs which need to be installed after the program is installed and the computer has been restarted; The idea is that you will be able to do this without having to restart after each individual program install. You would just install all the programs then restart then the updates. Clear as mud! Like I said earlier there are plenty of work arounds but an actual function for this would be alot cleaner
  2. Hey Kelsenellenelvian, developers, and other users, Just got back into updating my WPIW and came across something you might want to add it. I have a category called Uninstall which contains a list of old programs to uninstall before the new ones get installed in a different category. What I need WPIW to do is restart after all the uninstall programs (from the Uninstall category) have been executed. Kind of a restart after category install complete command. P.S. I know you can do several workarounds to get this to work but I thought it would be alot cleaner to add specific functionality to the progam.
  3. Hi all, I wrote a script that checks the registry for a value and returns true if the registry value was found, and false if it was not. Simply add the following to core.js for it to work. function RegExists(enteredkey, regvalue) { position="core.js"; whatfunc="RegExists()"; var regshell = new ActiveXObject("WScript.Shell"); try{ regkey=regshell.RegRead(enteredkey); }catch(ex){;} if(regkey == regvalue){ return true; }else{ return false; } } I use this function on my uninstalls to grey out the lastest version of the software so that they are not removed when running the WPI. This example shows how to uninstall Spybot S & D but it will only uninstall it if the version 1.4 is not installed. prog[pn]=['Uninstall Spybot - Search & Destroy']; ordr[pn]=[1]; uid[pn]=['UNINSTALLSPYBOTSEARCHDEST']; dflt[pn]=['no']; cat[pn]=['Uninstall']; forc[pn]=['no']; cond[pn]=['FileExists("%programfiles%\\Spybot - Search & Destroy\\unins000.exe")']; gcond[pn]=['RegExists("HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\uninstall\\Spybot - Search & Destroy_is1\\DisplayVersion", "1.4")']; cmd1[pn]=['"%programfiles%\\Spybot - Search & Destroy\\unins000.exe" /SILENT']; pn++; Please consider adding a feature like this, or even this code to future version of WPI. Regards Ghost Shield
  4. Hi all, I've been stuffing around with the generate.js file trying to fix this problem. I think what is the problem is the following if statement from FindCDRom() doesnt work. if (LaunchFromCD=="no") FindFile="WIN51"; else FindFile="WPI.ICO"; I believe this because when i change the "no" to a "yes" all my problems are solved. Could someone double check this for me so if it is a problem it can be fixed in the next version? Thanks Ghost Shield
  5. Hello, I thought is was highly recommended to run with at least some page file... but anyway A couple of things that I would check are: Is there any bad sectors on the Hard drive Spyware and virii are a pain double check them too Is this a fresh install of windows? If not reinstall and see if you still have the same problem. Hope this helps Ghost Shield
  6. Hi again. Malfunction, The code you posted is what i currently have. Kelsenellenelvian (Hope i spelt that right), Below is WPI.cmd. As I said before it seems to detect the CD-ROM correctly here but running the applications doesnt. Thanks for your help Ghost Shield @ECHO OFF REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD. FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WPI.ico SET CDROM=%%i: echo Found CD-Rom as drive %CDROM% REM Determine the WPI startup path. REM if wpi should run off the cd the replace %~dp0 with %cdrom%. set wpipath=%CDROM% REM Hide this command window. REM %wpipath%Tools\cmdow.exe @ /hid REM Force resolution to needed size for wpi interface. REM %wpipath%Tools\ResChange.exe -width=1280 -height=1024 -depth=max -refresh=max REM Font installation - the smooth and customizable way. REM start /wait %wpipath%Tools\fonts\fontinstaller.exe REM Special registry tweak needed. regedit /s %wpipath%common\wpi.reg REM Make WPI directory the current directory. REM cd /d "%wpipath%" REM Start WPI and wait for its end %wpipath%wpi.hta REM Undo registry tweak. regedit /s %wpipath%common\undo.reg REM Cleaning up the desktop. REM del /s/q "%userprofile%\desktop\*.lnk" REM Rebooting the sytem to finalize the installation process. REM shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..." exit :end
  7. Hi, We need some more information. What site? Check the firewall on the host machine Ghost Shield
  8. Hi, I think you need the Dell Restore CD. It would probably install drivers for Mouse and Keyboard support during the install. In my experience computer by Dell, IBM, COMPAQ/HP, etc need to use their windows install CD's to install everything correctly. Check the Dell Website see if you can order one or contact them and tell them what is happening. Maybe they can help. Ghost Shield
  9. Hi, Generally the CDs that come with laptops are a factory default image of the hard drive, ie the state when you get it. The 3 cd's indicate that there are XP, drivers and application like battery management. I would feel pretty safe in saying that the drivers are on those cd's. Check Sonys website cause you can normally download that stuff. If you want to be absolutly certian run a Ghost of the hard drive (if you know what Ghost is:http://www.symantec.com/home_homeoffice/products/overview.jsp?pcid=br&pvid=ghost10) then reinstall. Good luck. Ghost Shield
  10. Hi, Thanks for the reply. I thought so too but when i put that switch in all i get is "Windows cannot find 'E:\\install\winamp\winamp.exe' Make sure ... " Any other ideas?
  11. Hello, I had this problem with some netgear cards. Check your drivers and stuff. I found that my wireless router was a bit "special" on bootup and sometimes didnt work properly. Hope this helps Ghost Shield
  12. Hi, Yeah that's normal. If you want to change it to some customized value just do so. By default virtural ram is about 1.5 times your physical ram size. Its a computer standard, not just HP. Ghost Shield
  13. Hello, I used one ages ago (like 7 years) called CoffeeCup. Give it a wirl. http://www.download.com/3000-2186-10028912.html
  14. Hi Everyone. Im fairly new to this program and basically what i am trying to do is make a cd with an autorun of the WPI interface. When WPI executes a program it is looking in the wrong drive for the exe. The WPI.cmd is correctly detecting the right CD-ROM but when it comes to executing the programs from WPI.hta it always selects the drive one letter before the correct one. ie. My CD-ROM is F: and WPI.cmd detects it as such. When i installs Winamp, for example, the message "Windows cannot find 'E:\install\winamp\winamp.exe' Make sure ... " occurs. Below is a copy of the code from config.js ... prog[pn]=['WinAmp'] uid[pn]=['WINAMP'] picw[pn]=['128'] pich[pn]=['128'] desc[pn]=['WinAmp 5.21'] textl[pn]=['Bottom'] texti[pn]=['1'] ordr[pn]=[12] cmd1[pn]=['%CDROM%install\\winamp\\winamp.exe /S'] gcond[pn]=['FileExists(\'%programfiles%\\\')'] cat[pn]=['Applications'] pn++ ... Any ideas on how i can fix this would be greatly appriciated. Thanks in advance
×
×
  • Create New...