ایول ایول
انقدر عجله داشتم خودم رفتم پیداش کردم
رفتم تو Help خود برنامه گشتم پیداش کردم
منو باش ایمیل برای مدیران سایت هم فرستادم آقا دست همتون درد نکنه
اینم متن انگلیسیش :
To Create a Demo that runs from a CD-ROM with an autorun and automatically detects the operating system:
Create a folder on your c:\ drive named CDROM. When you are finished, all the files you need to burn onto the finished CD-ROM will be in the CDROM folder.
In the CDROM folder, create another folder named Bin.
Place the following files in the Bin folder:
demo32.exe
ds32.dll
Place your demo in the Bin folder as well. If your demo has any resources that are Imported by Reference you will need to place them in the Bin folder as well.
Rename your demo to Demo.dbd.
If your demo uses Lotus' ScreenCam, you will need to include any ScreenCam movies that are Imported by Reference and the ScreenCam player program (scplayer.exe) in the Bin folder as well.
Copy the following file to the CDROM folder:
Launch.exe
Open the program Notepad.exe and type the following:
[32bit]
DIRName=Bin
EXEName=demo32.EXE
DBDName=demo.dbd
CmdLine=
Save this file in the CDROM folder and name as it "setup.ini". This file gives instructions to the Launch.exe program (Note, you would have to name this file "Launch.ini" if you did not rename the file in step 8). These instructions tell launch that if the operating system is Windows 95 or NT to go to the Bin folder and run Demo32.exe and open the demo.dbd file. Make sure you replace demo.dbd with the actual name of your demo. The CmdLine= allows the users to specify command line parameters to the DemoShield Player program.
Create a new file in notepad and type the following:
[autorun]
open=setup.exe
icon=setup.exe
Save this file in the CDROM folder and name it autorun.inf. This file tells Windows 95 and NT systems which program to run when the CD-Rom is first inserted (if auto-notification is enabled). This file allows you to specify a program to run and the icon file for the CD-ROM.
Your finished folder structure should look similar to the following:
[CDROM]
autorun.inf
setup.exe
setup.ini
[Bin]
demo.dbd
demo32.exe
ds32.dll
To test your setup, double click on Setup.exe and watch your demo run. To check the Autorun, open a MS-DOS prompt and type the following:
Subst z: c:\CDROM
This line creates a drive letter (z
that forces your computer to think that your CDROM folder is an actual CD-ROM drive with the letter z:. If your CDROM folder is not located in c:\, make sure you change this path accordingly. This test does not work under Windows NT.