Jump to content

Dicer

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    China

Posts posted by Dicer

  1. [EDIT]

    This is my FindCDRom-Function from generate.js to replace %CDROM% with the Directory which is one level upper than WPIPath.

    Example: WPIPATH: E:\Software\WPI

    With this script %CDROM% will be replaced by E:\Software

    function FindCDRom()
    {
    position = "generate.js";
    cddrv = fso.GetAbsolutePathName(".\\..");
    debug("Found CDROM as folder " + cddrv,1,2);
    foundCDdrv = true;
    return cddrv;
    }

    [/EDIT]

    WOW thanks so much. I was searching for this for so long. I wanted to use WPI to install from usb hard disk, but it never worked, now it works like a charm.

×
×
  • Create New...