Home > Archive > dBASE Deployment > July 2005 > automatic install









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author automatic install
Nico Oudshoorn

2005-07-19, 7:23 am

Ididn't manage till now to install my application automaticly. I mean I
always have to start the install cd myself. So that mans extra instructions
for the user.
Other applications start by themself directly fron CD. Is that possible with
my dbase applicatin as well?

Nico Oudshoorn.


Bernd Hohenester

2005-07-19, 1:23 pm

Hello Nico,

> Other applications start by themself directly fron CD. Is that possible with
> my dbase applicatin as well?


Of course. There need to be a file named autorun.inf in the root of the
cd. The content of this file is as follows:

[autorun]
OPEN=disk1\setup.exe
ICON=BHLogo.ico
shell\install=&Setup
shell\install\comman
d=disk1\setup.exe


Explanation:

[autorun]
this line must be the first in the file

OPEN=...
the program in this line will be executed automatically. When the
program-file sits in the root, the line is

OPEN=mysetup.exe

When the program-file sits in a directory, it is written like the
example. IMPORTANT: without leading backslash!

Even with this two lines your setup-routine will be started automatically.

More optional lines:

ICON=<iconfilename.ico>
if you want to show another icon in the explorer for your CD-ROM

shell\install=&Setup
inserts the menu-entry "Setup" in the popup-menu of the CD-ROM drive

shell\install\comman
d=disk1\setup.exe
executes this program-file when the menu-entry is choosen


You will find more explanations in the dBulletin Nr. 8, article "CD
Deployment" by Ronny MacGregor. In this article you even find an answer
to your wish to run a demo from cd.

cu
Bernd
Nico Oudshoorn

2005-07-20, 7:23 am

Thanks for the excellent explanation.

"Bernd Hohenester" <bernd. hohenester@directbox
.com> schreef in bericht
news:0edpNgIjFHA.1188@news-server...
> Hello Nico,
>
>
> Of course. There need to be a file named autorun.inf in the root of the
> cd. The content of this file is as follows:
>
> [autorun]
> OPEN=disk1\setup.exe
> ICON=BHLogo.ico
> shell\install=&Setup
> shell\install\comman
d=disk1\setup.exe
>
>
> Explanation:
>
> [autorun]
> this line must be the first in the file
>
> OPEN=...
> the program in this line will be executed automatically. When the
> program-file sits in the root, the line is
>
> OPEN=mysetup.exe
>
> When the program-file sits in a directory, it is written like the example.
> IMPORTANT: without leading backslash!
>
> Even with this two lines your setup-routine will be started automatically.
>
> More optional lines:
>
> ICON=<iconfilename.ico>
> if you want to show another icon in the explorer for your CD-ROM
>
> shell\install=&Setup
> inserts the menu-entry "Setup" in the popup-menu of the CD-ROM drive
>
> shell\install\comman
d=disk1\setup.exe
> executes this program-file when the menu-entry is choosen
>
>
> You will find more explanations in the dBulletin Nr. 8, article "CD
> Deployment" by Ronny MacGregor. In this article you even find an answer to
> your wish to run a demo from cd.
>
> cu
> Bernd



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com