CD AutoRun basics Autorun CD de base
CD AutoRun basics Autorun CD de base
AutoRun runs a program when a CD is inserted into a Windows computer - see below for advice on Apple Macs. AutoRun gère un programme quand un CD est inséré dans un ordinateur Windows - voir ci-dessous pour obtenir des conseils sur 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. Si Windows trouve un (texte brut) fichier du nom de AUTORUN.INF dans le répertoire racine d'un CD, il suit les instructions dans ce fichier pour exécuter un programme. This example AUTORUN.INF file tells Windows to run program setup.exe (from the root directory of the CD): Cet exemple indique AUTORUN.INF fichier Windows pour exécuter setup.exe programme (à partir du répertoire racine du CD):
[autorun]
open=setup.exe open = setup.exe
icon=snazzie.ico = icône snazzie.ico
Use the Windows Notepad application to edit plain text files (it is in the Start All Programs Accessories menu). Utilisez le Bloc-notes Windows application d'éditer des fichiers texte en clair (il est dans la zone Démarrer Tous les programmes du menu Accessoires).
Your CD users may have switched off AutoRun. Votre CD mai utilisateurs ont éteint AutoRun. This might be because they are concerned about viruses. C'est peut-être parce qu'ils sont préoccupés par les virus. Also, if they press the Shift key down while inserting the CD, AutoRun is disabled. Aussi, si elles appuyez sur la touche Maj enfoncée tout en insérant le CD, Autorun est désactivée. In Windows NT4, 2000 and XP systems, only Administrators and Power Users can use AutoRun. Dans Windows NT4, 2000 et XP, seuls les administrateurs et les utilisateurs peuvent pouvoir utiliser AutoRun.
There is no way to force your users to use AutoRun. Il n'existe aucun moyen de forcer vos utilisateurs à utiliser AutoRun. 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. Il est donc bon de donner des instructions afin que les utilisateurs sachent comment démarrer votre lecteur de CD, par exemple, dites-leur d'ouvrir le fichier index.htm dans leur navigateur. These instructions are also required if your CD might be viewed by non-Windows users. Ces instructions sont également nécessaires si votre lecteur de CD peut être considéré par des non-utilisateurs de Windows.
So why is ShellRun needed? Alors, pourquoi ShellRun est-elle nécessaire?
Until recently, it was not possible for Windows to AutoRun a file rather than a program. Jusqu'à récemment, il n'était pas possible pour Windows AutoRun à un fichier plutôt que d'un programme.
OK, that’s not strictly true: you could use the following AUTORUN.INF to show web page index.htm OK, ce n'est pas tout à fait vrai: vous pouvez utiliser le texte suivant AUTORUN.INF à la page Web de la manifestation index.htm
[autorun]
open=start index.htm = ouvert début index.htm
However, if you do this, Windows displays a DOS box briefly, which looks nasty. Toutefois, si vous faites cela, Windows affiche une boîte DOS brièvement, qui ressemble méchant. (And start might not be available on some systems.) (Et peut-être commencer à ne pas être disponibles sur certains systèmes.)
If you are only targeting recent Windows systems, then you can use the shellexecute command to open a file without a flickering DOS box: Si vous êtes seulement le ciblage des dernières systèmes Windows, vous pouvez utiliser la commande shellexecute pour ouvrir un fichier sans scintillement une boîte DOS:
[autorun]
shellexecute=index.htm shellexecute = index.htm
What does ShellRun do then? Qu'est-ce que ShellRun faire alors?
ShellRun overcomes the above problems. ShellRun de surmonter les problèmes ci-dessus. It shows your file and displays a neat popup window. Il affiche votre fichier et affiche une fenêtre popup soigné. The popup appears straight away so that the user knows that something is happening. La fenêtre pop-up apparaît d'emblée que si l'utilisateur sait que quelque chose qui se passe. ShellRun works in all Windows systems. ShellRun fonctionne dans tous les systèmes Windows.
This example AUTORUN.INF tells ShellRun to show web page index.htm while displaying message “Starting CD now…” in the ShellRun popup window. Cet exemple AUTORUN.INF ShellRun dit à la page Web de la manifestation index.htm tout en affichant le message "Démarrage de CD maintenant…" dans la ShellRun nouvelle fenêtre.
[autorun]
open=ShellRun.exe index.htm Starting CD now… open = index.htm ShellRun.exe À partir de CD maintenant…
Do not forget to put ShellRun.exe in the root directory of your CD along with AUTORUN.INF. Ne pas oublier de mettre ShellRun.exe dans le répertoire racine de votre lecteur de CD avec AUTORUN.INF.
Viewer Technicalities Aspects techniques Viewer
All the above AutoRun examples, including ShellRun, use the same core technique to display a file. Tous les exemples ci-dessus AutoRun, y compris ShellRun, utilisez la même technique de base pour afficher un fichier.
Windows associates a viewer program with each file type. Windows associe un logiciel de visualisation de chaque type de fichier. For .HTM and .HTML web pages, the viewer program will be your default browser. . Htm et. Pages web HTML, le logiciel de visualisation sera votre navigateur par défaut.
If a user does not have a viewer for your file type then it cannot be displayed until a viewer is installed. Si un utilisateur ne possède pas un visualiseur pour votre type de fichier il ne peut pas être affiché jusqu'à ce qu'un spectateur est installé. For example, if you are trying to show a PDF file, the user must have Adobe™ Acrobat Reader or equivalent installed. Par exemple, si vous tentez d'afficher un fichier PDF, l'utilisateur doit disposer du logiciel Adobe Acrobat Reader ™ ou l'équivalent installé.
If a viewer is not available, the freeware version of ShellRun just displays a message. Si un spectateur n'est pas disponible, la version gratuite de ShellRun seulement affiche un message. In retail version you can prompt the user to run a viewer installation program. Dans le commerce de détail version que vous pouvez inviter l'utilisateur à exécuter un visualiseur programme d'installation. See the Viewers page for more details. Voir la page de téléspectateurs pour plus de détails.
If you have a viewer program available then put its installation program on your CD - if you are allowed to distribute it. Si vous avez un logiciel de visualisation disponibles alors mis son programme d'installation sur votre CD - si vous êtes autorisé à le distribuer. To distribute Adobe™ Acrobat Reader, see here: Adobe Acrobat Reader - Download Adobe Acrobat Reader for distribution. Pour la distribution du logiciel Adobe Acrobat Reader ™, voir ici: Adobe Acrobat Reader - Télécharger Adobe Acrobat Reader pour la distribution.
Enabling AutoRun on your computer L'activation de AutoRun sur votre ordinateur
To test AutoRun you need to have it enabled on your computer. Pour tester AutoRun vous besoin de l'avoir activé sur votre ordinateur. A registry setting can be used to disable AutoRun. Un paramètre de registre peut être utilisé pour désactiver AutoRun. Click Start Run then type in regedit. Cliquez sur Démarrer Exécuter puis tapez regedit. Select Edit Find and type in NoDriveTypeAutoRun. Sélectionnez Modifier la Recherche et le type dans NoDriveTypeAutoRun. This value should be found in this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer . Cette valeur doit être trouvée dans cette clé: 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 la valeur hexadécimale devrait être 95 si automatique est activé sur tous les CD, ou si B5 handicapés pour les 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. (Si vous voulez tester AutoRun sur une disquette, mettez cette valeur à 91.) Vous mai nécessité de modifier plus d'un exemple de NoDriveTypeAutoRun dans le registre. You usually need to reboot for a new value to take effect. Vous habituellement nécessaire de redémarrer pour une nouvelle valeur à prendre effet.
In Windows 95/98/Me the NoDriveTypeAutoRun value is displayed as 95 00 00 00. Dans Windows 95/98/Me la valeur NoDriveTypeAutoRun est affiché sous 95 00 00 00. In Windows NT4, 2000 and XP this value is displayed as 0×00000095 or hexadecimal 95. Dans Windows NT4, 2000 et XP, cette valeur est affichée comme 0 × 00000095 ou hexadécimal 95. If you modify the NoDriveTypeAutoRun value make sure it is still in the correct format. Si vous modifiez la valeur NoDriveTypeAutoRun assurez-vous qu'il est toujours dans le bon format.
Filed under Classé sous Uncategorized Inclassable
































December 19th, 2006 at 7:13 pm Décembre 19, 2006 at 7:13 pm
olá! Olá!
uso um sistema operacional livre e quero, utilizando este sistema, criar um cd autorun com arquivos em html. uso un système operacional e livre Quero, utilisez ce système, créer um cd autorun com em fichiers html. alguém saberia me informar como faço ou q programa uso? Alguém saberia informer comme moi ou q faço programme d'utilisation?
aguardo resposta. aguardo réponse.
abraços