Jump to content











Photo
- - - - -

Boot - Autostart


  • Please log in to reply
8 replies to this topic

#1 Datsspeed

Datsspeed

    Newbie

  • Members
  • 19 posts
  •  
    Germany

Posted 28 May 2010 - 12:56 PM

helo guys ^^

when i boot my windows vista pe there will start automaticly the program vpeldr.exe

it searchs the driver an starts the wpeenit.

anyone knows how i can edit this program to implement another autostart tools ?

thx for help me ^^

dave

#2 Datsspeed

Datsspeed

    Newbie

  • Members
  • 19 posts
  •  
    Germany

Posted 01 June 2010 - 06:58 AM

come on guys

anyone has the same problem ?

pls help me ist important for me.

#3 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 01 June 2010 - 11:53 AM

Loader is specified in winpeshl.ini:

Projects\VistaPE-CAPI\Base\07-config.script:

If,NotExistFile,%TargetDir%\windows\system32\winpeshl.ini,FileCreateBlank,%TargetDir%\windows\system32\winpeshl.ini
TXTAddLine,%TargetDir%\windows\system32\winpeshl.ini,[LaunchApps],Append
TXTAddLine,%TargetDir%\windows\system32\winpeshl.ini,vpeldr.exe,Append


Win7 / vista based pe always use this file. Different projects may create the file in different scripts but the concept is always the same.

If the last app loaded in the LaunchApps section exits your PE will reboot.Other option is to use the LaunchApp section of the same file:

[LaunchApp]
AppPath = %SYSTEMDRIVE%\myshell.exe

Again if the specified app exits PE will reboot.

Use of winpeshl.ini is documented in the windows aik downloadable from MS.

#4 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 01 June 2010 - 12:02 PM

Here is what MS has to say in the AIK:

Winpeshl.ini FilesWinpeshl.ini controls whether a customized shell is loaded in Windows® PE or the default Command Prompt window. To load a customized shell, create a file named Winpeshl.ini and place it in %SYSTEMROOT%\System32 of your customized Windows PE image. The .ini file must have the following sections and entries.


[LaunchApp]
AppPath = %SYSTEMDRIVE%\myshell.exe
[LaunchApps]
%SYSTEMDRIVE%\mydir\application1.exe, {option}



Set the AppPath entry to the path to your shell application. You can use a fully qualified path, or you can use environment variables, such as %SYSTEMROOT%\System32\Myshell.exe. The AppPath entry does not support command-line options.

Use the [LaunchApps] section to run applications with command-line options. The applications run in the order listed. Separate the name of the application from its options with a comma.

When you exit the Command Prompt window or your customized shell application, Windows PE restarts.

Important:
Do not edit the value of CmdLine in the HKEY_LOCAL_MACHINE\SYSTEM\Setup registry key of Setupreg.hiv to start your shell application. The value of CmdLine calls Winpeshl.exe, which performs a number of functions, including calling the default Command Prompt window in Windows PE or your customized shell application.


Some of what MS says about command line options is not entirely true in my experience. It can be difficult to get command line options to take.

#5 Datsspeed

Datsspeed

    Newbie

  • Members
  • 19 posts
  •  
    Germany

Posted 01 June 2010 - 12:07 PM

my problem is that i will run my programm after finish of vpeldr.exe


the vpeldr.exe loads all treibers in my vista pe and i dont know what for a programm it is starting for this.

and than vpeldr.exe ist doing the internet configuration too and i dont know this programm too

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 01 June 2010 - 01:16 PM

Maybe you can describe, what you wanna do, to me in German in a PM or in the German subforum and i translate for you.
At the moment, i doubt anyone has a clue, what you actually wanna do.

:)

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 June 2010 - 02:11 PM

Dataspeed has send me a PM and explained to me, that he is looking for a way to autostart own programs at the end of the bootprocess in a vistpe.
Autostart should occur, regardless if network detection is executes or aborted.

If i understood right, idealy there should be 2 different programs be started, depending on execution or abortion of network detect.


:)

#8 Datsspeed

Datsspeed

    Newbie

  • Members
  • 19 posts
  •  
    Germany

Posted 04 June 2010 - 02:28 PM

right :) thanks for help me my english isnt very good :S

#9 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 05 June 2010 - 12:55 AM

That's what the PostConfig section of the vpeldr config file is for ( AddPostConfig in common api ).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users