Search Archive

Launching .exe from iGo script

By FourG · Jun 24, 2009in Hacks/Mods💬 25 posts👁️ 8,583 views
Posted Jun 24, 2009 · 04:38 UTC#1

So had a little breakthrough tonight to share. The code snippet that I lifted from Gurjon's 3.71 skin for calling the speedcam delete worked great as an example of how to call external executables, now my AVIC launches a little app called ResInfo.exe (taken from MioPocket's apps folder, sorry but the forum won't let me attach an .exe file, do a Google search for MioPocket for heaven's sake) every time I hit the 'Destination' button in MainMenu:

 

 

 

Adding the command was a one-liner in APL2\iGo\data.zip::ui_pioneer\common\ui\start.ui (pasting entire st_AdvMenu_UC state definition below for context, see towards the end of the script for the command):











 

Steps:

  • [*:2tv61i16]Open data.zip using 7zip
    [*:2tv61i16]Find "ui_pioneer\common\ui\start.ui" in the 7zip file manager window
    [*:2tv61i16]Edit 'start.ui' using 7zip's 'File->Edit' command (launches your defined editor)
    [*:2tv61i16]Add these lines just below the one with 'EXEC "other.pioneer.postmessage" ...' in it:
    ;FourG Added: Start APL2\ResInfo.exe at the end of script
    15 START_APPLICATION "ResInfo.exe" ""
    [*:2tv61i16]Save the file
    [*:2tv61i16]Exit the editor so 7zip will check if the file has changed
    [*:2tv61i16]Answered 'Yes' when 7zip asks if you want to update the archive
    [*:2tv61i16]Copy "ResInfo.exe" and the updated data.zip to SD
    [*:2tv61i16]Enter test mode on the AVIC using LeetLauncher
    [*:2tv61i16]Open explorer and navigate to Storage Card
    [*:2tv61i16]Highlight data.zip and ResInfo.exe
    [*:2tv61i16]Edit->Copy
    [*:2tv61i16]Navigate to 'My Flash Disk'\APL2\iGo
    [*:2tv61i16]Edit->Paste, answered 'Yes' to overwrite data.zip
    [*:2tv61i16]Reboot

 

