Jump to content

Recommended Posts

Posted

hello to all

i build a unattended installation but now i want to put a aplication on startup of windows .

i have the aplication BGINFO that i want to put on unattended installation and make it to run after installation (not runonce, the other run)

thanks for da help


Posted

If i understand you correctly you want to add your application into the startup options of windows so it loads everytime you start windows. Well to do this you can do the following.

Add an entry into the registry will make your program load on windows startup. Either use HKLM or HKCU, thats your choice.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"<name you want for app>"="<app path>"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"<name you want for app>"="<app path>"

So for example if i had a program called mike it could be:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"mikesprogram"="c:\program files\mike.exe"

Posted

well

not working good

but i need some help

i want to use bginfo @ the startup of xp after install but using the config file (bgi)

there is a way to do this ?

thanks

  • 2 years later...
Posted
If i understand you correctly you want to add your application into the startup options of windows so it loads everytime you start windows. Well to do this you can do the following.

Add an entry into the registry will make your program load on windows startup. Either use HKLM or HKCU, thats your choice.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"<name you want for app>"="<app path>"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"<name you want for app>"="<app path>"

So for example if i had a program called mike it could be:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"mikesprogram"="c:\program files\mike.exe"

i use %programfiles% in my app path to bypass the problem of install windows on different drive

an doesn't work ? please Help me

Posted

You could try something like this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"BgInfo"="\"<Drive>\\<PathTo>\\Bginfo.exe\" \"<Drive>\\<PathTo>\\<FileName>.bgi\" /silent /timer:0 /NOLICPROMPT\""

Posted

Of course they could, although that isn't what they asked for!

The shortcut would need to say something like this:

"<Drive>\<PathTo>\Bginfo.exe" "<Drive>\<PathTo>\Config.bgi" /silent /timer:0 /NOLICPROMPT

The above should all be on one line.

Posted
You could try something like this:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"BgInfo"="\"<Drive>\\<PathTo>\\Bginfo.exe\" \"<Drive>\\<PathTo>\\<FileName>.bgi\" /silent /timer:0 /NOLICPROMPT\""

Hi Yzöwl :hello:

thank you for trying help me

i want to use this :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"LClock"=%programfiles%\LClock\LClock.exe

and doesn't work ? i dont know why ?!

this to avoid the problem of installing the system on a different drive of C:

@dubsdj:

thanks its a good idea. but i want to make it with registry.

Posted (edited)
i want to use this :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"LClock"=%programfiles%\LClock\LClock.exe

and doesn't work ? i dont know why ?!

this to avoid the problem of installing the system on a different drive of C:

The target should be between double quotes.

Replace your code with the following.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"LClock"="%ProgramFiles%\LClock\LClock.exe"

Edited by Arie
Posted
@Arie :

doesn't work.

Please Help

Works in my virtual machine though. Is LClock installed properly? Run the installer and add the registry key again:

LC162b.exe /S

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...