Jump to content

Swimming_Bird

Member
  • Posts

    378
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Swimming_Bird

  1. it would be nice if someone with java knowledge could sode some way to make that sort of option more easily availible, it would be a pain to get the UIDs ove everything in every catagory then having to modify them all whenever you add new items also you can disselect them all like this prog[pn]=['No Powertoys'] uid[pn]=['NPTY'] excl[pn]=['ALTTAB','VIRDM','TWEAk','MAG','CLEAR','IMG','CALC'] cat[pn]=['PowerToys'] pn++ once again pretty obvious but better have it documented then not
  2. got a sample script you can share?
  3. Iono, i just used -R and copied the setup.iss file over then installed with -s and it worked fine.
  4. I'm sure a lot of you know how to do this but i figured i'd document, this is the code i used to have a button to select all the powertoys. prog[pn]=['All Powertoys'] uid[pn]=['APTY'] deps[pn]=['ALTTAB','VIRDM','TWEAk','MAG','CLEAR','IMG','CALC'] cat[pn]=['PowerToys'] pn++
  5. i just have wpi call a batch file.
  6. i just used installrite to make my own installer that was pre-registered
  7. somehow get the directory mounted as a cd, you can share the directory and mount it in the virtual machine then just run the wpi.cmd file
  8. i want to have a directory where i can just dump my extensions and not have to worry about rebuilding a default profile. i may just try to use autoit for this.
  9. when i use -install-global-extension after i use simon's silent install it brings up the import settings diologue. is there any way to get rid of this?
  10. i think i found the issue. it was in generate.js here is my original function FindCDRom() { position = "generate.js"; var i, li; if (foundCDdrv) return cddrv; li = GetCDRomDriveLetters(); for (i=0; i<li.length; i++) { if (FileExists(li[i]+'\\WPI.ico')) { cddrv = li[i]; debug("Found CDROM as drive " + cddrv,1,2); } } if (cddrv=="") { a = fso.GetAbsolutePathName("."); while (a.length>=3) { //debug("Trying ... " + a, 1); if (FileExists(a+'\\WPI.ico')) { cddrv=a; debug("Found CDROM as folder " + cddrv,1,2); break; } if (a.length==3) break; a = a + "\\.."; a = fso.GetAbsolutePathName(a); } } if (cddrv=="") { cddrv = WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Setup\\SourcePath") + "\\"; cddrv = cddrv.substr(0,3); debug("Found CDROM as from registry " + cddrv,1,2); } foundCDdrv = true; return cddrv; } i'm gonna try and replace all the wpi.ico's with WIN51 and run it again.
  11. Which is better for what? Robocopy vs xcopy vs copy ive been using robocopy to backup my files i was just wondering what situations were better for which tool?
  12. wow that looks way to complex, here is my wpi thing: prog[pn]=['Open Office 1.1.4'] uid[pn]=['OO14'] desc[pn]=['Open Source Alternative to Microsoft Office.'] cmd1[pn]=['%cdrom%\\$OEM$\\Install\\OOo_1.1.4_Win32Intel_install\\setup.exe -r:openoffice.txt -alluser'] excl[pn]=['O2K3'] dflt[pn]=['yes'] cat[pn]=['Office'] pn++ and here is my openoffice.txt [Environment] InstallationMode=INSTALL_NORMAL DestinationPath=C:\Program Files\OpenOffice [Java] JavaSupport=preinstalled_or_none [Windows_Desktop_Integration] Register4MSWord=True Register4MSExcel=True Register4MSPowerPoint=True RegisterAsDefaultHTMLEditor=False there is a way to generate that txt file but i forget how. the txt file is the response file.
  13. thanks but that doesnt really help me. seeing as i would like to keep my install files and my wpi files not in the same directory. if this is the only way to make it work of course i will do it that way but i would like to know how/why i'm getting my error so i can better understand wpi. i can coax mine into working but i would ike it tow work as i intended originally.
  14. what resolution do you have it set on when you use the default theme?
  15. i still dont see how the %cdrom% variable is passed on, there must be some way in which for yours %cdrom% is defined. for me somehow it is being defined as the directory in which wpi.hta is being run from. regardless of if i rn it through the command script or if i run it directly.
  16. after some more tinkering what is happening is that it is treating the %cdrom% variable within the config.js as whichever directory i run my wpi.htm from. the wpi.cmd doesnt seem to have anything to do with it which makes sense because there is nothing that passes the %cdrom% variable to wpi.htm. astalavista i could prolly use your help with this as i have seen that your config.js has %cdrom% in it. thx
  17. i dont see why $oem$ wouldnt work with %cdrom% its just a folder name, and i dont want to run it from the local HDD.
  18. i've tried that, and i was wondering how it even passed the %cdrom% or %wpipath% variable on. i didnt think it did. i just need to try and find a way to define %cdrom% propperly within wpi.
  19. none of my files are copied over. only things in $oem$\($Docs $Progs $$ $1) are copied to the HDD
  20. i dont see how that would work because my install files are in %cdrom%\$OEM$\Install and wpi runs from %cdrom%\$OEM$\WPI while i can change my directory structure i'd rather not if i dont have to.
  21. My WPI is in %cdrom%\$oem$\WPI and all my software to be installed is in %cdrom%\Install this is my wpi.cmd @ECHO OFF REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico). for %%i in (C 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:\WIN51 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%\$OEM$\wpi. set wpipath=%cdrom%\$OEM$\wpi REM Force resolution to needed size for wpi interface. REM start "%wpipath%\common\VideoChanger.exe" 1280x1024x32@85 -q REM Font installation - the easy way for /R %%i in ( *.ttf ) do ( echo Installing font %%~ni.ttf copy /Y "%%~fi" "%windir%\Fonts" > nul "%WPIPATH%\common\installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul ) REM Special registry tweak needed. regedit /s "%wpipath%\common\wpi.reg" REM Make WPI directory the current directory for /F "delims=: tokens=1" %%i in ("%WPIPATH%") DO %%i: cd %WPIPATH% REM Start WPI and wait for its end start /wait WPI.hta REM call any cleanup code here, or after this script. exit :end This is a sample from my config.js prog[pn]=['O&O Defrag v6.5.851 Professional'] desc[pn]=['Advanced Defrag Program.'] cmd1[pn]=['%cdrom%\\$OEM$\\Install\\O&ODefrag.6.5.851\\O&ODefragProfessionalEdition.msi /QB'] regb[pn]=['%cdrom%\\$OEM$\\Install\\O&ODefrag.6.5.851\\def6170.reg'] dflt[pn]=['yes'] cat[pn]=['System Tools'] pn++ If my cd rom drive is z:\ it will try to run z:\$oem$\wpi\$oem$\install\blahdir\blahsetup.exe i tried all the modifications shown in this thread and i have tried to set the directory to %cdrom% and run %cdrom%\$oem$\wpi\wpi.hta but i get the same error. for some reason no matter how i change my wpi.cmd it gives the same error.
  22. just out of curiocity what was your original file structure like. this seems like it was HEAVILY customized and looks awesome
  23. given the fourm i thought it was obvious but i was looking for a unattended install method
  24. My WPI is in %cdrom%\$oem$\WPI and all my software to be installed is in %cdrom%\Install this is my wpi.cmd @ECHO OFF REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico). for %%i in (C 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:\WIN51 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%\$OEM$\wpi. set wpipath=%cdrom%\$OEM$\wpi REM Force resolution to needed size for wpi interface. REM start "%wpipath%\common\VideoChanger.exe" 1280x1024x32@85 -q REM Font installation - the easy way for /R %%i in ( *.ttf ) do ( echo Installing font %%~ni.ttf copy /Y "%%~fi" "%windir%\Fonts" > nul "%WPIPATH%\common\installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul ) REM Special registry tweak needed. regedit /s "%wpipath%\common\wpi.reg" REM Make WPI directory the current directory for /F "delims=: tokens=1" %%i in ("%WPIPATH%") DO %%i: cd %WPIPATH% REM Start WPI and wait for its end start /wait WPI.hta REM call any cleanup code here, or after this script. exit :end This is a sample from my config.js prog[pn]=['O&O Defrag v6.5.851 Professional'] desc[pn]=['Advanced Defrag Program.'] cmd1[pn]=['%cdrom%\\$OEM$\\Install\\O&ODefrag.6.5.851\\O&ODefragProfessionalEdition.msi /QB'] regb[pn]=['%cdrom%\\$OEM$\\Install\\O&ODefrag.6.5.851\\def6170.reg'] dflt[pn]=['yes'] cat[pn]=['System Tools'] pn++ If my cd rom drive is z:\ it will try to run z:\$oem$\wpi\$oem$\install\blahdir\blahsetup.exe i tried all the modifications shown in this thread and i have tried to set the directory to %cdrom% and run %cdrom%\$oem$\wpi\wpi.hta but i get the same error. for some reason no matter how i change my wpi.cmd it gives the same error.
  25. no one knows?
×
×
  • Create New...