Jump to content











Photo
- - - - -

Help running program at the root of a cd


  • Please log in to reply
4 replies to this topic

#1 The_Beas

The_Beas
  • Members
  • 3 posts
  •  
    United States

Posted 17 October 2011 - 02:16 AM

Ok I have a couple of questions. I have built a windows pe with bs explorer as the shell. Is there a command that will allow bs explorer start menu to launch a program on the root of the cdrom drive? Or is there a way to set the default cd rom drive letter in PE? I dont want to load the program into pe as it is quite large and and will make the pe image to large. If this can be accomplished that would make the rest of my pe building easier. Any help would be greatly appreciated. I would really like to use bsexplorer as the shell.


Thank you In advance,

The_Beas
Noooobie

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 17 October 2011 - 04:53 AM

I'm not familiar with bsexplorer but with explorer, a tool like ppAppsGenPE can create shortcuts for any target (programs) on your PE desktop or start menu, regardless where they are located. This works even for an external drive, like a UFD, where drive letter is unknown at boot. Running programs from a writable drive tends to work best but if you must have the program(s) located on CD/DVD, be sure to have a writable Temp available.

#3 The_Beas

The_Beas
  • Members
  • 3 posts
  •  
    United States

Posted 17 October 2011 - 01:33 PM

Ok I have changed my mind. Is there some code that I could type in wpeutil or start.cmd that would search all drive letters for a particular exe file and launch it?

#4 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 17 October 2011 - 03:32 PM

Yes, what you ask is easily done with explorer, can't say if bsexplorer behaves similar. Having run many tests in the past, I prefer to use AddAutoRun for launching batch/programs directly but I guess that's up to you.

If you want to supply a link to the bsexplorer script and the program in question, I can try some tests; I assume Win7PE will be a good test platform. Otherwise, you can try including or at least looking at these (apparently unrelated) scripts to give you some clues.

http://www.mediafire...d/DrvLoad02.rar
http://www.mediafire...ppAppsGen12.zip

#5 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 18 October 2011 - 05:28 AM

I guess you're talking about Make_PE3 project of wimb, you can run ppAppsGenPE by adding the following to PE3-USER.reg in
"Make_PE3_40_PPA\PE3_mod\PE3_reg\x86" (or whatever your architecture is).
[HKEY_LOCAL_MACHINE\PE3-USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]

"ppAppsGenPE"="ppAppsGenPE"

and adding the appropriate files to "Make_PE3_40_PPA\PE3_mod\PE3_add\x86\Windows\System32"

Now ppAppsGenPE will look for ppApps base at any root just like it would in the script version.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users