Care Unlock  
Your online unlock store
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   GSM-Forum > Non GSM/Mobile Related Forums > Bluetooth > Bluetooth-Software

Reply
 
LinkBack Thread Tools Display Modes
Old 02-29-2004, 15:55   #1 (permalink)
Junior Member
 
Join Date: Dec 2003
Location: USA
Posts: 17
Member: 45831
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
"Silent install" of the IBM Widcomm drivers for unattened CD?

I'm working on an unattended install CD for my WinXP. It installs XP slipstreamed with SP1, with my specific choices based on my editied WINNT.SIF file, along with all the hotfixes, updates, drivers, etc. that my machine needs..

I've run into an issue installing the IBM Widcomm bluetooth drivers as part of this.

Since its install uses InstallShield, and I will always take the same options, I wanted to create a SETUP.ISS file to use so It does everything without the user being prompted. Unfortuately, I can't seem to get this to work. I always get prompted like a nomal install. Any Ideas??

The various message boards I've asked all respond with "wait for SP2 it has bluetooth built in." But I can't wait that long

My goal is to use the BT silent install in the following bat file to install the Widcomm drivers, kill the processes, and copy the patched files into their loctions as part of the unattended CD... This batch file works to install everything, except you are prompted by the widcomm install to keep clicking next, etc.... So its already to make it silent Once I get the way to make the widcomm install silent, I can append that to the line that reads... start /wait setup.exe and I'll be happy.

--------[Begin BTPatch_Setup.CMD]------------
c:
cd \drivers\WIN\BDCACT
start /wait setup.exe

start /wait taskkill /f /im bttray.exe /t
start /wait taskkill /f /im btwdins.exe /t

c:
cd C:\drivers\WIN\BDCACT\patch
copy BTTray.exe "C:\Program Files\IBM\Bluetooth Software" /y
copy BTStackServer.exe "C:\Program Files\IBM\Bluetooth Software" /y
copy WBTAPI.DLL "C:\Windows\System32" /y

--------[End BTPatch_Setup.CMD]------------
  Reply With Quote
Old 03-02-2004, 05:05   #2 (permalink)
Junior Member
 
Join Date: Dec 2003
Location: USA
Posts: 17
Member: 45831
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I found a way to do it all using AUTOIT. from http://www.hiddensoft.com/AutoIt/

I now have a fully automated "single click" install of the IBM Widcomm drivers and patched files. No need to use the BTPatch_Setup.CMD like I posted. Its all in the AUTOIT script I wrote and compiled to a .EXE.

If anyone is interested, ask, and I'll post it. (both plain text so you can see it, or EXE so you can run it if you want).
  Reply With Quote
Old 03-30-2004, 04:52   #3 (permalink)
Junior Member
 
Join Date: Nov 2003
Age: 52
Posts: 3
Member: 43681
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
Great! I would like this. Could you post it to me: imso [at] corrupted [dot] biz, both text and exe. Thanks!

Last edited by Proffa; 03-30-2004 at 18:34. Reason: Spam fear -> edited address
  Reply With Quote
Old 03-30-2004, 19:57   #4 (permalink)
Junior Member
 
Join Date: Mar 2004
Age: 53
Posts: 1
Member: 60501
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
are you able to post a link to it or can you only email it KidJoe?

thanks
  Reply With Quote
Old 04-01-2004, 13:57   #5 (permalink)
Crazy Poster
 