Now each time I enter the Destination menu (either from MainMenu.exe's Destination icon or back arrow from a sub-menu) ResInfo pops up. :D A similar technique can be used in some of the scripts the buttons on the map screen call to launch tools or even LeetLauncher, I'm willing to wager. *cough* Wi-Fi! *cough*

 

Off to do some more scripting and skinning!

post-22338-12872757821006_thumb.jpg

Posted Jun 24, 2009 · 04:51 UTC#2

very good find

Posted Jun 24, 2009 · 04:57 UTC#3

so would you be able to create a shortcut on the adv screen for it instead of having it to pop up (or make it stockish looking)? how hard would it be? what else could we add to our units?

Posted Jun 24, 2009 · 06:28 UTC#4

nice!

Posted Jun 24, 2009 · 08:55 UTC#5

Did you try for the wince? I believe in a tomtomskin for igo8(original) there was the possibility to launch wince, i'll see if i can find it.

 

Or maybe even tomtom, i believe there is the possibilty to shutdown igo(at least on the puffcoach mod i'm using now), maybe tomtom can be started then?

Posted Jun 24, 2009 · 14:28 UTC#6
Did you try for the wince? I believe in a tomtomskin for igo8(original) there was the possibility to launch wince, i'll see if i can find it.

 

Or maybe even tomtom, i believe there is the possibilty to shutdown igo(at least on the puffcoach mod i'm using now), maybe tomtom can be started then?

I was going to try for it as soon as I figured out the right command line (assuming "\Windows\explorer.exe" for the moment). Will probably add it to the Destination menu and one of the icons in the map view.

Posted Jun 24, 2009 · 14:37 UTC#7
Or maybe even tomtom, i believe there is the possibilty to shutdown igo(at least on the puffcoach mod i'm using now), maybe tomtom can be started then?

Yeah, that would be tricky. There is an exit app command in some of the scripts IIRC, so you have to time things right with the call to start Tom Tom and the command to EXIT. There may be the possibility that iGo will still have control of the GPS UART when Tom Tom starts, preventing Tom Tom from getting to use the GPS. Also might start reboots if MainMenu/AV.exe doesn't get certain messages from ezrider.exe on events.

 

Anyway, lots of experiments to try, will see if I can swing them in the spare time I have this week.

Posted Jun 24, 2009 · 17:57 UTC#8
Did you try for the wince? I believe in a tomtomskin for igo8(original) there was the possibility to launch wince, i'll see if i can find it.

 

Or maybe even tomtom, i believe there is the possibilty to shutdown igo(at least on the puffcoach mod i'm using now), maybe tomtom can be started then?

 

WinCE is the operating system of the unit. It is always running anyway. Explorer can be started, though. Or better yet, Total Commander.

 

If you shut down iGO, though, unit will reboot.

Posted Jun 25, 2009 · 01:10 UTC#9

this is a great find - really opens up some possiblities.

 

If the application was a full screen app - sounds you could start it from the igo and still hve music/etc playing in the background? Guess it would be hard to switch back/forth to the exe and avic app?

 

Thx,

Ben

Posted Jun 25, 2009 · 22:39 UTC#10
Did you try for the wince? I believe in a tomtomskin for igo8(original) there was the possibility to launch wince, i'll see if i can find it.

 

Or maybe even tomtom, i believe there is the possibilty to shutdown igo(at least on the puffcoach mod i'm using now), maybe tomtom can be started then?

 

WinCE is the operating system of the unit. It is always running anyway. Explorer can be started, though. Or better yet, Total Commander.

 

If you shut down iGO, though, unit will reboot.

 

when i press the off buton on the navigation, it looks like igo is shutting down, ik get a black screen on navigation, but the pioneer doesn't reboot. And in the igo you can shut down the gps, maybe another application can use it then?

Posted Aug 19, 2009 · 21:14 UTC#11
WinCE is the operating system of the unit. It is always running anyway. Explorer can be started, though. Or better yet, Total Commander.

 

OK, Total Commander works, though it won't let you overwrite files in use (like DATA.ZIP) while iGo's running on the system. So you'll still need TestMode for updating some of the hacks. I tried "\Windows\explorer.exe" first but after launching the graphics in the APL applications got all screwed up by the start menu displaying over the top of the apps.

 

 

 

 

Process I used to add a "File Manager" button to the "Navi Settings" menu in the official F90BT 3.0 (iGo 8.3) DATA.zip:


  • [*:27jew9fr]Using 7Zip, I opened DATA.ZIP (Right click, select "7-Zip"->"Open Archive" from the context menu)
    [*:27jew9fr]In the 7-Zip file manager, navigate to the ui_pioneer\common\ui folder. Highlight "advmenu.ui" and hit F4 on your keyboard to edit the file with your configured editor. I used vim so it would let me forcibly overwrite the file.
    [*:27jew9fr]At the bottom of the file, I added the following lines:
;!!!fourg adding FileMan launch script, replace the command below with your favorite


[*:27jew9fr]Force-save the file (in vim, this is :w!) so 7-zip will detect the file has been updated.
[*:27jew9fr]Quit the editor
[*:27jew9fr]7-Zip will prompt you that "File 'advmenu.ui' was modified. Do you want to update it in the archive?". Click OK to update the .zip file's copy with your changes.
[*:27jew9fr]Now that we've added the script that will launch our command, it's time to browse to the UI that will actually display the button to call the script. Pioneer's put their "Navi Settings" menu under the DATA.zip's ui_pioneer\800_480\ui\ folder. Navigate to this file in the 7-Zip file explorer.
[*:27jew9fr]Highlight "setting_800_480.ui" and press the F4 key to edit.
[*:27jew9fr]I added a button in the footer of the "ui_navisettings" layer to call the FileMan launch script (which is what calls Total Commander in this example). Browse or search for the "ui_navisettings" layer, then scroll down to find the line of code that looks like this:

        


I inserted the code for the button and an additional separator above this line. You'll probably want to play around with the "x=" value to get it lined up perfectly, but I wasn't anal enough to do so for this example. Add the lines:

        



above the line of code that defines the button for Sound Settings.
[*:27jew9fr]Once again, save the file you're editing (:w for you vim'ers).
[*:27jew9fr]Exit the editor.
[*:27jew9fr]7-Zip will prompt you that "File 'setting_800_480.ui' was modified. Do you want to update it in the archive?". Click OK to update the .zip file's copy with your changes.
[*:27jew9fr]Quit 7-Zip
[*:27jew9fr]Copy the updated DATA.zip file to your SD card with carver's Testmode 2.3 on it. We're going to be copying some files out of carver's Testmode folder, so you'll want to use it anyway.
[*:27jew9fr]Boot into Testmode w/ the SD card (no, I'm not telling you these steps because if you can't get into Testmode, you have no business hacking on the system yet anyway, go search the Hacks forum first).
[*:27jew9fr]Once in Testmode, open up Total Commander
[*:27jew9fr]Navigate to "Storage Card\TESTMODE" in the left window and "My Flash Disk" in the right window.
[*:27jew9fr]Making sure you have selected "Utils" in the left window, select the "File"->"Copy/Move" command
[*:27jew9fr]Tap the "Copy" button to copy the "Utils" folder to the root of "My Flash Disk".
[*:27jew9fr]Now in the right-side window, navigate to the APL2\iGo folder
[*:27jew9fr]Highlight the "DATA.zip" in the right-side window
[*:27jew9fr]Select the "File"->"Rename" command
[*:27jew9fr]Rename the file to "DATA_orig.zip" or something easy to identify that it's the original DATA.zip file
[*:27jew9fr]In the left-side window, navigate to the folder you saved your modified DATA.zip in.
[*:27jew9fr]Making sure you have selected the "DATA.zip" file in the left window, select the "File"->"Copy/Move" command
[*:27jew9fr]Tap the "Copy" button to copy the "DATA.zip" file to "My Flash Disk"\APL2\iGo\.
[*:27jew9fr]Eject the Testmode SD card and reset the system
[*:27jew9fr]Once the system has reset, you should be able to select "Settings", then "Navi Settings" to see the newly added "File Manager" button in the footer.

 

To restore the original setup, simply delete the APL2\iGo\DATA.zip file, rename DATA_orig.zip back to DATA.zip and delete the "Utils" folder from "My Flash Disk".

post-22338-12872758709074_thumb.jpg

post-22338-12872758710168_thumb.jpg

Posted Aug 19, 2009 · 21:32 UTC#12

so that means we could use this to launch the map changer,

Posted Aug 19, 2009 · 22:35 UTC#13

FourG, would it be possible to incorporate your mod and Miotoo's wifi mod (viewtopic.php?f=34&t=26523)to where you could have a button and it launch Mio's Opera browser mod?

Posted Aug 19, 2009 · 23:20 UTC#14
FourG, would it be possible to incorporate your mod and Miotoo's wifi mod (viewtopic.php?f=34&t=26523)to where you could have a button and it launch Mio's Opera browser mod?

 

Yeah, it's kind of "Step 1" for that mod, which in reality is exactly the same as the one MioPocket already does for the Portable Navigation Assistants that run Windows (Mios, my iPaq 310, etc, etc). We're just porting it over to the AVIC piece by piece.

 

I would have the script call a MortScript script file to copy the Spectec driver DLLs over to \Windows, update the registry for the driver and then call Opera. I would, *if* Opera hadn't caused a Fatal Exception when I tried to close it which restarted the system. We also need a way to enter SSID/WEP/WPA information, so you can use it on secure networks. :( Still testing.

Posted Aug 19, 2009 · 23:36 UTC#15

Awesome, thanks for the reply FourG. I think that this would be one of the best mods yet, if we could get wifi to launch from the AVIC UI. Looking forward to seeing the results of your testing!

Posted Aug 20, 2009 · 16:22 UTC#16

Well so far it's not promising, since the WLAN client utility won't pop up on the screen when you insert the card if there is another dialog or window already open. Which there is, since MainMenu, ezrider and SystemSettings are already active tasks on the screen. :? So next task is looking into an app or registry setting that will let us pass SSID, WEP/WPA info, etc to the Zero Config service in case you want to join a password-protected network (which most 3G/4G to WiFi routers require). Might be able to create an unmanaged C++ .exe in Visual Studio to do the task, but I'm still getting my dev environment set up on my build box.

Posted Aug 20, 2009 · 16:44 UTC#17

Keep up the good work FourG! You obviously have the know how and where theres a will theres a way.

Posted Aug 20, 2009 · 19:50 UTC#18

Okay, You just did it FourG and Miotoo, My minor was Computer Science, but for some time I have been an engineer and my C.S. has lapsed. I still understand the logic but lack the ability to use the latest Code. I will start relearning today. Any pointers for a website for someome who understands the logic but lacks knowledge on the newer code? boy, what am I getting myself into :roll:

 

Well so far it's not promising, since the WLAN client utility won't pop up on the screen when you insert the card if there is another dialog or window already open. Which there is, since MainMenu, ezrider and SystemSettings are already active tasks on the screen. :? So next task is looking into an app or registry setting that will let us pass SSID, WEP/WPA info, etc to the Zero Config service in case you want to join a password-protected network (which most 3G/4G to WiFi routers require). Might be able to create an unmanaged C++ .exe in Visual Studio to do the task, but I'm still getting my dev environment set up on my build box.
Posted Aug 20, 2009 · 23:07 UTC#19
Okay, You just did it FourG and Miotoo, My minor was Computer Science, but for some time I have been an engineer and my C.S. has lapsed. I still understand the logic but lack the ability to use the latest Code. I will start relearning today. Any pointers for a website for someome who understands the logic but lacks knowledge on the newer code? boy, what am I getting myself into :roll:

 

Don't dust off the neruons quite yet... I've figured out the registry entries needed to get the Zero Config dialog box to pop up after all. Just trying to get a MortScript written that will copy the wlan11g.dll file over to \Windows, import all the registry settings necessary for the card and then pop up the dialog to configure the network settings...

 

Oh, and I discovered that Explorer will co-exist just fine with the AVIC APL apps, as long as you configure it to minimize automatically so it doesn't steal on-screen taps meant for Pioneer apps. Which is great because in order to get the WLAN card configured right you need ethman and the on-screen keyboard. Not certain yet but I think once you've gotten everything configured right as long as you don't do a hard-reset, the settings should persist across ACC power removal (all work thus far is on the F90BT on my desk, next comes hacking on the car's once I've got everything just right). Oh, and I may skip Opera all together and put IE on instead, if it seems more stable.

Posted Aug 23, 2009 · 17:08 UTC#20

FourG, any new progress lately?

Posted Aug 24, 2009 · 04:59 UTC#21
FourG, any new progress lately?

NYET. Busy weekend, first chance to look at stuff will probably be Tuesday at the earliest. Need to

  1. [*:1hnjl84q]Launch MortScript.exe at an early point so the .mscr files get associated with the interpreter
    [*:1hnjl84q]Write a script that copies the DLLs to \Windows and inserts the right registry entries
    [*:1hnjl84q]Write a script that copies the right files for IE to \Windows
    [*:1hnjl84q]Write a script that adds the shortcuts for IE to \Windows\Programs
    [*:1hnjl84q]Write a script that sets the registry values for Auto Hide for the Explorer task bar so it's not in the way of some AVIC buttons
    [*:1hnjl84q]Add a command to iGo DATA.zip to run all scripts then potentially launch explorer.exe at the end of initialization, OR when you press the "File Manager" button on a menu. Button method's going to be tied to parking brake, so only bypassed rigs can launch while driving as a CYA (if you can't do the PB hack, you will probably try to succeed on the next item)
    [*:1hnjl84q]Come up with some disclaimer to post w/ everything so noobies trying to browse the web while they're driving can't sue when they crash their car but fail to qualify for the Darwin Awards

 

Was doing this to enable Pandora but discovered there's no support for it on Opera and, I suspect, IE in Win CE. So my motivation went out the window soon after, along with my free time. If someone knows of a Win CE Pandora client that isn't tied to a specific phone handset, urgency will return.

Posted Aug 26, 2009 · 18:59 UTC#23

OK, I've got a MortScript that will automate the task of copying the Spectec DLL to \Windows, set up the registry settings for the driver and also set the Explorer task bar to auto-hide.

 

#####
# [HKEY_LOCAL_MACHINE\Drivers\Builtin\Ethman\Popup]
# Popup=1
# Timeout=3600 (or 0xE10)
RegWriteDWord( "HKLM", "Drivers\Builtin\Ethman\Popup", "Popup", 1)
RegWriteDWord( "HKLM", "Drivers\Builtin\Ethman\Popup", "Timeout", 3600)

#####
# [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1]
# "Dll"="WLAN11g.dll"
# "Prefix"="NDL"
# "Instance0"="WLAN11g:WLAN11g1"
# "Instance1"="WLAN11g:WLAN11g2"
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Dll", "WLAN11g.dll")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Prefix", "NDL")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Instance0", "WLAN11g:WLAN11g1")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Instance1", "WLAN11g:WLAN11g1")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g]
# "DisplayName"="WLAN-11g ADAPTER"
# "Group"="NDIS"
# "ImagePath"="WLAN11g.dll"
RegWriteString( "HKLM", "Comm\WLAN11g", "DisplayName", "WLAN-11g ADAPTER")
RegWriteString( "HKLM", "Comm\WLAN11g", "Group", "NDIS")
RegWriteString( "HKLM", "Comm\WLAN11g", "ImagePath", "WLAN11g.dll")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g\Linkage]
# "Route"=hex(7):57,4c,41,4e,31,31,67,31,00,00
RegWriteBinary( "HKLM", "Comm\WLAN11g\Linkage", "Route", "574c414e313167310000")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1]
# "DisplayName"="WLAN-11g ADAPTER"
# "Group"="NDIS"
# "ImagePath"="WLAN11g.dll"
RegWriteString( "HKLM", "Comm\WLAN11g", "DisplayName", "WLAN-11g ADAPTER")
RegWriteString( "HKLM", "Comm\WLAN11g", "Group", "NDIS")
RegWriteString( "HKLM", "Comm\WLAN11g1", "ImagePath", "WLAN11g.dll")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1\Parms]
# "BusNumber"=dword:00000000
# "BusType"=dword:00000000
# "PowerMode"=dword:00000002
# "SDBlockSize"="64"
# "Domain"="0"
# "Angle"="0"

RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "BusNumber", 0)
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "BusType", 0)
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "PowerMode", 2)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "SDBlockSize", "64")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "Domain", "0")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "Angle", "0")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1\Parms\TcpIp]
# "EnableDHCP"=dword:00000001
# "DefaultGateway"="0.0.0.0"
# "UseZeroBroadcast"=dword:00000000
# "IpAddress"="0.0.0.0"
# "Subnetmask"="0.0.0.0"

RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "EnableDHCP", 1)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "DefaultGateway", "0.0.0.0")
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "UseZeroBroadcast", 0)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "IpAddress", "0.0.0.0")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "Subnetmask", "0.0.0.0")

#####
# [HKEY_LOCAL_MACHINE\Comm\EAP\Extension\13]
# "Path"="eaptls.dll"
# "InteractiveUIPath"="netui.dll"
# "ConfigUIPath"="netui.dll"
# "InvokeUserNameDialog"=dword:00000001
# "FriendlyName"="TLS"

RegWriteString( "HKLM", "Comm\EAP\Extension\13", "Path", "eaptls.dll")
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "InteractiveUIPath", "netui.dll")
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "ConfigUIPath", "netui.dll")
RegWriteDWord( "HKLM", "Comm\EAP\Extension\13", "InvokeUserNameDialog", 1)
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "FriendlyName", "TLS")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AFD]
# "Order"=dword:00000002

