CD AutoRun basics CD AutoRun di base
CD AutoRun basics CD AutoRun di base
AutoRun runs a program when a CD is inserted into a Windows computer - see below for advice on Apple Macs. AutoRun esegue un programma quando un CD è inserito in un computer Windows - vedi sotto per consigli su Apple Mac.
If Windows finds a (plain text) file called AUTORUN.INF in the root directory of a CD then it follows the instructions in this file to run a program. Se Windows trova una (solo testo) file chiamato AUTORUN.INF nella directory principale di un CD allora segue le istruzioni in questo file per eseguire un programma. This example AUTORUN.INF file tells Windows to run program setup.exe (from the root directory of the CD): Questo esempio AUTORUN.INF file indica a Windows di eseguire programma setup.exe (dalla directory principale del CD):
[autorun]
open=setup.exe open = setup.exe
icon=snazzie.ico icona = snazzie.ico
Use the Windows Notepad application to edit plain text files (it is in the Start All Programs Accessories menu). Utilizzare l'applicazione Blocco note di Windows per modificare file di testo normale (è in Start Tutti i programmi dal menu Accessori).
Your CD users may have switched off AutoRun. Il vostro CD utenti potrebbero avere spento automatica. This might be because they are concerned about viruses. Questo potrebbe essere dovuto al fatto che essi sono preoccupati per i virus. Also, if they press the Shift key down while inserting the CD, AutoRun is disabled. Inoltre, se si preme il tasto Shift mentre l'inserimento del CD, automatica è disattivata. In Windows NT4, 2000 and XP systems, only Administrators and Power Users can use AutoRun. In Windows NT4, 2000 e XP sistemi, solo gli amministratori e Power Users possono utilizzare automatica.
There is no way to force your users to use AutoRun. Non vi è alcun modo per costringere gli utenti a utilizzare automatica. It is therefore good practice to provide instructions so that users know how to start your CD, eg tell them to open file index.htm in their browser. E 'quindi buona pratica di fornire istruzioni in modo che gli utenti sanno come avviare il CD, ad esempio, dire loro di aprire il file index.htm nella loro browser. These instructions are also required if your CD might be viewed by non-Windows users. Queste istruzioni sono necessarie anche se il CD potrebbe essere considerato da parte di non-gli utenti di Windows.
So why is ShellRun needed? Perché, dunque, ShellRun necessaria?
Until recently, it was not possible for Windows to AutoRun a file rather than a program. Fino a poco tempo fa, non è stato possibile per l'esecuzione automatica di Windows un file piuttosto che un programma.
OK, that’s not strictly true: you could use the following AUTORUN.INF to show web page index.htm OK, questo non è assolutamente vera: si potrebbe utilizzare il seguente AUTORUN.INF per mostrare pagina web index.htm
[autorun]
open=start index.htm open = start index.htm
However, if you do this, Windows displays a DOS box briefly, which looks nasty. Tuttavia, se si esegue questa operazione, Windows visualizza una finestra DOS su brevemente, che guarda malizioso. (And start might not be available on some systems.) (E iniziare potrebbe non essere disponibile su alcuni sistemi.)
If you are only targeting recent Windows systems, then you can use the shellexecute command to open a file without a flickering DOS box: Se stai solo il targeting recenti sistemi Windows, quindi è possibile utilizzare il comando shellexecute di aprire un file senza sfarfallio DOS:
[autorun]
shellexecute=index.htm shellexecute = index.htm
What does ShellRun do then? ShellRun Che cosa fare allora?
ShellRun overcomes the above problems. ShellRun supera i problemi di cui sopra. It shows your file and displays a neat popup window. Esso mostra il tuo file e visualizza una finestra di popup pulito. The popup appears straight away so that the user knows that something is happening. Il popup appare subito in modo tale che l'utente sa che qualcosa sta accadendo. ShellRun works in all Windows systems. ShellRun opere in tutti i sistemi Windows.
This example AUTORUN.INF tells ShellRun to show web page index.htm while displaying message “Starting CD now…” in the ShellRun popup window. Questo esempio AUTORUN.INF racconta ShellRun per mostrare index.htm pagina web durante la visualizzazione messaggio "Avvio di CD ora…" nella finestra popup ShellRun.
[autorun]
open=ShellRun.exe index.htm Starting CD now… aperto = ShellRun.exe index.htm CD partire adesso…
Do not forget to put ShellRun.exe in the root directory of your CD along with AUTORUN.INF. Non dimenticare di mettere ShellRun.exe nella directory root del vostro CD con AUTORUN.INF.
Viewer Technicalities Visualizzatore tecnici
All the above AutoRun examples, including ShellRun, use the same core technique to display a file. Tutte le suddette AutoRun esempi, tra cui ShellRun, utilizzare la stessa tecnica di base per visualizzare un file.
Windows associates a viewer program with each file type. Windows associa un programma per la visualizzazione con ogni tipo di file. For .HTM and .HTML web pages, the viewer program will be your default browser. . HTM e. HTML delle pagine web, il programma per la visualizzazione sarà il vostro browser predefinito.
If a user does not have a viewer for your file type then it cannot be displayed until a viewer is installed. Se un utente non dispone di un visualizzatore per il tuo tipo di file quindi non può essere visualizzato fino a quando un visualizzatore è installato. For example, if you are trying to show a PDF file, the user must have Adobe™ Acrobat Reader or equivalent installed. Ad esempio, se si sta cercando di mostrare un file PDF, l'utente deve avere Adobe ™ Acrobat Reader o equivalente installato.
If a viewer is not available, the freeware version of ShellRun just displays a message. Se un telespettatore non è disponibile, la versione freeware di ShellRun solo visualizza un messaggio. In retail version you can prompt the user to run a viewer installation program. Nella versione in commercio è possibile richiedere all'utente di eseguire un visualizzatore programma di installazione. See the Viewers page for more details. Vedere la pagina di spettatori per maggiori dettagli.
If you have a viewer program available then put its installation program on your CD - if you are allowed to distribute it. Se si dispone di un programma per la visualizzazione quindi mettere a disposizione il suo programma di installazione sul CD - se si è autorizzati a distribuire. To distribute Adobe™ Acrobat Reader, see here: Adobe Acrobat Reader - Download Adobe Acrobat Reader for distribution. Per distribuire Adobe ™ Acrobat Reader, vedere qui: Adobe Acrobat Reader - Scarica Adobe Acrobat Reader per la distribuzione.
Enabling AutoRun on your computer L'attivazione automatica sul tuo computer
To test AutoRun you need to have it enabled on your computer. Per testare AutoRun è necessario disporre di essa abilitato sul computer. A registry setting can be used to disable AutoRun. Una impostazione del Registro di sistema può essere utilizzato per disattivare automatica. Click Start Run then type in regedit. Fare clic sul pulsante Start Esegui quindi digitare regedit. Select Edit Find and type in NoDriveTypeAutoRun. Trova selezionare Modifica e digitare NoDriveTypeAutoRun. This value should be found in this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer . Questo valore deve essere presente in questa chiave: HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer.
The NoDriveTypeAutoRun value should be hexadecimal 95 if AutoRun is enabled on all CDs, or B5 if disabled for CDs. NoDriveTypeAutoRun il valore dovrebbe essere esadecimale 95 se automatica è attivata su tutti i CD, o se B5 disabili per i CD. (If you want to test AutoRun on a floppy disk, set this value to 91.) You may need to change more than one instance of NoDriveTypeAutoRun in the registry. (Se si desidera verificare AutoRun su un disco floppy, impostare questo valore a 91.) Potrebbe essere necessario modificare più di una istanza di NoDriveTypeAutoRun nel Registro di sistema. You usually need to reboot for a new value to take effect. Di solito si deve riavviare per un nuovo valore abbiano effetto.
In Windows 95/98/Me the NoDriveTypeAutoRun value is displayed as 95 00 00 00. In Windows 95/98/Me NoDriveTypeAutoRun il valore viene visualizzato come 95 00 00 00. In Windows NT4, 2000 and XP this value is displayed as 0×00000095 or hexadecimal 95. In Windows NT4, 2000 e XP questo valore viene visualizzato come 0 × 00000095 o esadecimale 95. If you modify the NoDriveTypeAutoRun value make sure it is still in the correct format. Se si modifica il valore NoDriveTypeAutoRun assicurarsi che sia ancora nel formato corretto.
Filed under Elencato sotto Uncategorized
































December 19th, 2006 at 7:13 pm 19 dicembre 2006 a 7:13 pm
olá!
uso um sistema operacional livre e quero, utilizando este sistema, criar um cd autorun com arquivos em html. uso un sistema operacional libera e quero, utilizzando questo sistema, creare un cd autorun it arquivos em html. alguém saberia me informar como faço ou q programa uso? Alguém me saberia informare nel modo faço o q programma uso?
aguardo resposta. aguardo risposta.
abraços