djbe
Content Type
Profiles
Forums
Events
Posts posted by djbe
-
-
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
:endYou can also add a title to the msgbox:
Msgbox("Do you want to run wpi?", VBYesNo, "title here")
0 -
the IF /I blabla things are exclusions; files that should NOT be compressed
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 )
0 -
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
0 -
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
0 -
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 ...
0 -
hmmm... It worked for me... I'll debug it later (got exams in 2 weeks )
0 -
It has been mentioned in other topics that those arn't availible for a while
edit:
but for the moment there is a little bug in the site:when you try to access the driverpacks site, you may get a 404 page not found error. It's a little error that will be fixed very soon (probably tomorrow). In the meanwhile use the blue menu to access those pages.
This has been fixed
0 -
How about implementing an MP3 player with pause and stop button, as well as autoplay/no autoplay. This would be nice...
look at my reply in the unattended audio player topic... (when I'll have some spare time, I'll continue to work on it to implement a volume slider and maybe other things...)
0 -
The hide button is working now
but for the moment there is a little bug in the site:
when you try to access the driverpacks site, you may get a 404 page not found error. It's a little error that will be fixed very soon (probably tomorrow). In the meanwhile use the blue menu to access those pages.
0 -
@batman75: I think I've got an even better idea: what if we could /hide/ the download button after you've clicked the ads, and let ONLY appear the actual download link/button?Even better Bash
Ready, just waiting for bash to upload it
0 -
Ok
I've written a javascript, and it's working
but I need some graphics for 'volume up' and 'volume down' (normal, down, active).
Next and previous don't work (dunno why) but play/pause and stop work.
just extract the files in your WPI dir. answer yes if asked to overwrite. Sorry fot the big file size, but it includes a sample wma file (from the ms installation ).
Removed, see newer post
0 -
You could use a
START nameofyourprogram.exe
without the /WAIT option...
With this, the programs will start at ALMOST the same time
0 -
I've also found that if Protowall is running then you dont get the Ads showing
Ok, added to list of Notes. Thanks a lot!
0 -
weird...
Does IE show that little icon on the bottom left of your window when clicking on the button (aka a script error)? Is there anyone else who has this problem? I'm working on a fix, but just for testing, when you click on any link in my first post, does it open in the same window or in a new one (take for example the link to driverpack base)?
0 -
Alanoll:
are you using firefox? If so, check your settings about opening new pages, it's under the 'advanced' part of your FF settings.
edit:
the donate buttons have been fixed. They now stay in the same window instead of opening a new one.
0 -
ive said before im using the latest available ie... java enabled, popup blocker is google which i hold ctrl to bypass, but that wouldnt affect the ads since the page that is supposed to have the ads load fine without me holding ctrl...i need to know the address for the ads so i can remove from my hosts file...and as i said, usually when blockin ads, you get a red x (or an x) where the ads are sposed to be, this is called a placeholder...i do not have a placeholder for the ads.
do you mean iframes? cause the google ad produces an iframe, dynamically with java script:
it uses some "document.write" so that it dynamically writes an iframe tag to the page
in that iframe, the ad itself is loaded. But uhm, the location of the ad? It changes everytime...
Using Firefox's DOM inspector, you could find it... These are some I got:
pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2034169551702599
&dt=1108462156093&lmt=1108316628&format=468x60_as&output=html
&channel=3572489167&url=http%3A%2F%2Fwww.btsunattended.net%2FProjects%2FDriverPacks%2F
&color_bg=FFFFFF&color_text=000000&color_link=0000FF&color_url=008000&color_border=336699
&ad_type=text&u_h=768&u_w=1024&u_ah=745&u_aw=1024&u_cd=32&u_tz=60&u_his=1
&u_java=true&u_nplug=16&u_nmime=56
pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2034169551702599
&dt=1108462587531&lmt=1108316629&format=468x60_as&output=html
&channel=3572489167&url=http%3A%2F%2Fwww.btsunattended.net%2FProjects%2FDriverPacks%2FLAN.htm
&color_bg=FFFFFF&color_text=000000&color_link=0000FF&color_url=008000&color_border=336699
&ad_type=text&ref=http%3A%2F%2Fwww.btsunattended.net%2FProjects%2FDriverPacks%2F
&u_h=768&u_w=1024&u_ah=745&u_aw=1024&u_cd=32&u_tz=60&u_his=2&u_java=true&u_nplug=16&u_nmime=56
As you can see, the part in bold will also change for every different page you see. The 'dt=xxxxxxxxxxxxx' will change the ad itself.
edit: woops, those links are kinda wide
edit2: Hey, little question: if you can't see bashrat's ad, can you see the google ad on the msfn site?
0 -
Here's a little guide for those who can't download the driverpacks... Let's take as example the driverpack BASE (click on the images to see a bigger version, I lowered the quality for 56k users )
Note: If you have a popup blocker, please disable it (or use a function to disable it temporarly (generally holding the CTRL key while clicking).
Note 2: Please have Javascript enabled, and have a browser that supports Javascript 1.2. If you have the latest browerversion, like Internet Explorer 6 or FireFox, there should be no problem.
Note 3: If you have Protowall running, it will block the ads (so that they won't be shown). You won't be able to click on the ads to make the links appear. Please disable Protowall temporarly or maybe configure it to allow the ad (I don't use the program, so I don't know it's features)
STEP 1
Goto this page: http://www.btsunattended.net/Projects/DriverPacks/BASE.htm
You will see a link on the bottom of the page: "Download It". Click on that link.
STEP 2
On this page, you'll see a description of the file (size, ...). Click on the "Download button"
STEP 3
A new window should have opened. In this new window, you'll see a license agreement. Now you have two options. The first one is clicking on the ad on top of the page, and WAIT till the page is FULLY loaded.
The second option you have is to donate some money. Just click on one of the buttons on the bottom of the page, and WAIT till the page is fully loaded to follow the instructions to donate.
STEP 4
No matter wich option you chose, if you waited till the page loaded FULLY after clicking, you may close the window to return to the download page. There, you'll see that a new link will have appeared! You can click on it, and download the driverpack!
If you still have problems after following this guide, then please post your problem here, with browser version, OS version, and other details that might be relevant.
0 -
I could do that, but it's 00:15 and I'm tired... Maybe when I have some spare time
One part to modify is this:
for (i=1; (prog[i]!=null); i++) // for defined programs do ...
{
// We only display things that pass condition tests, unless we are in debug mode.
//
if(cond[i] && cond[i][0]) {
var c = unescape(replpath(cond[i][0]).replace(/\\/g, "\\\\"));
try {
if(!eval(c)) {
debug("Condition failed: " + c + " -- not rendering " + prog[i], 1);
continue;
}
} catch(e) {
alert("Error in condition statement for " + prog[i] + ":\n\n" + cond[i] + "\n\nTreating as a false condition.");
continue;
}
}and some parts after it. But now SLEEP
0 -
I think just putting a ! in front of the Fileexist will do it (aka negation in programming):
cond[pn]=['!FileExists("%SystemRoot%\\System32\\ctaud2k.sys")']
0 -
Add this line:
cond[pn]=['FileExists("%SystemRoot%\\System32\\ctaud2k.sys")']
If that file doesn't exist, the option to select it in wpi will not appear. You can combine multiple tests into one with && (and) and || (or). (dunno about the 'or', havn't tested it, but it should work
0 -
I'm using this code:
@ECHO on
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:
set WPIPATH=%CDROM%\SETUP\WPI
set bla=%WPIPATH:~0,1%
if %bla%==\ set WPIPATH=%WPIPATH:~1%
%WPIPATH%\common\cmdow.exe @ /HID
start %WPIPATH%\common\Music.exe
ping -n 5 localhost > NUL
regedit /S %WPIPATH%\common\wpi.reg
for /F "delims=: tokens=1" %%i in (%WPIPATH%) DO %%i:
cd %WPIPATH%
start /wait WPI.hta
exitI removed the fonts part (don't use it anyway) and added a line so that if I'm running it from hdd (for testing purposes) it will also work. I also added a line to start UAP2 (aka music.exe) and a pause of +- 5 seconds (or else, the player will appear on top of wpi).
0 -
how to "open DOS prompt" ?
press the windows key, hold it and press the key 'r'
type cmd
press enter
voila, you're in the command prompt!
0 -
@Saraband: Are you serious about this?? Do some search work and find out!!!
actually no search needed
he just should have opened dos prompt, and have typed 'HELP', or 'rd /?'... such things are VERY logical, even my mom found that (and she can't use computers )
0 -
cd %homedrive%%homepath%
change current dir to your account dir (for example c:\docs and setting\admin)
rd /s/q ...
remove all files and folders in dir ... without asking for confirmation
md recent
make a dir called 'recent'
This batch file zill do some cleanup for you, like your history and cookies (on the CURRENT account)...
0
Using Wpi With Multiple Computers And Network
in Windows Post-Install Wizard (WPI)
Posted
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...