system properties company logo

  • lemiwinks1
  • Graduate
  • Graduate
  • User avatar
  • Posts: 244
  • Loc: out of my mind:its dark and scary in there

Post 3+ Months Ago

how can i put my company logo on a computers system properties when i sell one.

ill upload a pic after i find a comp with one
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bgnn32
  • Banned
  • Banned
  • Bgnn32
  • Posts: 435
  • Loc: Western Mass

Post 3+ Months Ago

http://www.cryer.co.uk/brian/windows/ho ... ssplai.htm

Google is a wonderful tool.
  • blink182av
  • Guru
  • Guru
  • blink182av
  • Posts: 1258
  • Loc: New York

Post 3+ Months Ago

Goodluck Lemiwinks!
  • lemiwinks1
  • Graduate
  • Graduate
  • User avatar
  • Posts: 244
  • Loc: out of my mind:its dark and scary in there

Post 3+ Months Ago

thanx i tried the one mentioned by Bgnn32 but it just crashed the system(permenantly) i tried it on

no worries tho Bgnn32 I had a nasty worm anyways

any other suggestions?
  • think.correctly
  • Guru
  • Guru
  • User avatar
  • Posts: 1461
  • Loc: markham, ontario

Post 3+ Months Ago

did you keep the image at the reight dimensions?
Quote:
172 x 100

those are the dimensions for winxp
  • Bgnn32
  • Banned
  • Banned
  • Bgnn32
  • Posts: 435
  • Loc: Western Mass

Post 3+ Months Ago

The steps in that link work I have been doing it for a long time now all the PC's I build have that.
  • xamix
  • Graduate
  • Graduate
  • xamix
  • Posts: 154

Post 3+ Months Ago

http://www.max2k.com/programs.php?id=38 ... d78cc790c6
  • lemiwinks1
  • Graduate
  • Graduate
  • User avatar
  • Posts: 244
  • Loc: out of my mind:its dark and scary in there

Post 3+ Months Ago

