/build/static/layout/Breadcrumb_cap_w.png

Hello everyone, can you please help me package bginfo?

my requirement ist tomake sure that it is in start-up so that every time user logs in BGinfo should be populated on the deskto. And it refresh everytime user login. I am using adminstudio but now luck with completing the task.


I guess, I have to edit some registry settings but not sure what to do.


thanks for your help.

tosh


0 Comments   [ + ] Show comments

Answers (5)

Posted by: WisconsinPlatt 11 years ago
Senior Yellow Belt
0

Here are the important bits for how I built our BGInfo package.

Copied the bginfo.exe and bginfo.bgi file to C:\Program Files\BGInfo

Registry:  HKLM\Software\Microsoft\Windows\CurrentVersion\Run with the following -

C:\Progra~1\BGInfo\BGInfo.exe C:\Progra~1\BGInfo\BGInfo.bgi /timer:0 /NOLICPROMPT /SILENT

Back when I built it I'd had some issues with the path statement, hence the use of short file names. 

For the x64 machines I have an .MST that just changes the run path to ~2  (as it installs in the Prorgram Files(x86) folder.

Posted by: GAKIS 11 years ago
Fourth Degree Green Belt
0

Batch file:

if exist C:\software\bginfo (del /q c:\software\bginfo\*.*)

if not exist c:\software\bginfo (md c:\software\bginfo)

copy /Y "BGinfo\*.*" c:\software\bginfo

C:\Software\BGinfo\bginfo.exe /i:"C:\Software\BGinfo\config.bgi" /timer:0 /silent /NoLicPrompt

regedit.exe /S "bginfo.reg"

----------------------------------------------
REG FILE:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"bginfo"="C:\\Software\\BGinfo\\bginfo.exe /iC:\\Software\\BGinfo\\config.bgi /timer:0 /silent /NoLicPrompt"
Posted by: aaronr 11 years ago
Green Belt
0

I'm curious as to why this needs to be packaged? On our k-images we have our custom bginfo config in the Windows folder, the actual program in System32, and the batch file to run it in the all users startup. It works great and have yet to discover any issues.

Ah wait. Are you using static images or scripted installs?

Posted by: pjgeutjens 11 years ago
Red Belt
0

If you're using adminstudio, just place a shortcut in the allusers startup folder in the Menu, or you could use a RUN key in HKLM too.

In both cases ofcourse pass the necessary parameters on the shortcut's command line

Posted by: mpace 11 years ago
Red Belt
-1

XXMKLINK is a free command line tool that will let you create shortcuts with specified parameters. Download it here: http://www.xxcopy.com/download/xxmklink.zip

Next you will want a batch file to copy your BGinfo and XXMKLINK files to the local machine. If you are using a K1000/K2000 this can be done via scripting or post-install tasks. If you are just using Windows you can use a RunOnce registry entry targeted at the batch file. We'll also run XXMKLINK to create a shortcut that calls bginfo using the config file every time a user logs on.

copy "\\server\share\Background Info.exe" "c:\BGinfo\Background Info.exe" /Y

copy "\\server\share\Background.bgi" "c:\BGinfo\Background.bgi" /Y
copy "\\server\share\XXMKLINK.exe" "c:\XXMKLINK.exe" /Y
C:\XXMKLINK.exe "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Background Info.lnk" "C:\BGinfo\Background Info.exe" "/ic:\BGinfo\background.bgi /timer:0" /q

Done!

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