Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2002.11.04;
Скачать: [xml.tar.bz2];

Вниз

Автозапуск для диска.   Найти похожие ветки 

 
multik   (2002-08-30 04:03) [0]

Помогите сделать авторан. Создал html файл и назвал его main.htm там перечень прог.Посмотрел автозапуск на других дисках. И решил вот что сделать: создал файл AUTORUN.ini и написал в нём:
[autorun]
open=main.htm
icon=main.htm,0
записал балванку через Nero. Но после часа молчания я так и не
чего не дождался. Дожскажите что можно сделать. Кстати есть проги для создания авторана, но они платные. :( И ещё как в дельфях сделать ауторан.


 
mumu   (2002-08-30 04:51) [1]

Использовать icon=start main.htm,0


 
_VaaL_   (2002-08-30 10:10) [2]

>> multik
Я и сам точно так же делал, и через NERO писал, и все работало. Может у тебя автозапуск отключен?


 
France   (2002-08-30 11:12) [3]

> mumu (30.08.02 04:51)
Использовать icon=start main.htm,0

Лично я сделал бы также. Программа "старт", а в ней функция вызова ассоциативного запуска. После этого "старт" делает HALT.


 
eSKey   (2002-08-30 17:49) [4]


> France


> Лично я сделал бы также. Программа "старт", а в ней функция
> вызова ассоциативного запуска. После этого "старт" делает
> HALT.


start это стандартная команда виндов =)))) hint: start /? ;)


 
multik   (2002-08-30 19:11) [5]

Всем привет!!! Я тут полазил по разным форумам и всё получилось.
Во первых надо создать файл AUTORUN.inf (inf не ini). Далее, если в разделе
open=main.htm
грузить htm файл, как я это делал, то ничего не выходит. Нужно, чтобы грузился exe файл. А сделал я так:
1) сначала в дельфях сделал простенькую прогу в которой вызываю main.htm
2) в AUTORUN.inf я написал
[autorun]
open=myprog.exe
icon=myprog.exe,0
и всё заработало. Кстати Данный овтозапуск я проверил уже на 3 машинах и всё путём.


 
Сергей Медяник_   (2002-08-30 22:20) [6]

Насчет Delphi+Autorun - ничего особенного, свободный полет фантазии программера, главное указать, как ты open=... Я с каких-то soft-сборников прихранил продвинутые AUTORUNы. Делюсь:
[Autorun]
OPEN=INTRO.EXE
ICON=SETUP\AUTORUN.ICO

