PDA

View Full Version : Run SD Cab with autorun.exe


Nunwood PDA
03-07-2008, 05:07 PM
hello

i need to add a username into the registies for a number of devices i'm flashing. Unfortunatly the usernames all need to be different i.e. PDA001, PDA002 and so on...

I've created a number of different cab files each for a different device that will add the username in.
So is it possible to run the cab file off the storage card as part of the hard reset process. i've updated the SD card with the file Username.cab which is the name of all the cab file, then added "CAB: \Storage Card\Extended_ROM\Username.cab" in to config.txt which is in the Extended ROM. i tested it but it didn't work.

Has anyone got any ideas

Or may be have a shortcut to the cab file added into start up. Would that work?

Nokia 3650
03-07-2008, 08:01 PM
I'd suggest that you instead edit an existing (or relatively insignificant) CAB file (that you'd probably have no use for anyway) with the registry entries/additions so that its guaranteed to be included when you do the Extended ROM customization.



Did you ensure that you copied all the files from an original extended ROM correctly (before making your modifications)?

Nunwood PDA
03-07-2008, 08:15 PM
The thing is I have around 250+ device which need flashing with the same image and as all the devices will require a different Username adding into the registies I 'll need to run an external cab file, a cab file which will be different for all the devices and it's best to run it from the SD card.

I tried to adding a cab file into the Extended ROM which will install a shortcut into the startup folder the shortcut is to the cab file on the storage card. But for some reason it didn't run.

I have a couple of SD cards with an image of my Extended rom on so if anything goes wrong i have the backups.

Nokia 3650
03-07-2008, 08:34 PM
Whats wrong with having the 'end-user' maually execute the .CAB file?


Why don't you simply customise one PDA (the way you wan't with your preconfigured settings) (minus the user/device name), then do an entire backup using SPB BACKUP (onto a SD Card). You can then restore this image on all 250+ devices (sounds time-consuming,but it really isn't).


All the end user had to do, is to manually execute your .CAB file when they are issued the units.

Nokia 3650
03-07-2008, 08:38 PM
This is your true answer (in my opinion):

http://www.spbsoftwarehouse.com/products/backup/?en

Nunwood PDA
04-07-2008, 04:11 PM
RE: Whats wrong with having the 'end-user' maually execute the .CAB file?

Basically the devices are used by Market research interviewers who work for us, most of whom are not familier with the devices and are not computer litterate. I'm responsible for a small support team and also the development of the devices. The software we use is already extremley simple and all they need to do is click a buttom "Connect" if the username is not already inserted they get a box "Logon Failed, please check the following details are correct." and a username and password box is displayed and they simply need to type in the id number from the sticker on the back of the pda (like PDA001).

We have just had a large project in feild and over the period we have around 200+ user. Around 50% of the call we took, at some point they had problems entering the username. As much as SPB backup would be of use, if they can't already do a simply thing like type in PDA123, asking them to do this seem like asking alot and would probabily cause more issues.

We already have all the other information in the registries for this application and the username is the only thing which isn't consistant through out.

Do you know if it would be possible to prompt them to run the cab from the sd card which enters the username into the registires on startup?

Nokia 3650
04-07-2008, 07:33 PM
Do you know if it would be possible to prompt them to run the cab from the sd card which enters the username into the registires on startup?

Sure it is possible. Did you already try placing a shortcut to the .CAB in "Windows\StartUp" ?. Likewise, you can easily create another script that deletes that shortcut (to ensure that its only used once).


Please keep us posted, on your developments.

Nunwood PDA
07-07-2008, 01:43 PM
Sure it is possible. Did you already try placing a shortcut to the .CAB in "Windows\StartUp" ?.

Yeah, it didn't do anything. I had a cab file in the extended ROM which placed the shortcut in the dir. \Windows\startup\. For some reason nothing happened, but when I navigate to the .cab file it ran without any problems.

When you say create another scipt, how would I go about doing that? If i had an .exe it could act as a link to the cab on the SD card. i'm not familier with this kind of method. But I think that would solve the problem.

The location of the .cab is: \Storage Card\Help\UserName.cab

Nokia 3650
07-07-2008, 08:05 PM
Thanks for the exact location. I'm just compiling something for you in visio Studio 2005, that will execute the .CAB file when run at automatically from startup (it'll do this only once).