RegWriteDWord( "HKLM", "Drivers\BuiltIn\AFD", "Order", 2)

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ethman]
# "Order"=dword:00000005
# "Index"=dword:00000001
# "Dll"="ethman.dll"
# "Prefix"="ETM"

RegWriteDWord( "HKLM", "Drivers\BuiltIn\Ethman", "Order", 5)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\Ethman", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\Ethman", "Dll", "ethman.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\Ethman", "Prefix", "ETM")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ZeroConfig]
# "Order"=dword:00000004
# "Index"=dword:00000001
# "Dll"="WZCSVC.dll"
# "Prefix"="ZCF"

RegWriteDWord( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Order", 4)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Dll", "WZCSVC.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Prefix", "ZCF")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDISUIO]
# "Order"=dword:00000003
# "Index"=dword:00000001
# "Dll"="ndisuio.dll"
# "Prefix"="UIO"
RegWriteDWord( "HKLM", "Drivers\BuiltIn\NDISUIO", "Order", 3)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\NDISUIO", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\NDISUIO", "Dll", "ndisuio.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\NDISUIO", "Prefix", "UIO")

#####
# Copy the file "WLAN11g.dll" to \Windows, overwriting if it exists
Copy( "\My Flash Disk\Utils\WLAN\WLAN11g.dll", "\Windows\WLAN11g.dll", TRUE )