huh didnt work for me! the hard drive was on the way out so it also coulda been either the drive dying, or halo being mean to my hardware :(

and yes i did use the proper dimensions, the comp i tried it on was a windows 2k system

but im also a lazy iligitamate so programs are helpfull
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

You don't need to install any programs to do this.

The logo size changes from system to system, if the logo is too big, it usually gets centered in the available area.

Open the "%windir%\System32\" folder.

In that folder save the image as "Oemlogo.bmp"
It has to be a BMP image, Magenta I believe is used as a transparant color. (#FF00FF OR 255,0,255)

The image alone will not show, there has to be an "Oeminfo.ini" file in that folder as well.

Here's some example contents for that Oeminfo.ini file,
Quote:
[General]
Manufacturer=lemiwinks1 Computer Sale
Model=Super Trooper 5000

[Support Information]
Line1=Phone 1-888-555-5555
Line2=Pager 1-800-555-5555


It's probably easiest to save a bunch of different size logo BMP images, & a default "Oeminfo.ini" file on a CD, then simply copy the needed files from the CD to the new systems system32 folder, but, why not have an interface for editing ? :D

Save this code as "any_name.hta"
On Windows systems, an HTA is a "HTML Application"
They're quite usefull as you can see everything they do before running it, they're pretty much webpages with the filesystem/ect restrictions removed.
Antivirus applications will likely still popup a notice or stop them when they do anything with the filesystem though.

Code: [ Select ]
<hta:application
    id = 'OEMProps'    applicationname = 'OEMProps'
    border = 'thick'    borderstyle = 'normal'
    caption = 'yes'    contextmenu = 'yes'
    innerborder = 'no'    maximizebutton = 'no'
    minimizebutton = 'yes'    navigable = 'no'
    resizable='no'    scroll = 'no'
    scrollflat = 'no'    selection = 'no'
    singleinstance = 'yes'    sysmenu = 'no'
    version = '1.0'    windowstate = 'normal'
>
<html>
<head>
<title>OEM System Information</title>
<style type='text/css'>
html{margin: 0px;padding: 0px;}
body{margin: auto;text-align: left;padding: 5px;font-family: Verdana; font-size: 12px; color: #666;}
#logocon, #infocon{float: left;border: #ccc 1px solid;padding: 10px;}
#infocon{margin-left: 1px;}
#logo_preview{width: 180px;height: 114px;background-position: center center;}
input, textarea{vertical-align: middle; font-family: Verdana; font-size: 10px;}
</style>
<script type="text/javascript">
window.onload = function(){
    window.resizeTo(518, 296);
    refreshBMP();
    loadInfo();
}
refreshBMP = function(){
    if(NewLogoPath){
        document.getElementById('logo_preview').style.backgroundImage = 'url(' + NewLogoPath + ')';
    }
}
parseInfo = function(){
    var supportLines = new Array();
    CurrentInfo = CurrentInfo.split('\n');
    for(var i=0; i<CurrentInfo.length; i++){
        if(/^manufacturer/i.test(CurrentInfo[i])){
            document.getElementById('manufacturer').value = CurrentInfo[i].split('=')[1];
        }else if(/^model/i.test(CurrentInfo[i])){
            document.getElementById('model').value = CurrentInfo[i].split('=')[1];
        }else if(/^line{1}[0-9]{1,2}/i.test(CurrentInfo[i])){
            supportLines.push(CurrentInfo[i].split('=')[1]);
        }
    }
    document.getElementById('support').value = supportLines.join('\n');
}
formatInfo = function(){
    CurrentInfo = "[General]\n";
    CurrentInfo += "Manufacturer=" + document.getElementById('manufacturer').value + "\n";
    CurrentInfo += "Model=" + document.getElementById('model').value + "\n";
    CurrentInfo += "[Support Information]\n";
    var lines = document.getElementById('support').value.split("\n");
    for(var i=0; i<lines.length; i++){
        CurrentInfo += "Line" + (i+1) + "=" + lines[i] + "\n";
    }
}
</script>
<script type='text/vbscript'>
Option Explicit
Dim FSO, Dialog, SysPath, LogoPath, NewLogoPath, InfoPath, CurrentInfo
Set FSO = CreateObject("Scripting.FileSystemObject")
Set Dialog = CreateObject("UserAccounts.CommonDialog")
SysPath = FSO.getSpecialFolder(1).path
LogoPath = SysPath & "\Oemlogo.bmp"
If FSO.FileExists(LogoPath) = True Then
    NewLogoPath = LogoPath
Else
    NewLogoPath = False
End If
InfoPath = SysPath & "\Oeminfo.ini"

Sub loadInfo
    Dim infoFile
    Set infoFile = FSO.OpenTextFile(InfoPath, 1)
    CurrentInfo = infoFile.ReadAll
    window.ParseInfo()
End Sub
Sub loadLogo
    Dialog.Filter = "Windows Bitmap (*.bmp)|*.bmp"
    Dialog.InitialDir = CreateObject("Wscript.Shell").CurrentDirectory
    If Dialog.ShowOpen = True Then
        NewLogoPath = Dialog.Filename
        window.refreshBMP()
    End If
End Sub
Sub saveLogo
    Dim Copied
    If Not NewLogoPath = False Then
        Copied = FSO.CopyFile(NewLogoPath, LogoPath, True)
    End If
End Sub
Sub saveInfo
    Dim infoFile
    formatInfo()
    If FSO.FileExists(InfoPath) Then
        FSO.DeleteFile(InfoPath)
    End If
    Set infoFile = FSO.OpenTextFile(InfoPath, 2, true)
    infoFile.Write(CurrentInfo)
End Sub
Sub save
    saveLogo()
    saveInfo()
End Sub
</script>
</head>
<body>
<input type="button" value="Save All" onclick="save()"/>
<input type="button" value="Save Logo" onclick="saveLogo()"/>
<input type="button" value="Save Info" onclick="saveInfo()"/>
<input type="button" value="Exit" onclick="if(confirm('Finished ?')){window.close();}"/>
<br/><br/>
<div id="logocon">
    <input type="button" value="Select Logo Bitmap" onclick="loadLogo()"/><br/><br/>
    <div id="logo_preview"></div>
</div>
<div id="infocon">
Manufacturer / Company<br/>
<input type="text" id="manufacturer" size="50"/><br/><br/>
Model<br/>
<input type="text" id="model" size="50"/><br/><br/>
Support Information<br/>
<textarea cols="50" rows="5" id="support" wrap="off"></textarea>
</div>
</body>
</html>
  1. <hta:application
  2.     id = 'OEMProps'    applicationname = 'OEMProps'
  3.     border = 'thick'    borderstyle = 'normal'
  4.     caption = 'yes'    contextmenu = 'yes'
  5.     innerborder = 'no'    maximizebutton = 'no'
  6.     minimizebutton = 'yes'    navigable = 'no'
  7.     resizable='no'    scroll = 'no'
  8.     scrollflat = 'no'    selection = 'no'
  9.     singleinstance = 'yes'    sysmenu = 'no'
  10.     version = '1.0'    windowstate = 'normal'
  11. >
  12. <html>
  13. <head>
  14. <title>OEM System Information</title>
  15. <style type='text/css'>
  16. html{margin: 0px;padding: 0px;}
  17. body{margin: auto;text-align: left;padding: 5px;font-family: Verdana; font-size: 12px; color: #666;}
  18. #logocon, #infocon{float: left;border: #ccc 1px solid;padding: 10px;}
  19. #infocon{margin-left: 1px;}
  20. #logo_preview{width: 180px;height: 114px;background-position: center center;}
  21. input, textarea{vertical-align: middle; font-family: Verdana; font-size: 10px;}
  22. </style>
  23. <script type="text/javascript">
  24. window.onload = function(){
  25.     window.resizeTo(518, 296);
  26.     refreshBMP();
  27.     loadInfo();
  28. }
  29. refreshBMP = function(){
  30.     if(NewLogoPath){
  31.         document.getElementById('logo_preview').style.backgroundImage = 'url(' + NewLogoPath + ')';
  32.     }
  33. }
  34. parseInfo = function(){
  35.     var supportLines = new Array();
  36.     CurrentInfo = CurrentInfo.split('\n');
  37.     for(var i=0; i<CurrentInfo.length; i++){
  38.         if(/^manufacturer/i.test(CurrentInfo[i])){
  39.             document.getElementById('manufacturer').value = CurrentInfo[i].split('=')[1];
  40.         }else if(/^model/i.test(CurrentInfo[i])){
  41.             document.getElementById('model').value = CurrentInfo[i].split('=')[1];
  42.         }else if(/^line{1}[0-9]{1,2}/i.test(CurrentInfo[i])){
  43.             supportLines.push(CurrentInfo[i].split('=')[1]);
  44.         }
  45.     }
  46.     document.getElementById('support').value = supportLines.join('\n');
  47. }
  48. formatInfo = function(){
  49.     CurrentInfo = "[General]\n";
  50.     CurrentInfo += "Manufacturer=" + document.getElementById('manufacturer').value + "\n";
  51.     CurrentInfo += "Model=" + document.getElementById('model').value + "\n";
  52.     CurrentInfo += "[Support Information]\n";
  53.     var lines = document.getElementById('support').value.split("\n");
  54.     for(var i=0; i<lines.length; i++){
  55.         CurrentInfo += "Line" + (i+1) + "=" + lines[i] + "\n";
  56.     }
  57. }
  58. </script>
  59. <script type='text/vbscript'>
  60. Option Explicit
  61. Dim FSO, Dialog, SysPath, LogoPath, NewLogoPath, InfoPath, CurrentInfo
  62. Set FSO = CreateObject("Scripting.FileSystemObject")
  63. Set Dialog = CreateObject("UserAccounts.CommonDialog")
  64. SysPath = FSO.getSpecialFolder(1).path
  65. LogoPath = SysPath & "\Oemlogo.bmp"
  66. If FSO.FileExists(LogoPath) = True Then
  67.     NewLogoPath = LogoPath
  68. Else
  69.     NewLogoPath = False
  70. End If
  71. InfoPath = SysPath & "\Oeminfo.ini"
  72. Sub loadInfo
  73.     Dim infoFile
  74.     Set infoFile = FSO.OpenTextFile(InfoPath, 1)
  75.     CurrentInfo = infoFile.ReadAll
  76.     window.ParseInfo()
  77. End Sub
  78. Sub loadLogo
  79.     Dialog.Filter = "Windows Bitmap (*.bmp)|*.bmp"
  80.     Dialog.InitialDir = CreateObject("Wscript.Shell").CurrentDirectory
  81.     If Dialog.ShowOpen = True Then
  82.         NewLogoPath = Dialog.Filename
  83.         window.refreshBMP()
  84.     End If
  85. End Sub
  86. Sub saveLogo
  87.     Dim Copied
  88.     If Not NewLogoPath = False Then
  89.         Copied = FSO.CopyFile(NewLogoPath, LogoPath, True)
  90.     End If
  91. End Sub
  92. Sub saveInfo
  93.     Dim infoFile
  94.     formatInfo()
  95.     If FSO.FileExists(InfoPath) Then
  96.         FSO.DeleteFile(InfoPath)
  97.     End If
  98.     Set infoFile = FSO.OpenTextFile(InfoPath, 2, true)
  99.     infoFile.Write(CurrentInfo)
  100. End Sub
  101. Sub save
  102.     saveLogo()
  103.     saveInfo()
  104. End Sub
  105. </script>
  106. </head>
  107. <body>
  108. <input type="button" value="Save All" onclick="save()"/>
  109. <input type="button" value="Save Logo" onclick="saveLogo()"/>
  110. <input type="button" value="Save Info" onclick="saveInfo()"/>
  111. <input type="button" value="Exit" onclick="if(confirm('Finished ?')){window.close();}"/>
  112. <br/><br/>
  113. <div id="logocon">
  114.     <input type="button" value="Select Logo Bitmap" onclick="loadLogo()"/><br/><br/>
  115.     <div id="logo_preview"></div>
  116. </div>
  117. <div id="infocon">
  118. Manufacturer / Company<br/>
  119. <input type="text" id="manufacturer" size="50"/><br/><br/>
  120. Model<br/>
  121. <input type="text" id="model" size="50"/><br/><br/>
  122. Support Information<br/>
  123. <textarea cols="50" rows="5" id="support" wrap="off"></textarea>
  124. </div>
  125. </body>
  126. </html>


Enjoy. :D
  • lemiwinks1
  • Graduate
  • Graduate
  • User avatar
  • Posts: 244
  • Loc: out of my mind:its dark and scary in there

Post 3+ Months Ago

oh well i had the proper size of the image(the site says what it needs to be) it coulda been a typo.

the app that xamix suggested worked and alls it does is makes the files for you(minus the image it just converts and copies it)

anywho thanks for all of the suggestions and help

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 30 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.