Diff for /books/www/corrections.html between versions 1.119 and 1.120

version 1.119, 2003/04/15 14:59:16 version 1.120, 2003/04/22 14:26:42
Line 276  initInstall(                      // ini Line 276  initInstall(                      // ini
   "0.0.1",                        // version of install    "0.0.1",                        // version of install
   1);                             // flags - an optional argument,     1);                             // flags - an optional argument, 
                                   // reserved for future use                                    // reserved for future use
f = getFolder("Chrome");    // specify a target directoryf = getFolder("Chrome");          // specify a target directory
 setPackageFolder(f);  setPackageFolder(f);
addFile(myFile);            // add software to the installationaddFile(myFile);                  // add software to the installation
 registerChrome(  registerChrome(
   PACKAGE | DELAYED_CHROME,       // chrome switch (i.e., type)    PACKAGE | DELAYED_CHROME,       // chrome switch (i.e., type)
   getFolder("Chrome","xFly.jar"), // destination of package    getFolder("Chrome","xFly.jar"), // destination of package
   "content/xFly/");               // location of manifest in package    "content/xFly/");               // location of manifest in package
if (0 == getLastError( ))       // if there have been no errors:if (0 == getLastError( ))         // if there have been no errors:
  performInstall( );            // install "xfly.jar"  performInstall( );              // install "xfly.jar"
else                          // otherwiseelse                              // otherwise
  cancelInstall( );             // cancel the installation.  cancelInstall( );               // cancel the installation.
 </xmp>  </xmp>
   
 </ul>  </ul>

Removed from v.1.119  
changed lines
  Added in v.1.120


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>