Question:

Visual Basic - Run After Boot - VB6?

by  |  earlier

0 LIKES UnLike

Hello

ive created a VB installer to install some items on a server. during the install a reboot is required. i need the server to call a EXE before the user logs back in.

Currently ive written a pointer to the EXE in the following REG key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\...

This only seems to call my EXE once someone logs in. . .

is there another key i can write to so that my EXE is called before someone logs in?

Kindest Regards

Mario

PS

I dont really want to have to go down the route of getting the script to set autologins etc etc could i have a service that the app makes, it would run what i need and then before the final reboot it cuould remove the service. How hard is that to do? And any example code? Im sure there is a better way than that tho :-)

 Tags:

   Report

1 ANSWERS


  1. yes, to run before login requires that the exe be a service. I haven't worked in that area recently, but there should be tools + registry setting for a vb prog to run as a service.

    there are also run and runonce registry settings to exeecute programs,

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.