Join Date: Nov 2003
Location: Sheffield, UK
Age: 31
Posts: 51
Member: 44457
Status: Offline
Thanks: 0
Thanked 1 Time in 1 Post
If you e-mail it to me i'll host it where I host the patched files. I won't put a link to it on the guide yet (i don't have enough bandwidth) but i'll post a link here and then people who read this thread will be able to get it

Jon
  Reply With Quote
Old 04-04-2004, 04:04   #6 (permalink)
Junior Member
 
Join Date: Dec 2003
Location: USA
Posts: 17
Member: 45831
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I'm in the process of moving, so I've been rather busy with packing, calling the movers, cable company, phone company, bank, credit cards, etc..

I'm still trying to work out a few kinks... but attached is the latest version of the AUTOIT script I am using.... To upload the files, I added a .TXT extension to them. The UNCOMPILED Script should end with .AU3 if you want to compile it (but it is a plain text file). Of course, strip off the .TXT from the COMPILED script (.EXE) to run it.

Current requirements to run the compiled version...

1. The IBM Bluetooth drivers must be unpacked to their default directory of C:\drivers\WIN\BDCACT\
2. The following files MUST be located in C:\drivers\WIN\BDCACT\patch BTRegFix.reg, the patched BTTray.exe, wbtapi.dll and BTStackServer.exe, and PSKILL.EXE from Sysinternals (get HERE).
3. This works under WinXP and Win2K. I haven't tested under Win98 or ME. Based on some of the copy statements (using environment variables to pull Windows directory path) I DOUBT This will work under 98/ME.

Kinks that still need working out...
1. While it works 90% of the time, on some "test installs" the script doesn't seem to pass the key press for a dialog box with the word "Finish." I've been playing with passing the ENTER key, F key, and combinations.

Originally, I had it setup to restart the Bluetooth stack, then prompt you to put in the bluetooth dongle, and it would automate the "Add new hardware" wizard. But that was really un-predicatble (after rebooting, the BTSTACKSERVER didn't start) so I took it out, and put up a "please reboot, then insert your dongle" message. I would like to fix this so it works 100% without the reboot.
Attached Files
File Type: txt btpatch1.au3.txt (3.1 KB, 33 views)
File Type: txt btpatch1.exe.txt (82.0 KB, 27 views)

Last edited by KidJoe; 04-08-2004 at 20:16. Reason: Revised the script file, fixed some issues..
  Reply With Quote
Old 04-08-2004, 16:49   #7 (permalink)
Junior Member
 
Join Date: Dec 2003
Location: USA
Posts: 17
Member: 45831
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
found a couple bugs in the scripts...
1. When copying the patched WBTAPI.DLL, I had actually typed "C:\windows\system32." While this works under XP, it doesn't under W2K, so changed to using the WINDIR environment variable to get the windows directory and changed the statement to use that as WINDIR\System32 for the path.
2. When exiting the IBM/Widcomm installer, the FINISH button would not be detected/clicked, so the script would hang. Changed to now passing F key to that dialog box instead of ENTER.

The above requirements still apply!!

I tried editing my original post and chaning the files, but I could not, so...

Here are revised versions...
Attached Files
File Type: txt btpatch1[2].au3.txt (3.3 KB, 35 views)
File Type: txt btpatch1[2].exe.txt (82.0 KB, 34 views)

Last edited by KidJoe; 04-08-2004 at 20:16.
  Reply With Quote
Old 05-03-2004, 18:16   #8 (permalink)
Junior Member
 
Join Date: May 2004
Age: 43
Posts: 1
Member: 64491
Status: Offline
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the script, for some reason it couldn't find wbtapi.dll after rebooting. I just copied it across from the patch directory by hand, then everything seems to be fine.

This solved my previous problem of http://forum.msi.com.tw/thread.php?threadid=48893&sid=
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
Widcomm drivers for Omnius bluetooth Cataglyphis Bluetooth-Software 1 03-17-2007 05:19
How does one know EXACTLY what the latest Widcomm drivers are? neoufo51 Bluetooth-Software 2 01-06-2007 07:58
Help modifying Widcomm driver for X64, please ReverendX Bluetooth-Software 2 11-01-2005 13:59
Help on Widcomm driver for ES-660N Bluetooth dongle wilbuds81 Bluetooth-Software 0 06-21-2005 17:38
Which is the latest Widcomm driver? mousey Bluetooth-Software 0 06-20-2005 18:12


All times are GMT +1. The time now is 11:52.



Powered by Searchlight © 2013 Axivo Inc.
- GSM Hosting Ltd. - 1999-2013 -
Page generated in 0.66058 seconds with 12 queries

SEO by vBSEO