QUOTE(bengt @ Jun 26 2007, 01:51 PM)
just made a quick test run
this will do it I think, it will start the program but will not auto scan
Add to av7pe.inf:
[SourceDisksFiles]
autorun0_av7pe.cmd=2,,1
[Software.AddReg]
;AV7PE.cmd
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\1000","","Start AV7PE"
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\1000","1","RunHide autorun0_av7pe.cmd"
-----------------
create new .cmd file: autorun0_av7pe.cmd, put in AV7PE folder
@echo off
title Starting AV7PE
cd programs\AV7PE
start AV7PE.cmd
exit
other members can probably make a more elaborate .cmd for you
Hey,
I actually just managed to get Av7 to boot!
Very similar to the code offered by Bengt over here but funny enough slightly simplified.
My autorun_AV7.cmd contains just :
"x:\programs\AV7PE\AV7PE.cmd SecurityTypes=None RemoveWallpaper=true"
(This file is in my "C:\UBCD4Win\oem1\autorun" folder and my "C:\UBCD4Win\plugin\AntiVirus\AV7PE", not actually sure which or if both did the trick, but i'm not willing to change it now!)
Added "AutoRun_AV7.cmd=2" under the [SourceDisksFiles] of av7p.inf
I think that was all i did really. I've done so much hacking/editing/copying though i could be mistaken and may have left a part out though.
Funny thing though, i got AV7 to autorun and then made the same setup for A2Free, now A2Free starts up and AV7 doesn't? Looks as if perhaps it doesn't want to start both apps. Haven't put too much further testing there yet though as i'm now trying to get AV7 and A2Free to run scans on startup and not just open the app.
If anyone has any feedback on this it would be great. From what i've read though (http://www.ubcd4win.com/forum/index.php?showtopic=4181&st=0) it involves extracting the exe, changing the ini, and putting it all back together again so that it still extracts simply by being run (currently tries to open a prompt for where to save etc), thats what i'm busy with at the moment anyway.
I've got to say though, the autostarting thing could really be better documented, hopefully my post here will help some others with similar issues in future though (or even me if i end up with the same issue again!)