I have used this method, here is my keys.bat using ipconfig /all

-----keys.bat-----

for /f "tokens=2 delims=:" %%a in ('ipconfig /all ^|find "Physical"') do set
MAC=%%a
set MAC=%MAC:~1%

:: Office2k3 PC2
If /I %MAC% == XX-XX-XX-XX-XX-XX Set Office2k3=XXXXXXXXXXXXXXXXXXXXXXXXX
:: office2k PC1
If /I %MAC% == XX-XX-XX-XX-XX-XX Set office2k=XXXXXXXXXXXXXXXXXXXXXXXXX

-----END----

Issues: 1) the Mac address has to be entered as per the ipconfig /all
           command. This could be improved? ie:

               XX-XX-XX-XX-XX-XX

       2) Wireless adaptors if auto installed with a driver
           on a laptop is listed last in ipconfig so the MAC
           address is collected for wireless instead of LAN.



David


----- Original Message ----- From: "Xavier Douville" <[EMAIL PROTECTED]>
To: "'Chris Liles'" <[EMAIL PROTECTED]>;
<[email protected]>
Sent: Wednesday, July 27, 2005 6:08 AM
Subject: RE: [Unattended] Pull MAC address


I would simply try to get the output of ipconfig /all to get the MAC address

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Liles
Sent: Tuesday, July 26, 2005 12:13 PM
To: [email protected]
Subject: [Unattended] Pull MAC address

I am 1 step closer to getting my office product key problem fixed.

Well I looked at the unattended webpage and found out about with-env.pl
which would seem to help me, since it is described on the site as being
perfect for looking up product keys for officeXP.

So I wrote a perl script to go lookup a key in my database based on the MAC
address of the computer, for testing I hardcoded a MAC address, but since I
don't know perl I have no idea how to make my helper script pull the mac id
from the windows computer.

Anyone know how to use activeperl to pull the MAC of the computer??

Thanks
--Chris Liles
air2web
IT Intern

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Liles
Sent: Tuesday, July 26, 2005 9:43 AM
To: [email protected]
Subject: RE: [Unattended] Disable the last prompt

OK Cool, that worked wonders, now all I have to do is start my master.pl and
away it goes!

Now onto my next problem.. Office2k3 keys

My environment has different Office OEM keys for each pc, no site license :(

Is there any way I can store my Office keys in my database? I looked at the
office2k3 script, but it just calls keys.bat to get the key.
Anyone have any ideas??

Thanks,
--Chris Liles
air2web
IT Intern



----Original Message-----
From: Xavier Douville [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 26, 2005 9:38 AM
To: Chris Liles; [email protected]
Subject: RE: [Unattended] Disable the last prompt

Unattended.txt

[_meta]
edit_files = 0

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Liles
Sent: Tuesday, July 26, 2005 9:31 AM
To: [email protected]
Subject: [Unattended] Disable the last prompt

Well I've almost got unattended to where I am happy with it, just a couple
little things.

Can someone tell me how to disable the last prompt?? The one about editing
doit.bat, postinst.bat, etc. Now that I have unattended working well with
mySQL, I do not want to have that edit prompt.

Thanks!

--
Chris Liles
Air2web
IT Intern


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to