
Swimming_Bird
MemberContent Type
Profiles
Forums
Events
Everything posted by Swimming_Bird
-
Selecting All Items
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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 -
got a sample script you can share?
-
Iono, i just used -R and copied the setup.iss file over then installed with -s and it worked fine.
-
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++
-
Dos Commands Inside Wpi?
Swimming_Bird replied to cparker's topic in Windows Post-Install Wizard (WPI)
i just have wpi call a batch file. -
i just used installrite to make my own installer that was pre-registered
-
Wanting To Test My Wpi
Swimming_Bird replied to Ctwizzy's topic in Windows Post-Install Wizard (WPI)
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 -
-install-global-extension With Firefox Not Ua
Swimming_Bird replied to Swimming_Bird's topic in Application Installs
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. -
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?
-
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
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?
-
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.
-
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
Only 2 Apps Display Per Page
Swimming_Bird replied to wizzbangca's topic in Windows Post-Install Wizard (WPI)
what resolution do you have it set on when you use the default theme? -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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 -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
none of my files are copied over. only things in $oem$\($Docs $Progs $$ $1) are copied to the HDD -
Issue With Calling Installers From Wpi
Swimming_Bird replied to Swimming_Bird's topic in Windows Post-Install Wizard (WPI)
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. -
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.
-
Show your latest WPI.....
Swimming_Bird replied to bonedaddy's topic in Windows Post-Install Wizard (WPI)
just out of curiocity what was your original file structure like. this seems like it was HEAVILY customized and looks awesome -
given the fourm i thought it was obvious but i was looking for a unattended install method
-
Getting 3.3.5 ready.......
Swimming_Bird replied to bonedaddy's topic in Windows Post-Install Wizard (WPI)
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. -
no one knows?