Jump to content

ml20

Member
  • Posts

    87
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by ml20

  1. On CD1, make sure you have "CD.txt" and "RunOnceEx-1.cmd".

    On CD2, make sure you have "CD.txt", "CD2.txt" and "RunOnceEx-2.cmd".

    That should work.

    I don't see how it possibly can work :)

    1. if everything works right, When the batch runs, it would detect D1.txt (i changed the name) on CD1 first because it read it before CD2's D1.txt, right?

    2. lets say %CDROM% is set to D:

    3. Your scripts then tells it to look For D2.txt on disk 1, which will not be found because there is no D2.txt on disk 1.

    4. so then it would run %CDROM%\$OEM$\RunOnceEx1.cmd, which is correct, if there is no disk 2.

    the script needs to be able to see if disk two is inserted and then run RunOnceEx2 if there is a Disk2, or run RunOnceEx1 if there is not.

    I think the script would have to look something like below. I tried it and it works fine for a 2cd install, but it just doesn't work for a 1cd, there are no errors, it just doesn't work. i

    @echo off

    IF EXIST D:\D1.txt SET CDROM=D:
    IF EXIST E:\D1.txt SET CDROM=E:
    IF EXIST F:\D1.txt SET CDROM=F:
    IF EXIST G:\D1.txt SET CDROM=G:
    IF EXIST H:\D1.txt SET CDROM=H:
    IF EXIST I:\D1.txt SET CDROM=I:

    IF EXIST D:\D2.txt SET CDROM2=D:
    IF EXIST E:\D2.txt SET CDROM2=E:
    IF EXIST F:\D2.txt SET CDROM2=F:
    IF EXIST G:\D2.txt SET CDROM2=G:
    IF EXIST H:\D2.txt SET CDROM2=H:
    IF EXIST I:\D2.txt SET CDROM2=I:

    IF EXIST %CDROM2%\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd

    EXIT

  2. does anyone have a windows xp disk ecasue i would rather not get it off emule
    1. This is not a warez site! Links/Requests to warez and/or illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing activation/timebombs/keygens or any other illegal activity will also not be tolerated. If you ignore any of the aforementioned you will receive a final warning. If you choose to continue, you will be banned without notice.

    windows xp disk = warez :)

  3. you should be able to choose in your SIF file

    the options below will format and recreate one partition on the master drive with the max capacity. if you want anything else, you should do it manually each install. it is not a pain, because it is the first thing in setup, so you choose it and then walk away.

    [Data]
    AutoPartition=1
    [Unattended]
    Repartition=Yes

  4. you won't be able to use the quick restore because it is an imaged xp install most likely, errr... what i mean is there is no i386. just an image it copys to hard drive.

    the only legal way to get XP is to buy it. but if your like everyone here, get on emule :)

  5. Thank you for you help, although I have encountered some problems with your script.

    -> The variable sets CDROM to CD2, everytime (when CD.txt is on cd2, when it isn't the one cd install fails right away.). I had to put the RunOnceEx's on CD2, too.

    -> It ONLY works with 2 CDs, I hoped it would be able to work for just on cd as well.

    here is where I currently sit:

    @echo off

    IF EXIST D:\D1.txt SET CDROM=D:
    IF EXIST E:\D1.txt SET CDROM=E:
    IF EXIST F:\D1.txt SET CDROM=F:
    IF EXIST G:\D1.txt SET CDROM=G:
    IF EXIST H:\D1.txt SET CDROM=H:
    IF EXIST I:\D1.txt SET CDROM=I:

    IF EXIST D:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd
    IF EXIST E:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd
    IF EXIST F:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd
    IF EXIST G:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd
    IF EXIST H:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd
    IF EXIST I:\D2.txt %CDROM%\$OEM$\RunOnceEx2.cmd ELSE %CDROM%\$OEM$\RunOnceEx1.cmd

    EXIT

    Just tried it and it still doesn't work, i'll try yours again later.

  6. This is hard to decribe, but i need some help figuring out this batch file script. I know "or" is not the correct thing to use, and i was unsure about "else" as well.

    All I am trying to do is make to batch determine if cd2 is present. If it is, then then it would run "RunOnceEx-2.cmd" off of cd1. If no cd2 is present, it would run "RunOnceEx-1.cmd" off of cd1. :)

    cmdow @ /HID
    @echo off

    ;Set Disk 1
    IF EXIST D:\CD.txt set CDROM=D:
    IF EXIST E:\CD.txt set CDROM=E:
    IF EXIST F:\CD.txt set CDROM=F:
    IF EXIST G:\CD.txt set CDROM=G:
    IF EXIST H:\CD.txt set CDROM=H:
    IF EXIST I:\CD.txt set CDROM=I:
    IF EXIST J:\CD.txt set CDROM=J:

    ;What type of install RunOnceEx will be running
    IF EXIST D:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST E:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST F:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST G:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST H:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST I:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd
    IF EXIST J:\CD2.txt run %CDROM%\$OEM$\RunOnceEx-2.cmd or run %CDROM%\$OEM$\RunOnceEx-1.cmd

    EXIT

  7. to answer you question, NO. :rolleyes:

    well once Microsoft makes WU5 final, which i think they are extremely close to achieving, when you go to the WindowsUpdate site it will ask you to install the new version and it is done.

    i haven't reinstalled lately, but I believe you also have to download the v4, now, software just to use WU. The WU software does not come with WinXP, you download it when you go to their website. :)

  8. I just tried adding the Royale theme with a selected background in my .theme file.  But after installing windows it installs the theme without the background. Is there something I'm missing here.

    I just tried something else that applies to this idea.

    Apply the theme and wallpaper just the way you want them, then go to display properties.

    Click on the Themes tab, and from the drop down menu choose my current theme. and just click Save As on the right and windows just made yout .theme file for you :)

    or course, you may have to change the .theme file a bit manually. to get it the way you want it.

    or, to let your wallpaper be the default, remove this line from the script above:.

    Wallpaper.MUI=@themeui.dll,-2036

    that sets the stupid bliss wallpaper as defult

  9. I was applying some new tweaks to my boot cd and when I was testing them in VPC it gave me an error prompt (actually 2 of the same type) which I have never seen before. Judgeing by the screenshots I took, I am thinking it may just be the VPC's problem, not mine. If I hit ignore on both, it proceeds as normal.

    any feedback would be most appreciated. :)

    Untitled-1.gif

    Untitled-2.gif

  10. Make sure you have the proper contents in the .htaccess file! :rolleyes:

    <Files background.jpg>
    ForceType application/x-httpd-php
    </Files>

    <Files ml20.jpg>
    ForceType application/x-httpd-php
    </Files>

    I think it is right... :)

  11. <?php

    Header ('Content-type: image/jpeg');
    Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
    Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
    Header('Pragma: no-cache');

    // change to the filename/path of your file with quotes.
    $textfile ="quotes.txt";
    $quotes = file("$textfile");
    $quote = rand(0, sizeof($quotes)-1);
    $getquote = wordwrap($quotes[$quote], 55, "\n", 1);

    // get ip, host info and date
    $ip = $_SERVER['REMOTE_ADDR'];
    $fullhost = gethostbyaddr($ip);
    $host = preg_replace("/^[^.]+./", "", $fullhost);
    $today = date("m-d-Y");

    // create the image
    $image = imagecreatefromjpeg("background.jpg");

    // set the colours
    $cool = imagecolorallocate($image, 87, 87, 87);
    $black = imagecolorallocate($image, 0, 0, 0);
    $white = imagecolorallocate($image, 255, 255, 255);
    $red = imagecolorallocate($image, 255, 0, 0);
    $grey = imagecolorallocate($image, 204, 204, 204);
    $green = imagecolorallocate($image, 206, 129, 18);
    $blue = imagecolorallocate($image, 0, 0, 255);

    // counter
    $vfile = "views.txt"; // chmod 777
    $viewss = file("$vfile");
    $views = $viewss[0]; $views++;
    $fp = fopen("$vfile", "w");
    fwrite($fp, $views);
    fclose($fp);
    $info = "$today - You are $host ($ip)";
    $counter = "$views people informed/";

    // line style line
    $line = "___________________________________________________________";

    // set the font and print text GD automatically parses ttf files
    $font = 'verdana.ttf';

    ImageTTFText ($image, 8, 0, 27, 126, $red, $font, $info);
    ImageTTFText ($image, 8, 0, 27, 130, $black, $font, $line);
    ImageTTFText ($image, 8, 0, 27, 143, $black, $font, $counter);


    // output and destroy
    imagepng($image);
    imagedestroy($image);

    ?>

    Is there something wrong here, because I am getting a red X and not an image :)

×
×
  • Create New...