Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199801_2.adf » PenDnHTML » !Install/Script
!Install/Script
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199801_2.adf » PenDnHTML |
Filename: | !Install/Script |
Read OK: | ✔ |
File size: | 065A bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| Installation script for PDtoHTML | ** The variable, title, provides the tile for windows ** Set title "Install: PenDown DTP to HTML Beta 1a" | ** Use indir as a shorthand for path to source files ** Set indir <Install$Dir>.Files | ** Introduce the installation process to the user Warning "The PenDown DTP HTML utilities will now be installed. Click on Cancel at any time to stop the process" | ** If the Filer hasn't seen the !PenDTP app, we stop here ** Ensure <PenDTP$Dir> "PenDown DTP application could not be found. Try running !PenDTP and then start installation again" | ** Now copy new Level and extensions into user's existing copy of !PenDTP ** Warning "A new Level, HTML, and two new extension programs will be now added to your copy of PenDown DTP" Copy <indir>.Linx <PenDTP$Dir>.Extensions.Linx Copy <indir>.ToHTML <PenDTP$Dir>.Extensions.ToHTML Copy <indir>.HTML <PenDTP$Dir>.Levels.HTML | ** Now save the new app, !PDtoHTML, to wherever the user wants ** Report "You now have to decide where to save the application, !PDtoHTML. By default it will be in the same folder as !PenDTP. You can drag the file icon in the next window elsewhere if you wish" GetPath PDtoHTML <PenDTP$Dir>.^.!PDtoHTML !pdtohtml Copy <indir>.!PDtoHTML <path>.!PDtoHTML | ** Now save the documentation ** Report "Finally, the documentation (ReadMe, WebDoc and WebPic) need to be saved" GetPath Documents <path>.WebDoc file_bba Copy <indir>.ReadMe <path>.ReadMe Copy <indir>.WebDoc <path>.WebDoc Copy <indir>.WebPic <path>.WebPic Report "Installation complete. Consult the document, WebDoc, for information on this beta software"
00000000 7c 20 49 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 73 || Installation s| 00000010 63 72 69 70 74 20 66 6f 72 20 50 44 74 6f 48 54 |cript for PDtoHT| 00000020 4d 4c 0a 0a 7c 20 2a 2a 20 54 68 65 20 76 61 72 |ML..| ** The var| 00000030 69 61 62 6c 65 2c 20 74 69 74 6c 65 2c 20 70 72 |iable, title, pr| 00000040 6f 76 69 64 65 73 20 74 68 65 20 74 69 6c 65 20 |ovides the tile | 00000050 66 6f 72 20 77 69 6e 64 6f 77 73 20 2a 2a 0a 53 |for windows **.S| 00000060 65 74 20 74 69 74 6c 65 20 22 49 6e 73 74 61 6c |et title "Instal| 00000070 6c 3a 20 50 65 6e 44 6f 77 6e 20 44 54 50 20 74 |l: PenDown DTP t| 00000080 6f 20 48 54 4d 4c 20 42 65 74 61 20 31 61 22 0a |o HTML Beta 1a".| 00000090 0a 7c 20 2a 2a 20 55 73 65 20 69 6e 64 69 72 20 |.| ** Use indir | 000000a0 61 73 20 61 20 73 68 6f 72 74 68 61 6e 64 20 66 |as a shorthand f| 000000b0 6f 72 20 70 61 74 68 20 74 6f 20 73 6f 75 72 63 |or path to sourc| 000000c0 65 20 66 69 6c 65 73 20 2a 2a 0a 53 65 74 20 69 |e files **.Set i| 000000d0 6e 64 69 72 20 3c 49 6e 73 74 61 6c 6c 24 44 69 |ndir <Install$Di| 000000e0 72 3e 2e 46 69 6c 65 73 0a 0a 7c 20 2a 2a 20 49 |r>.Files..| ** I| 000000f0 6e 74 72 6f 64 75 63 65 20 74 68 65 20 69 6e 73 |ntroduce the ins| 00000100 74 61 6c 6c 61 74 69 6f 6e 20 70 72 6f 63 65 73 |tallation proces| 00000110 73 20 74 6f 20 74 68 65 20 75 73 65 72 0a 57 61 |s to the user.Wa| 00000120 72 6e 69 6e 67 20 22 54 68 65 20 50 65 6e 44 6f |rning "The PenDo| 00000130 77 6e 20 44 54 50 20 48 54 4d 4c 20 75 74 69 6c |wn DTP HTML util| 00000140 69 74 69 65 73 20 77 69 6c 6c 20 6e 6f 77 20 62 |ities will now b| 00000150 65 20 69 6e 73 74 61 6c 6c 65 64 2e 20 43 6c 69 |e installed. Cli| 00000160 63 6b 20 6f 6e 20 43 61 6e 63 65 6c 20 61 74 20 |ck on Cancel at | 00000170 61 6e 79 20 74 69 6d 65 20 74 6f 20 73 74 6f 70 |any time to stop| 00000180 20 74 68 65 20 70 72 6f 63 65 73 73 22 0a 0a 7c | the process"..|| 00000190 20 2a 2a 20 49 66 20 74 68 65 20 46 69 6c 65 72 | ** If the Filer| 000001a0 20 68 61 73 6e 27 74 20 73 65 65 6e 20 74 68 65 | hasn't seen the| 000001b0 20 21 50 65 6e 44 54 50 20 61 70 70 2c 20 77 65 | !PenDTP app, we| 000001c0 20 73 74 6f 70 20 68 65 72 65 20 2a 2a 0a 45 6e | stop here **.En| 000001d0 73 75 72 65 20 3c 50 65 6e 44 54 50 24 44 69 72 |sure <PenDTP$Dir| 000001e0 3e 20 22 50 65 6e 44 6f 77 6e 20 44 54 50 20 61 |> "PenDown DTP a| 000001f0 70 70 6c 69 63 61 74 69 6f 6e 20 63 6f 75 6c 64 |pplication could| 00000200 20 6e 6f 74 20 62 65 20 66 6f 75 6e 64 2e 20 54 | not be found. T| 00000210 72 79 20 72 75 6e 6e 69 6e 67 20 21 50 65 6e 44 |ry running !PenD| 00000220 54 50 20 61 6e 64 20 74 68 65 6e 20 73 74 61 72 |TP and then star| 00000230 74 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 61 |t installation a| 00000240 67 61 69 6e 22 0a 0a 7c 20 2a 2a 20 4e 6f 77 20 |gain"..| ** Now | 00000250 63 6f 70 79 20 6e 65 77 20 4c 65 76 65 6c 20 61 |copy new Level a| 00000260 6e 64 20 65 78 74 65 6e 73 69 6f 6e 73 20 69 6e |nd extensions in| 00000270 74 6f 20 75 73 65 72 27 73 20 65 78 69 73 74 69 |to user's existi| 00000280 6e 67 20 63 6f 70 79 20 6f 66 20 21 50 65 6e 44 |ng copy of !PenD| 00000290 54 50 20 2a 2a 0a 57 61 72 6e 69 6e 67 20 22 41 |TP **.Warning "A| 000002a0 20 6e 65 77 20 4c 65 76 65 6c 2c 20 48 54 4d 4c | new Level, HTML| 000002b0 2c 20 61 6e 64 20 74 77 6f 20 6e 65 77 20 65 78 |, and two new ex| 000002c0 74 65 6e 73 69 6f 6e 20 70 72 6f 67 72 61 6d 73 |tension programs| 000002d0 20 77 69 6c 6c 20 62 65 20 6e 6f 77 20 61 64 64 | will be now add| 000002e0 65 64 20 74 6f 20 79 6f 75 72 20 63 6f 70 79 20 |ed to your copy | 000002f0 6f 66 20 50 65 6e 44 6f 77 6e 20 44 54 50 22 0a |of PenDown DTP".| 00000300 43 6f 70 79 20 3c 69 6e 64 69 72 3e 2e 4c 69 6e |Copy <indir>.Lin| 00000310 78 20 3c 50 65 6e 44 54 50 24 44 69 72 3e 2e 45 |x <PenDTP$Dir>.E| 00000320 78 74 65 6e 73 69 6f 6e 73 2e 4c 69 6e 78 0a 43 |xtensions.Linx.C| 00000330 6f 70 79 20 3c 69 6e 64 69 72 3e 2e 54 6f 48 54 |opy <indir>.ToHT| 00000340 4d 4c 20 3c 50 65 6e 44 54 50 24 44 69 72 3e 2e |ML <PenDTP$Dir>.| 00000350 45 78 74 65 6e 73 69 6f 6e 73 2e 54 6f 48 54 4d |Extensions.ToHTM| 00000360 4c 0a 43 6f 70 79 20 3c 69 6e 64 69 72 3e 2e 48 |L.Copy <indir>.H| 00000370 54 4d 4c 20 3c 50 65 6e 44 54 50 24 44 69 72 3e |TML <PenDTP$Dir>| 00000380 2e 4c 65 76 65 6c 73 2e 48 54 4d 4c 0a 0a 7c 20 |.Levels.HTML..| | 00000390 2a 2a 20 4e 6f 77 20 73 61 76 65 20 74 68 65 20 |** Now save the | 000003a0 6e 65 77 20 61 70 70 2c 20 21 50 44 74 6f 48 54 |new app, !PDtoHT| 000003b0 4d 4c 2c 20 74 6f 20 77 68 65 72 65 76 65 72 20 |ML, to wherever | 000003c0 74 68 65 20 75 73 65 72 20 77 61 6e 74 73 20 2a |the user wants *| 000003d0 2a 0a 52 65 70 6f 72 74 20 22 59 6f 75 20 6e 6f |*.Report "You no| 000003e0 77 20 68 61 76 65 20 74 6f 20 64 65 63 69 64 65 |w have to decide| 000003f0 20 77 68 65 72 65 20 74 6f 20 73 61 76 65 20 74 | where to save t| 00000400 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2c 20 |he application, | 00000410 21 50 44 74 6f 48 54 4d 4c 2e 20 42 79 20 64 65 |!PDtoHTML. By de| 00000420 66 61 75 6c 74 20 69 74 20 77 69 6c 6c 20 62 65 |fault it will be| 00000430 20 69 6e 20 74 68 65 20 73 61 6d 65 20 66 6f 6c | in the same fol| 00000440 64 65 72 20 61 73 20 21 50 65 6e 44 54 50 2e 20 |der as !PenDTP. | 00000450 59 6f 75 20 63 61 6e 20 64 72 61 67 20 74 68 65 |You can drag the| 00000460 20 66 69 6c 65 20 69 63 6f 6e 20 69 6e 20 74 68 | file icon in th| 00000470 65 20 6e 65 78 74 20 77 69 6e 64 6f 77 20 65 6c |e next window el| 00000480 73 65 77 68 65 72 65 20 69 66 20 79 6f 75 20 77 |sewhere if you w| 00000490 69 73 68 22 0a 47 65 74 50 61 74 68 20 50 44 74 |ish".GetPath PDt| 000004a0 6f 48 54 4d 4c 20 3c 50 65 6e 44 54 50 24 44 69 |oHTML <PenDTP$Di| 000004b0 72 3e 2e 5e 2e 21 50 44 74 6f 48 54 4d 4c 20 21 |r>.^.!PDtoHTML !| 000004c0 70 64 74 6f 68 74 6d 6c 0a 43 6f 70 79 20 3c 69 |pdtohtml.Copy <i| 000004d0 6e 64 69 72 3e 2e 21 50 44 74 6f 48 54 4d 4c 20 |ndir>.!PDtoHTML | 000004e0 3c 70 61 74 68 3e 2e 21 50 44 74 6f 48 54 4d 4c |<path>.!PDtoHTML| 000004f0 0a 0a 7c 20 2a 2a 20 4e 6f 77 20 73 61 76 65 20 |..| ** Now save | 00000500 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f |the documentatio| 00000510 6e 20 2a 2a 0a 52 65 70 6f 72 74 20 22 46 69 6e |n **.Report "Fin| 00000520 61 6c 6c 79 2c 20 74 68 65 20 64 6f 63 75 6d 65 |ally, the docume| 00000530 6e 74 61 74 69 6f 6e 20 28 52 65 61 64 4d 65 2c |ntation (ReadMe,| 00000540 20 57 65 62 44 6f 63 20 61 6e 64 20 57 65 62 50 | WebDoc and WebP| 00000550 69 63 29 20 6e 65 65 64 20 74 6f 20 62 65 20 73 |ic) need to be s| 00000560 61 76 65 64 22 0a 47 65 74 50 61 74 68 20 44 6f |aved".GetPath Do| 00000570 63 75 6d 65 6e 74 73 20 3c 70 61 74 68 3e 2e 57 |cuments <path>.W| 00000580 65 62 44 6f 63 20 66 69 6c 65 5f 62 62 61 0a 43 |ebDoc file_bba.C| 00000590 6f 70 79 20 3c 69 6e 64 69 72 3e 2e 52 65 61 64 |opy <indir>.Read| 000005a0 4d 65 20 3c 70 61 74 68 3e 2e 52 65 61 64 4d 65 |Me <path>.ReadMe| 000005b0 0a 43 6f 70 79 20 3c 69 6e 64 69 72 3e 2e 57 65 |.Copy <indir>.We| 000005c0 62 44 6f 63 20 3c 70 61 74 68 3e 2e 57 65 62 44 |bDoc <path>.WebD| 000005d0 6f 63 0a 43 6f 70 79 20 3c 69 6e 64 69 72 3e 2e |oc.Copy <indir>.| 000005e0 57 65 62 50 69 63 20 3c 70 61 74 68 3e 2e 57 65 |WebPic <path>.We| 000005f0 62 50 69 63 0a 0a 52 65 70 6f 72 74 20 22 49 6e |bPic..Report "In| 00000600 73 74 61 6c 6c 61 74 69 6f 6e 20 63 6f 6d 70 6c |stallation compl| 00000610 65 74 65 2e 20 43 6f 6e 73 75 6c 74 20 74 68 65 |ete. Consult the| 00000620 20 64 6f 63 75 6d 65 6e 74 2c 20 57 65 62 44 6f | document, WebDo| 00000630 63 2c 20 66 6f 72 20 69 6e 66 6f 72 6d 61 74 69 |c, for informati| 00000640 6f 6e 20 6f 6e 20 74 68 69 73 20 62 65 74 61 20 |on on this beta | 00000650 73 6f 66 74 77 61 72 65 22 0a |software".| 0000065a