#####
# Set the task bar to auto hide so it's not over the AVIC buttons
# [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide]
# "Default"=dword:00000001
RegWriteDWord( "HKLM", "SOFTWARE\Microsoft\Shell\AutoHide", "Default", 1)

 

As for adding icons, I'll discuss adding Explorer to the Destination menu here. I'll leave it as an exercise to the reader to add an Opera/web browser icon, so if they decide to make a menace of themselves by browsing the web while driving they've got to do it with some effort on their part.

Posted Aug 26, 2009 · 19:28 UTC#24
OK, I've got a MortScript that will automate the task of copying the Spectec DLL to \Windows, set up the registry settings for the driver and also set the Explorer task bar to auto-hide.

 

#####
# [HKEY_LOCAL_MACHINE\Drivers\Builtin\Ethman\Popup]
# Popup=1
# Timeout=3600 (or 0xE10)
RegWriteDWord( "HKLM", "Drivers\Builtin\Ethman\Popup", "Popup", 1)
RegWriteDWord( "HKLM", "Drivers\Builtin\Ethman\Popup", "Timeout", 3600)

#####
# [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1]
# "Dll"="WLAN11g.dll"
# "Prefix"="NDL"
# "Instance0"="WLAN11g:WLAN11g1"
# "Instance1"="WLAN11g:WLAN11g2"
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Dll", "WLAN11g.dll")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Prefix", "NDL")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Instance0", "WLAN11g:WLAN11g1")
RegWriteString( "HKLM", "Drivers\SDCARD\ClientDrivers\Custom\MANF-037A-CARDID-5911-FUNC-1", "Instance1", "WLAN11g:WLAN11g1")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g]
# "DisplayName"="WLAN-11g ADAPTER"
# "Group"="NDIS"
# "ImagePath"="WLAN11g.dll"
RegWriteString( "HKLM", "Comm\WLAN11g", "DisplayName", "WLAN-11g ADAPTER")
RegWriteString( "HKLM", "Comm\WLAN11g", "Group", "NDIS")
RegWriteString( "HKLM", "Comm\WLAN11g", "ImagePath", "WLAN11g.dll")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g\Linkage]
# "Route"=hex(7):57,4c,41,4e,31,31,67,31,00,00
RegWriteBinary( "HKLM", "Comm\WLAN11g\Linkage", "Route", "574c414e313167310000")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1]
# "DisplayName"="WLAN-11g ADAPTER"
# "Group"="NDIS"
# "ImagePath"="WLAN11g.dll"
RegWriteString( "HKLM", "Comm\WLAN11g", "DisplayName", "WLAN-11g ADAPTER")
RegWriteString( "HKLM", "Comm\WLAN11g", "Group", "NDIS")
RegWriteString( "HKLM", "Comm\WLAN11g1", "ImagePath", "WLAN11g.dll")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1\Parms]
# "BusNumber"=dword:00000000
# "BusType"=dword:00000000
# "PowerMode"=dword:00000002
# "SDBlockSize"="64"
# "Domain"="0"
# "Angle"="0"

RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "BusNumber", 0)
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "BusType", 0)
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms", "PowerMode", 2)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "SDBlockSize", "64")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "Domain", "0")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms", "Angle", "0")

#####
# [HKEY_LOCAL_MACHINE\Comm\WLAN11g1\Parms\TcpIp]
# "EnableDHCP"=dword:00000001
# "DefaultGateway"="0.0.0.0"
# "UseZeroBroadcast"=dword:00000000
# "IpAddress"="0.0.0.0"
# "Subnetmask"="0.0.0.0"

RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "EnableDHCP", 1)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "DefaultGateway", "0.0.0.0")
RegWriteDWord( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "UseZeroBroadcast", 0)
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "IpAddress", "0.0.0.0")
RegWriteString( "HKLM", "Comm\WLAN11g1\Parms\TcpIp", "Subnetmask", "0.0.0.0")

#####
# [HKEY_LOCAL_MACHINE\Comm\EAP\Extension\13]
# "Path"="eaptls.dll"
# "InteractiveUIPath"="netui.dll"
# "ConfigUIPath"="netui.dll"
# "InvokeUserNameDialog"=dword:00000001
# "FriendlyName"="TLS"

RegWriteString( "HKLM", "Comm\EAP\Extension\13", "Path", "eaptls.dll")
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "InteractiveUIPath", "netui.dll")
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "ConfigUIPath", "netui.dll")
RegWriteDWord( "HKLM", "Comm\EAP\Extension\13", "InvokeUserNameDialog", 1)
RegWriteString( "HKLM", "Comm\EAP\Extension\13", "FriendlyName", "TLS")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AFD]
# "Order"=dword:00000002