[Product]
;****************************
;Products=the number of buttons choices including the Exit option
;Title=the Caption for the Intro window
;RegistryKey=used by our autorun.exe, if the key is set it will not launch the intro.exe
; the intro is called via the "SetupProgram" key below
;WaveFile=the path to a wav file that the intro will play (if located)
;AutorunProgram=relative path to the exe the autorun will launch(usually launches the intro.exe)
;LabelFont=Font used for text or label of each Button or Choice
;TextFont=Font used for error or description text (Typically displayed at the bottom)
;Charset=the charset used for the text used in the intro
;TextHeight=the point size of the fonts used for the "Label" and "Text" respectively
;LabelUnSelectedTextColor=RGB color of button text when not selected or highlighted
;LabelSelectedTextColor=RGB color of button text when selected or highlighted
;DescriptionTextColor=RGB color of the description text
;ErrorTextColor=RGB color of the error text
;CloseOnLaunch=if set to YES we will close the intro.exe upon successful launch of any of the choices
;CommonRect=the coordinates of rect used to display errors and discriptions (when button is highligted)
; top* bottom* left* right
;*****************************
Products = 6
Title = %ARTitle.Text%
RegistryKey = Software\Corel\CorelDRAW\9.0\Setup
WaveFile = setup\SETUP.WAV
JumpWaveFile = setup\CLICK.wav
AutorunProgram = intro.exe
LabelFont = Times New Roman Cyr
LabelFontWeight = BOLD
LabelFontItalic = 0
LabelFontUnderline = 0
TextFont = Arial Cyr
TextFontWeight = REGULAR
TextFontItalic = 0
TextFontUnderline = 0
Charset = 0
TextHeight = 20*16
LabelUnSelectedTextColor=0*0*0
LabelSelectedTextColor=255*255*255S
DescriptionTextColor=255*255*255
ErrorTextColor=255*250*138
CloseOnLaunch = YES
;CommonRect = 270*440*35*555
CommonRect = 285*360*35*555
[Button0]
;**************************************
;SetupLabel=The Text Displayed for this choice
;LabelRectValue=the coordinates of the rect where this text will be placed on the background
; Top* Bottom* Left* Right
;SetupProgram=relative path to the program to launch when this choice is selected. Followed by our separator and
; the command line arguments if any for the program, followed by the separartor and winexec if the program is
; 16 bit i.e. setup.exe*/SetFile=<S>\autorun\bai7us.set*winexec
;TestFile=relative path to another file that must exist before we will attempt to launch the
; "SetupProgram"
;SetupWindow=The window name of the program launched by the "SetupProgram", we will check for this
; being active and set focus to this window rather than launch a second instance of
; "SetupProgram"
;Description=The discription of this button displayed when a user highlights (move the mouse
; over) this button
;ErrorText=the error text displayed if the the "SetupProgram" cannot be launched when the button is selected
;
;**************************************
SetupLabel = %ARB0SetupLabel.Text%
LabelRectValue = 125*145*35*600
SetupProgram = setup32.exe**
SetupWindow = CorelDRAW 9 Setup Wizard
TestFile = \programs\coreldrw.exe
Description = %ARB0Description.Text%
ErrorText = %ARB0Error.Text%



 
Сергей Медяник_   (2002-08-30 22:21) [7]

[Button1]
SetupLabel = %ARB2SetupLabel.Text%
LabelRectValue = 155*175*35*600
SetupProgram = Acrobat Reader 4.0\ar40eng.exe
TestFile = \setup32.exe
SetupWindow = Adobe Acrobat
Description = %ARB2Description.Text%
ErrorText = The CD-ROM may have been removed from the drive. Please reinsert the CD-ROM.

[Button2]
SetupLabel = %ARB5SetupLabel.Text%
LabelRectValue = 185*205*35*600
SetupProgram = \Cumulus Desktop\Installer\setup.exe**
SetupWindow = CorelDRAW 9 Setup Wizard
TestFile = \programs\coreldrw.exe
Description = %ARB5Description%
ErrorText = %ARB5Error.Text%

[Button3]
SetupLabel = %ARB1SetupLabel.Text%
LabelRectValue = 215*235*35*600
SetupProgram = \apple\quicktime30.exe**
SetupWindow = CorelDRAW 9 Setup Wizard
TestFile = \programs\coreldrw.exe
Description = %ARB1Description%
ErrorText = %ARB1Error.Text%


[Button4]
SetupLabel = %ARB3SetupLabel.Text%
LabelRectValue = 245*265*35*460
SetupProgram = readme.html
TestFile = \setup32.exe
SetupWindow = Help Topics: CorelDRAW 9 Release Notes
Description = %ARB3Description.Text%
ErrorText = The CD-ROM may have been removed from the drive. Please reinsert the CD-ROM.

[Button5]
SetupLabel = %ARB4SetupLabel.Text%
LabelRectValue = 350*380*40*568
Description = %ARB4Description%
AlreadyRunningErrorText =The CD-ROM may have been removed from the drive. Please reinsert the CD-ROM. Or you may not have an internet browser installed.

[Bitmaps]
16Color = setup\bitmap\INTRO16.BMP
256Color = setup\bitmap\INTRO256.BMP

