jquintino Posted April 1, 2005 Posted April 1, 2005 hello to alli 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
Mike_Wilson Posted April 1, 2005 Posted April 1, 2005 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"
jquintino Posted April 5, 2005 Author Posted April 5, 2005 wellnot working goodbut i need some helpi want to use bginfo @ the startup of xp after install but using the config file (bgi)there is a way to do this ?thanks
NaDer_GenKO Posted September 7, 2007 Posted September 7, 2007 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 drivean doesn't work ? please Help me
Yzöwl Posted September 7, 2007 Posted September 7, 2007 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\""
dubsdj Posted September 8, 2007 Posted September 8, 2007 Just put a shortcut to the application you want to start up in the ALL USERS startup folder, job done
Yzöwl Posted September 8, 2007 Posted September 8, 2007 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 /NOLICPROMPTThe above should all be on one line.
NaDer_GenKO Posted September 11, 2007 Posted September 11, 2007 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 thank you for trying help mei want to use this :Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"LClock"=%programfiles%\LClock\LClock.exeand 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.
Arie Posted September 11, 2007 Posted September 11, 2007 (edited) i want to use this :Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"LClock"=%programfiles%\LClock\LClock.exeand 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 September 11, 2007 by Arie
Arie Posted September 11, 2007 Posted September 11, 2007 @Arie :doesn't work.Please HelpWorks in my virtual machine though. Is LClock installed properly? Run the installer and add the registry key again:LC162b.exe /S
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now