
djbe
MemberContent Type
Profiles
Forums
Events
Everything posted by djbe
-
oh well, I give up, can't use an external js file well so here are the instructions on how to have music during wpi, and that it continues playing after wpi has closed. Before you start, remove the old code and files I provided a month or so ago (if you used it, wich I doubt many did ). 1 - Download Music.rar 2 - Extract the contents of Music.rar into your WPI directory, if asked to overwrite, say yes. You now should have a Music map in your common directory. 3 - place all your music files in the files subdir of Music.rar, and don't forget to update settings.ini with your new files (You can remove the sample wma provided). There are some things you mustn't change in settings.ini: StartInSystemTray=0 StartMinimized=0 You can skip this last step if you use the attached wpi.htm 4 - Now open WPI-directory\themes\default\wpi.htm (or some other theme) in any text editor. Copy - Paste the contents of music.txt (see attachement) between the HEAD-tags. Next scroll down to the place where you want the music controls to appear, and copy - paste the following code: <script language="Javascript"> write_controls(100, 10, true); </script> Where the first number is the width of the slider in pixels, 10 is the startvolume ( volume in settings.ini, but between 1 and 10, try to approximate it, 0 becomes 10, -600 becomes 5, ...), and the last value is true or false, means if the player automatically starts playing (this is for people who want to modify the script for other players). I've also included wpi.htm wich is meant to be used for the default theme, but watch out, the volume in settings.ini must be 0 if you use it. Music.rar wpi.htm music.txt
-
did you get the video res changer to work? or still need help on that?
-
almost finished, just one bug with wpi itself :S I just can't seem to be able to include my .js file in wpi.htm (no, not wpi.hta). Well, I can include it, but can't call my functions in it, really weird. If I get that fixed, I'll post it.
-
Playing Music Whilst Wpi Installs Apps
djbe replied to codeblue's topic in Windows Post-Install Wizard (WPI)
almost finished, just one bug with wpi itself :S I just can't seem to be able to include my .js file in wpi.htm (no, not wpi.hta). Well, I can include it, but can't call my functions in it, really weird. If I get that fixed, I'll post it. -
Adding Additional Variables To Be Used With Wpi?
djbe replied to durex's topic in Windows Post-Install Wizard (WPI)
hasi and other people before him dit it. kelsenellenelvian is improving wpi on other parts than that. -
Do you mean that part when it compresses all drivers (cabbing them all)? nope, that's being done through a quite simple batch program (I wrote it ) .
-
almost, just one more on friday till now everything went very well thanks
-
all files like .sy_ are actually cab archives (something like a zip archive) so if you would try to see it's contents with something like izarc (or maybe even winzip or winrar) you would see that in that archive is the file with it's full extension, so like bashrat said, the original file name + extension is stored in the archive. try the following: - take some file, for example bla.txt - use makecab on it -> bla.tx_ - rename that new compressed file to another name and extension, blabla.123 - now try to use expand on that compressed file: expand -r bla.123 what happens? yes the file is expanded, but not with that changed name, it has back it's original name: bla.txt
-
patience only can save you Just wait for someone with the answer drop by. I'm sorry but I don't have lindows/linspire, or else I would help
-
Working On Multiple Configs With One Config
djbe replied to bernr's topic in Windows Post-Install Wizard (WPI)
nice! even nicer: multiple config FILES! -
Including A Pop-up Box?
djbe replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
sure. everywhere where you want it to go to a new line (to make the box less wide) put a vbCRLF like this: Msgbox("At times during the install proccess some of the programs will use the cursor" + vbCRLF + "and answer the boxes automatically. So it is suggested that you start WPI and then" + vbCRLF + "leave your PC alone untill the installation process is complete. The system will reboot to" + vbCRLF + "complete the installation. Do you wish to continue?",VBYesNo,"Windows Post Install Wizard") for that resolution changer, add this line before the wshshell.run command that starts wpi: echo oExec = WshShell.Run("common\VideoChanger.exe 1280x1024x32@85 -q", 1, true)>>%tmp%\bla.vbs -
I expected you'd post this ← oh why...why? ugh, no more c for me, for at least a week (had an exam of it 2 days ago)
-
Including A Pop-up Box?
djbe replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
okay, I tested this a lot, and it works from cd. I also improved it a bit : echo Dim WshShell, oExec>%tmp%\bla.vbs echo Set WshShell = CreateObject("WScript.Shell")>>%tmp%\bla.vbs echo answer = Msgbox("Do you want to run wpi?", VBYesNo)>>%tmp%\bla.vbs echo if answer = 6 then>>%tmp%\bla.vbs echo oExec = WshShell.Run("wpi.hta", 1, true)>>%tmp%\bla.vbs echo end if>>%tmp%\bla.vbs echo set WshShell = nothing>>%tmp%\bla.vbs %tmp%\bla.vbs del /q %tmp%\bla.vbs Ow, yeah. An advantage of this code above that autoIt based thing: you don't need autoIt installed, or need to have to be dependand of some extra exe stored somewhere. edit: for those wondering, there is no need for 'start /wait' because the 'true' in the wshshell.run command makes it wait till the app has finished. -
Using Wpi With Multiple Computers And Network
djbe replied to Mango's topic in Windows Post-Install Wizard (WPI)
how about giving wpi some parameter to tell it wich config file to use (lets say you have 3 configs) and if it doesn't find it maybe fallback on a default config... -
Including A Pop-up Box?
djbe replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
You COULD do it with some vb script: @ECHO OFF 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:\wpi.ico set CDROM=%%i: REM If WPI should run off the CD the replace %~dp0 with %CDROM%\PathToWPI set WPIPATH=%~dp0 "%WPIPATH%\common\cmdow.exe" @ /HID start /WAIT %WPIPATH%\COMMON\RESOLUTION.EXE start %WPIPATH%\common\fontinst.exe regedit /S "%WPIPATH%\common\wpi.reg" for /F "delims=: tokens=1" %%i in ("%WPIPATH%") DO %%i: cd "%WPIPATH%" echo Dim WshShell, oExec>bla.vbs echo Set WshShell = CreateObject("WScript.Shell")>>bla.vbs echo.>>bla.vbs echo answer = Msgbox("Do you want to run wpi?", VBYesNo)>>bla.vbs echo if answer = 6 then>>bla.vbs echo Set oExec = WshShell.Exec("wpi.hta")>>bla.vbs echo end if>>bla.vbs start /wait bla.vbs del /q bla.vbs del /s/q "%Systemdrive%\Documents and Settings\%Username%\Desktop\*.lnk" del /F %SYSTEMDRIVE%\WPI.CMD shutdown.exe -r -f -t 10 -c "Reboot in 10 sec..." exit :end You can also add a title to the msgbox: Msgbox("Do you want to run wpi?", VBYesNo, "title here") -
And you don't wanna remove the if /I %naam:~-1%==_ goto end line, or else it will double compress all files... I also had a shorter version, but it needed to have makecab.exe in the same folder as the batch file...(dunno why, weird windows )
-
Driverpack Graphics - V5.02.1 & V5.02
djbe replied to Bâshrat the Sneaky's topic in The General Stuff
It seems to work now... How come they so suddenly released a new one? They have been releasing beta's for months now...I thought they would continue doing that for a while edit: wow, that tool to adjust the colors is quite handy, after trying it, everything looks 10x better! (well the colors atleast ) -
Bts Driverpacks - General Discussion
djbe replied to Bâshrat the Sneaky's topic in The General Stuff
Well, I tried on another compiler, and it seems to output a non .net program. Just try to open the program in the attachement. If it works for you (and you DON'T have .net) then it's fixed addline.rar -
Bts Driverpacks - General Discussion
djbe replied to Bâshrat the Sneaky's topic in The General Stuff
you need to have .net framework installed. does anyone know how to compile a program (c language) in visual studio .net 2003 so that it DOESN'T need .net framework? -
Please wait a few weeks, I'm almost in the middle of exams, and don't really have time to fix it. But I WILL fix it! So please, a bit of patiences
-
Bts Driverpacks - General Discussion
djbe replied to Bâshrat the Sneaky's topic in The General Stuff
check this thread for the txtsetup.oem error: http://www.msfn.org/board/index.php?showtopic=40218 -
Maybe a few of you had problems when trying to download the drivers tonight. This should have been fixed. It's because I had to do some testing for some automatisation... But well, better having a few minutes of trouble, and faster pack's updates in the future
-
Bts Driverpacks - General Discussion
djbe replied to Bâshrat the Sneaky's topic in The General Stuff
Fixed -
Maybe, but that's a big MAYBE, google will give the account back (let's hope so)... but until then (or another sponsor), the DP's arn't availible. hey, ClickXchange.com seems quite good ...