Help - Search - Members - Calendar
Full Version: Autorun from cd
The CD Forum > Bart's PE Builder > UBCD4WIN
Ajblandford
My friends and myself have compiled several command line scanners using autoit. There is a single exe file to copy the folder to the root of c, update the scanners, scan the c drive, save a log file, and delete the created folder. We have added the containing folder to the UBCD image using power iso. When I boot the PE I execute the program, it runs great. The folder is on the image, but not added to the PE. I need a way to make UBCD autorun the exe when the PE boots. I have tried to add it to autorun.ini, did not work. Any help would be greatly appreciated.
cdob
Do you use UBCD4Win? UBCD is another project.

Read the integrated help files, create a own plugin.

What's your file name?

Example Scan.exe:

Create a file plugin\AntiVirus\scan\scan.inf.
Copy file scan.exe to directory plugin\AntiVirus\scan\files\.
Add scan.exe to RunOnceEx.

CODE
; PE Builder v3 plug-in INF file

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Antivirus: Scan.exe"
Enable=1

[SourceDisksFiles]
files\scan.exe=2,,1

[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\900Scan","150","||RunHide scan.exe"
Ed_P
QUOTE (Ajblandford @ Apr 19 2009, 08:53 AM) *
There is a single exe file to copy the folder to the root of c, update the scanners, scan the c drive, save a log file, and delete the created folder.

Why not load the folder to the RAMdrive? No adverse impact to the c: drive that way.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.