help on using autorun.exe - 8525, TyTN, MDA Vario II, JasJam ROM Development

it seems that i asked this b4....
but i still have problems...
the scenario now is
1. i put autorun.exe and config.exe in "/storage card/essential/" folder
2. i put cabs into that folder
3. i edit the config.txt so that it points to these cabs
......but above did not work. nothing happen when clicking autorun.exe
did i miss something??
or the cab has to be remake?
those cab are just normal cab that ask where to install.
one more thing, can CPY function work with "*.*" command or does it support copying folders?

Hi,
There is already a thread on this topic.
Look here.
wfg
S64

i have read this thread
but i m not making a ext rom now....
i wanna run the autorun.exe on SD card instead of extrom
actually i just want to make a batch installer not ext rom
could anyone help help on this?

Just make a shortcut to the autorun.exe on the SD card, and put it in Windows\Startup folder. BUT, make sure you delete it after it runs, or remove the SD card before rebooting, or you will have multiple installs...

@drummer10630
coz i put all the cad and sutorun.exe in SD card
is that mean autorun.exe cannot run manually?

I never tried it, but are there any disadvantages to the method I suggested?

i just tried it..but it dosent work
..wondering if autorun can only be executed in extrom

hi
any news? i have the same problem/
thanks

Related

automatic install without hacking rom!

Hi Folks,
i found a trick to make an autoinstall from strorage card (like from extended Rom)!
autorun.exe looks for the file config.txt on the place is in registry stored in:
"HKLM\Comm"
"AutoRunCFG" = "\Speicherkarte\Autoinstall\config.txt"
so i changed the registry entry and now i am able to put config.txt and the files to install on every place i want.
on windows Mobile 2003 devices this works wonderful!
on problem i have now with windows mobile 5 devices:
when installing a question appears where to store files (device or storage card)!
can anybody help me to get rid of this question during automatic cab install??
i want install all cab files to device without any questions!!
pbelcl: apologies for my ignorance, but is this very different to a 2577 folder?
with a 2577 cab we could use this info:
http://forum.xda-developers.com/viewtopic.php?p=225375#225375
and choose a default install folder I think for WM5.
V
Thanks for your quick answer!
i read the other tread and if i understood it right i have to remove the .dll file from my cabs?
i'll try this and tell you if it worked ....
I think the other way round.
I've never done it before, but you need to make a custom cab and .inf file, and specify the installation location in therere, and then the "choose a location" dialog doesn't come up. I'm not sure, I'll try this at home later.
V
vijay555 said:
...I'll try this at home later.
Click to expand...
Click to collapse
Thanks, that would be interesting for me because i cant generate cab files because i hav no developer software for this.
i also have access to a cab file manager (at a customer) where i can edit the cab files and change them as i need it.
if it is possible to generate an "empty" cab file for me that would be nice ....
pbelcl: I never use the cabwizard either, I use cab manager. To make an empty cab, take any normal cab (download one of mine?) and just remove all the files from it. That's what I always do!
V
vijay555 said:
.just remove all the files from it. That's what I always do!V
Click to expand...
Click to collapse
ok, this is also my way to get an empty cab file
there is one question interesting:
Sometimes there is a "CheckFile.exe" and a "CeSetup.dll" in the cab file.
Do i need them for any work during install this cabfile or can i delete them also?
I remove everything from my cabs, and then use cab manager and drag and drop stuff. So I've never used those files. I will have to read up on how to make a "normal", but I don't think they're necessary if you didn't put them in there!
V
Hi folks,
again my last problem with automatic install on WM5 devices:
when my automatism starts to install the cab files (from where ever) each time there comes a popup windows where to install the cabfile (storage card or device).
for my routines it is not important becaue most of my cab files only set some registry keys and dont install files on the device!
Does anybody know how i can get rid of this window and install the files to device WITHOUT question popup window??

Cab files....

Im pretty new here and just got my BA not tooo long ago...I used to be a trreo user now im hooked on my BA.
I see alot of software that comes in a form of a cab file...does anyone know how I can load that software on my BA? thanks alot!
hey mate and welcome!
if you put the cab file in your pc folder; you'll see that the description is "zip file"....that's because it's the only format microsoft recognizes...in a way its also true as the cab file is a compiled program ready for installation. what you do is DON'T unzip the file in your pc; rather cut/copy and paste it directly in your ba (via activesync or in your sd card). put it in a folder that's easy to find; say "my documents...personal" (or you can make your own folder to put in cab files). use your ba's file explorer and go to the folder...from there double click (via stylus) on the cab file and it will automatically install itself. btw, if you copied the cab file in your sd card you can also execute the installation there....no need to paste it in your my documents area.
if you're using wm2005; upon execution the unit will ask you if you want to install it in the sd card or internal memory....that's really up to you depending on the size of the file you're installing.
hope that helps
rob
thanks alot Robson.
Ive always looked past cab file programs b/c i couldnt install it. I hope this thread helps other newbies too. I searched and couldnt find an answer.
is there anyway that can install cab files direct from pc to ppc?
sorry for the late response; was in china for a week.
unfortunately, no. i don't think there's a way to install cab files via pc. if you do unzip a cab file; you'll notice that the files are something like:
0000124
009890
or something like that....can be as many as 20 lines of code...but scanning through the entire zip will not give you any .exe files which can be executed via pc. if you have a card reader installed on your laptop, simply copy and paste the cab file on your sd and from there install via your ppc
hope that helps
rob

