Changeset 5837


Ignore:
Timestamp:
2003-11-13T15:40:09+13:00 (20 years ago)
Author:
kjdon
Message:

now creates an autorun.inf file so teh cd will launch automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/exportcol.pl

    r5602 r5837  
    7676    print $out "  $colindexdir\n";
    7777    print $out "  $coletcdir\n";
     78    die "\n";
    7879    }
    7980
     
    127128    close MANIFESTCFG;
    128129
     130    #create the autorun.inf file
     131    my $autoruninf = &util::filename_cat ($topdir, "Autorun.inf");
     132    if (!open (AUTORUNINF, ">$autoruninf")) {
     133    print $out "exportcol.pl failed: Could not create $autoruninf\n";
     134    die "\n";
     135    }
     136   
     137    print AUTORUNINF "[autorun]\n";
     138    print AUTORUNINF "OPEN=Setup.exe\n";
     139    close AUTORUNINF;
     140   
    129141    # copy the necessary stuff from GSDLHOME
    130142    my $imagesdir = &util::filename_cat ($ENV{'GSDLHOME'}, "images");
Note: See TracChangeset for help on using the changeset viewer.