Subversion Repositories autosfx

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
 
2
                           Delphi Demo 4 
3
 
4
This is a simple little "ViewZip" application, but it supports
5
automatic install features.  The reason I have designed this demo
6
is to show you how to write programs that can install and un-install
7
themselves.
8
 
9
 
10
If VIEWZIP.EXE were being distributed in a Delphi Zip Self-Extracting 
11
Archive, you could tell it to run this command line after extraction:
12
'><viewzip /install'.  This would bring up the install menu.
13
 
14
 
15
 
16
Ways to test this program from a DOS box:
17
 
18
C>viewzip /install       Automatically bring up the install menu
19
 
20
C>viewzip test.zip       Run it with a zip file parameter
21
 
22
C>start test.zip         Check the File Extension assoc. in Registry
23
 
24
C>start viewzip          Check the Application Path in Registry
25
 
26
C>viewzip /uninstall     Automatically perform uninstall and quit
27
 
28
 
29
The uninstall can also be performed from the Control Panel.
30
Select Start, Settings, Control Panel, Add/Remove Programs.