Auto Install Cabs onto Storage Card

Hi, I've read somewhere in the forum that is possible to use the ExtRom Autorun application to install the cabs you want after a Hard reset.
I have a question regarding that issue. Is it possible to change the config.txt file in a way that you can silently install apps not only on the main memory but also onto the Storage Card?
What I'm looking for is an autoinstaller of some kind...
Thanks in advance.
Sorry for my bad English!
...Anyone?
Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.
coxrui said:
Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.
Click to expand...
Click to collapse
Will try that, thanks!
------------------------
Obrigado pela ajuda, vou testar e depois digo como correu!
i tried that, but, i still have a question: with wince cab manager, if I'm doing that @coxrui the application is still asking for the location of the cab installation. how can i install it directly to storage card without asking?
P.S. solved: you have to use hard-code paths to storage card.

Extended Rom and Hard Reset

Hello.
At first sorry for my language.
I have problem, after HR, Extended_rom aplication are not starting to install. I had unhide an extended rom folder and he is in main directory where is windows folder and program files folder(correct place for extended rom?? becouse I have heard thet should be in STORAGE).
Next I check how much take place and resco explorer show me only 0,9 MB.
When I enter in the folder I check a sum of all files and is above 15MB.
Yesterday I change a ROM on newer and I thought that extended rom also will be working after upgrade but he is not.
Any idea??
Cant you just go to the extended_rom and run all those .cab's from there?
No becouse show me that a each .*cab is not a Windows CE aplication or something.
I deleted eveything manualy except config.cfg and now I want to manualy copy all extended roms files in EXxtended_ROM folder but there is not inought space. I have less then 1MB. Enyone know how to change space Extended_ROM folder ??

Cab editing to install on SD Card

How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
yassero said:
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
Click to expand...
Click to collapse
Should it not be "Storage Card" - with a space?
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
papo said:
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
Click to expand...
Click to collapse
Yes. I did that & the result was that it has created a folder on the device memory called Storage Card & installed the app in a subfolder in that folder.
It neglected the physical Storage Card completely. My objective is to change the default install dir of all my cabs so when I use XDA_UC, it automatically install them to the SD Card. What XDA_UC currently does is semi-auto install whatever I put in XDA_UC/SD, meaning that it runs the installer & asks me to select where to install the app.
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
papo said:
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
Click to expand...
Click to collapse
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
yassero said:
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
Click to expand...
Click to collapse
you got it wrongly, the last option was not using CAB at all.
I don't know what you are trying to do. Hard to guess. Why would you want to install on SD on the first place?
In my case, I am placing maps and files which programs can only use from SD, I have them in zip and unzipping with 7zip which accepts plenty of arguments.
You know that CAB is something like zip. You don't need to use CAB and can have the same results. And if you creating those cab yourself, why not just create zips. And you have it compressed better too.
- what is reg? file containing registry entries. if you don't have any you don't need that.
- nothing to do after
- for files:
you place all files in folders in this zip file, starting with "Storage Card"
this will check SD card, if it's present and then unzip file "file.zip"
I have this file and 7zG.exe files in ROM-windows folder, but you can change that below.
for this script to run you need mortscript.exe and 7zip programs, they are free
==
SetMessageFont(17, "Tahoma" )
While( not DirExists("\Storage Card"))
SleepMessage( 99, "Insert SD card", "SD card missing", false, DirExists("\Storage Card"))
EndWhile
RunWait("\windows\7zG.exe"," x \windows\file.zip -y")
I am not that knowledgeable technically. I do not not create Cabs. All I am trying to do is figure out a way to have the cabs I have installed silently on the SD after I flash any new ROM. I place all my cabs on Storage Card in folder XDA_UC/SD. This is not a silent installation. It needs user intervention as on each cab installation, it prompts me to select where to install to (device or SD Card). I am very humble when it comes to reg files & stuff like that. I do not know how to write them or how to use them afterwards.
I have always wanted my settings saved aswell to be applied on the next ROM installation. Thanks to NRG, his ROMs come with Settings Export app that simplifies things but exporting all settings to Storage Card in folder XDA_UC & accordingly it is applied at new ROM installation.
why do you want to install to SD card?
What pda you have? Are you low on internal memory?
I only put an app on SD if I had less then 5MB internal free.
You should use your internal memory for programs as it's faster and better protected against lost clusters and unfinished writes.
And to use SD for personal data, as pictures, mp3 as it's easier to make backup of it and access speed doesn't matter there so much.
There is no reason keeping more then 5MB free of internal memory.
A time ago I put update of opera on SD, once when it crashed, it damaged file structures and I lost half of my data on SD.
You can have silent installs to internal memory.
-
Other thing is, as someone wrote before, for most of the apps you don't need to install again on SD card if they are still there. Before you reflash, backup
folder \windows\Start Menu and after reflash, copy it back.

Categories

Resources