RegWriteDWord( "HKLM", "Drivers\BuiltIn\AFD", "Order", 2)

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ethman]
# "Order"=dword:00000005
# "Index"=dword:00000001
# "Dll"="ethman.dll"
# "Prefix"="ETM"

RegWriteDWord( "HKLM", "Drivers\BuiltIn\Ethman", "Order", 5)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\Ethman", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\Ethman", "Dll", "ethman.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\Ethman", "Prefix", "ETM")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ZeroConfig]
# "Order"=dword:00000004
# "Index"=dword:00000001
# "Dll"="WZCSVC.dll"
# "Prefix"="ZCF"

RegWriteDWord( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Order", 4)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Dll", "WZCSVC.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\ZeroConfig", "Prefix", "ZCF")

#####
# [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDISUIO]
# "Order"=dword:00000003
# "Index"=dword:00000001
# "Dll"="ndisuio.dll"
# "Prefix"="UIO"
RegWriteDWord( "HKLM", "Drivers\BuiltIn\NDISUIO", "Order", 3)
RegWriteDWord( "HKLM", "Drivers\BuiltIn\NDISUIO", "Index", 1)
RegWriteString( "HKLM", "Drivers\BuiltIn\NDISUIO", "Dll", "ndisuio.dll")
RegWriteString( "HKLM", "Drivers\BuiltIn\NDISUIO", "Prefix", "UIO")

#####
# Copy the file "WLAN11g.dll" to \Windows, overwriting if it exists
Copy( "\My Flash Disk\Utils\WLAN\WLAN11g.dll", "\Windows\WLAN11g.dll", TRUE )


#####
# Set the task bar to auto hide so it's not over the AVIC buttons
# [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\AutoHide]
# "Default"=dword:00000001
RegWriteDWord( "HKLM", "SOFTWARE\Microsoft\Shell\AutoHide", "Default", 1)

 

As for adding icons, I'll discuss adding Explorer to the Destination menu here. I'll leave it as an exercise to the reader to add an Opera/web browser icon, so if they decide to make a menace of themselves by browsing the web while driving they've got to do it with some effort on their part.

 

Thanks for that FourG, very helpful.

Posted Aug 27, 2009 · 14:23 UTC#25

Will you be laying out the steps for us to follow being that it appears you have bits and peices in different places? For example: Step 1: do this ......., Step 2: do that......, and so on and so forth. Thanks for all the time and great work you have dedicated to getting this mod up and running.