[Strings]
ARTitle.Text = CD-ROM CorelDRAWR 9 Russian Edition
ARB0SetupLabel.Text = Русские CorelDRAWR 9, PHOTO-PAINTR 9 и утилиты.
ARB0Description.Text = Установка CorelDRAWR 9 - самой популярной програмы векторной графики, Corel PHOTO-PAINTR 9 для профессиональной работы с растровыми изображениями, а также набор мощных и удобных утилит: CorelTRACET 9, Corel TEXTURET, Corel CAPTURET 9, Corel SCRIPTT Editor и другие!
ARB0Error.Text = Похоже, вы убрали CD-ROM из вашего устройства чтения CD. Пожалуйста, вставьте его снова.
ARB1Error.Text = Похоже, вы убрали CD-ROM из вашего устройства чтения CD. Пожалуйста, вставьте его снова. А может быть, у вас не устанволен броузер Internet.
ARB1SetupLabel.Text = QuickTimeR 3.0.2
ARB1Description = Установка QuickTimeR 3.0.2, который позволит вам в полной мере воспользоваться возможностями Corel PHOTO-PAINTR 9 для редактирования, публикации и просмотра цифровых изображений.
ARB2SetupLabel.Text = AdobeR AcrobatR Reader 4.0
ARB2Description.Text = Установка AdobeR AcrobatR Reader 4.0, позволяющего читать и ориентироваться внутри файлов PDF.
ARB2Error.Text =
ARB3SetupLabel.Text=Замечания по реализации
ARB3Description.Text=Просмотр важной информации о CorelDRAWR 9, Corel PHOTO-PAINTR 9 утилитах, включенных в этот комплект.
ARB4SetupLabel.Text = ВЫХОД
ARB4Description = Щёлкните чтобы выйти.
ARB5Description = Установка CantoR CumulusR Desktop LE 4 - популярной программы для быстрой, гибкой, и удобной работы с цифровыми архивами.
ARB5SetupLabel.Text = CantoR CumulusR Desktop LE 4
ARB5Error.Text = Похоже, вы убрали CD-ROM из вашего устройства чтения CD. Пожалуйста, вставьте его снова. А может быть, у вас не устанволен броузер Internet.
и еще...

[Autorun]
ICON=Autorun\Autorun0.Ico
OPEN=Autorun\Autorun1.Exe
[Window]
BITMAP=Autorun\Autorun2.Bmp
CLOSE1=Autorun\Autorun3.Bmp
CLOSE2=Autorun\Autorun4.Bmp
SET1=Autorun\Autorun7.Bmp
SET2=Autorun\Autorun8.Bmp
SET3=Autorun\Autorun9.Bmp
COP1=Autorun\AutorunA.Bmp
COP2=Autorun\AutorunB.Bmp
COP3=Autorun\AutorunC.Bmp
DROP1=Autorun\AutorunD.Bmp
DROP2=Autorun\AutorunE.Bmp
DROP3=Autorun\AutorunF.Bmp
HTMLMAIN=???
TREECOLOR=16777215
EDITCOLOR=16777215
POINTS0=000 000 639 000 639 479 000 479 000 000
POINTS1=
POINTS2=
POINTS3=
POINTS4=
POINTS5=
POINTS6=
POINTS7=
POINTS8=
POINTS9=
HTMLRECT=010 240 620 230
TREERECT=010 040 620 170
CLOSERECT=605 012 021 021
SETRECT=447 210 183 030
COPRECT=257 210 190 030
EDITRECT=112 215 143 021
MAX=300



Страницы: 1 вся ветка

Форум: "Система";
Текущий архив: 2002.11.04;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.49 MB
Время: 0.009 c
4-11540
Semion
2002-09-21 08:01
2002.11.04
Пямятуха


14-11426
Anatoly Podgoretsky
2002-10-15 00:54
2002.11.04
Именинники 15 октября


3-11099
nick-from
2002-10-15 19:11
2002.11.04
Добавление новых данных


3-11129
nikolo
2002-10-16 16:46
2002.11.04
Почему не работает ТРАНЗАКЦИЯ?


1-11256
I_S_
2002-10-23 06:59
2002.11.04
DBGridEh, раскраска строк.





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский