Hi,
I want to deliver application on SD/MMC-Cards.
I have build a well-working cab-file with cabwiz.
The problem is, that the cab-file is deleted after executing.
Question:
Knows anyone how to achieve, that the cab-file is N O T deleted?
Question:
How can I execute the cab-file from a simple setup-program (which then saves the cab-file)?
Franz
Just make the file read-only and it won't be deleted after installation.
Sounds very nice,
but my MDA-Pocket PC has only a SoftInputPanel.
I can't find the ALT-Key and don't know how to get a property-panel.
Perhaps you can help?
If you use another file explorer like resco explorer, you can get to the properties by holding down the stylus on the file then choosing properties.
Set the File to Read Only on your PC before copying it to the SD/MMC-Card
Wow this is an old and unanswered thread.
The registry entry
HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /nodelete
On the device controls what is the default command to execute a .cab file so the above will leave it be.
Or you could try to add
HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)
To the cab and hope that this registry entry gets picked up immediately after installation.
Setting read only is the best user friendly way though, as you don't change default behaviour in the device.
Related
To anyone who may be able to help me with this:
I'm using PDAViet 3.00.07.20, and i'm working my way in cooking it to match my preferences.
I've converted default.hv and user.hv to .RGU files so i can change some reg entrys (to add/remove apps/preferences - also editing Initflashfiles.dat). Made some changes, saved in Unicode format, and converted back to .HV files. Created the OS.NBH (well, all the right steps to have a rom ready to be flashed into the device).
Once the flashing is finished, i boot the device and stumbled upon a problem:
- The startup animation runs ok but there's no sound. I hear the speaker go ON with some background noise, but no .WAV file is actually played.
NOTE:
When i first converted the default.hv to defalt.rgu, these were the values i encountered:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\StartupAnimation]
"Volumn"=dword:0
"WAVFile"=“\\Windows\\Startup_sounds.wav”
"GIFFile"="\\Windows\\HTC Black.gif"
"Enabled"=dword:1
At first i thought it was because the entry "Volumn" was equal to 0, so it would be normal if there was no sound, but i changed it to 22, 35(advices from a friend), and 4555(i got this value when searching for an answer to this problem - i don't really remember in which thread), but the result was always the same - NO SOUND
I even changed the .WAV target to another file, but still no sound.
Then I tried another thing, just edited the rom with some customized image files, changed some entrys in the initflashfiles.dat, but left the original .HV files. Again rebuilt the rom, flashed it to my device, and no surprise, the StartupAnimation sound works!!!
So I guess the problem has something to do with the process of converting .HV files to .RGU and back.
I'm using notepad2 to edit the files.
Any help will be appreciated. Sorry for the length of the post.
UP for this problem !
Me, i have rename :
GIFFile to GIF
WAVFile to WAV
and put "0" to "ENABLE" ...
Turn off device by button "normal" not soft reset with pencil ... turn on and suprise ! no HTC sound and logo ...
Does anybody know how create a .REG file for automatic reg modification ? is the syntaxe the same for WinXP ?
ShreckBull said:
UP for this problem !
Me, i have rename :
GIFFile to GIF
WAVFile to WAV
and put "0" to "ENABLE" ...
Turn off device by button "normal" not soft reset with pencil ... turn on and suprise ! no HTC sound and logo ...
Does anybody know how create a .REG file for automatic reg modification ? is the syntaxe the same for WinXP ?
Click to expand...
Click to collapse
I think you understood me wrong!!
The point of this thread is to make the wav file work at startup and not the other way around...
Oh yes !
Sorry, i'm tired !
Me, i search for disable the sound (just the sound) ... lol !
Your topic with registry key was that i search for tweak this HTC boot screen, without, i haven't find the correct key in registry.
Thank you !
Your registry, if it is always like the first message, is the same that there by defaut in my config (3.6 faman).
Verify if you have the two file included ... in your windows directory.
thx for ur infomation, same problems here, only a little noise heard.
i never thougt of its the problem of hv file, and I was using emeditor, i think there is something wrong with rgucomp.exe.
Same problem here too
i dont think its a good idea to edit default.hv directly, just becoz u will destory the strcture of the rom. (actually the two hv files are generated form several files). now i switch to the ways of bepe, its more assurance. if u want to modified the system core registry, use the "search fonction" of the "buildos+package_tools"
i have been compiling my own ROM using the available tools. it is almost at what i would call perfect, except for a few issues that i am unable to solve. any knowledge and help would be highly appreciated!
1) in the Control Panel, i would like to remove the following items:
encryption
managed programs
usb to pc
2) setting the IE homepage: I have set (by adding to an .rgu file)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Abouturls]
"home_0409"="http://www.google.com/m/classic"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Abouturls]
"home"="http://www.google.com/m/classic"
but no matter, after i flash, it always goes to "http://mobile.htc.com"
obviously my settings are being overridden elsewhere, but i have searched for hours and have not found where from.
3) i am trying to delete the registry entry:
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"="Rilphone.dll"
i have placed in an .rgu file the following entry:
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"=-
but no matter, the first entry is always present after flashing.
4) i cannot figure out where the Resco Explorer registration info is located so i can have it registered from the start. i have search and found that i am by no means not the only one with this problem, but no one has reported success.
5) i am using the Vista Cube, and somehow the name entries for the "email" and "sms" tiles have been switched. once, again, i have placed correcting entires, but they are apparently being overridden.
other than these issues, i have created my perfect rom! if anyone can help on any of these, please do report. thank in advance.
P.S. I have posted the same here and here.
i have been compiling my own ROM using the available tools. it is almost at what i would call perfect, except for a few issues that i am unable to solve. any knowledge and help would be highly appreciated!
1) in the Control Panel, i would like to remove the following items:
encryption
managed programs
usb to pc
2) setting the IE homepage: I have set (by adding to an .rgu file)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Abouturls]
"home_0409"="http://www.google.com/m/classic"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Abouturls]
"home"="http://www.google.com/m/classic"
but no matter, after i flash, it always goes to "http://mobile.htc.com"
obviously my settings are being overridden elsewhere, but i have searched for hours and have not found where from.
3) i am trying to delete the registry entry:
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"="Rilphone.dll"
i have placed in an .rgu file the following entry:
[HKEY_LOCAL_MACHINE\Comm\InternetSharing]
"Extension"=-
but no matter, the first entry is always present after flashing.
4) i cannot figure out where the Resco Explorer registration info is located so i can have it registered from the start. i have search and found that i am by no means not the only one with this problem, but no one has reported success.
5) i am using the Vista Cube, and somehow the name entries for the "email" and "sms" tiles have been switched. once, again, i have placed correcting entires, but they are apparently being overridden.
other than these issues, i have created my perfect rom! if anyone can help on any of these, please do report. thank in advance.
P.S. i have posted the same here and here.
Hello friends,
I am trying to figure out how to script a specific registry change which I can toggle off and on on my Rhodium without manually running a registry editor. The registry key I want to be able to toggle between 0 and 1 is:
HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo
I have searched heavily, and read about MortScript, but I feel there must be a better way to get this very simple task done.
The reason I want to be able to toggle the above registry key between 0 and 1 is to properly run a Command Prompt (like DOS prompt) on our lovely Rhodium. If you happen to be interested in getting the Command Prompt on your Rhodium see the web site listed below (everything will work as soon as we can toggle the above registry key, without being able to toggle the key the Rhodium's boot process will get clogged by the command prompt window, which is quite a nuisance).
http://dalelane.co.uk/blog/?p=122
If anyone has any ideas I would be very great full. Thank you!
Can't you just cab up two separate registry tweaks and then create shortcuts to them?
Making Cabs from two registry tweaks would be ideal, and I am asking someone for a hint on how to accomplish this.
If anyone has any idea on how to create/write a registry tweak and 'compile' it into a Cab please advise.
Thank you in advance
i could make up a simple EXE to do this will that help?
please PM me more info regardign it
Thank you for the offer, I actually spent more time on it and figured out how to create two .CAB files, one would set the registry to "0" and the other would set the registry to "1", but I was not able to create an .EXE file.
If you have a minute to create an actual .EXE file that would be superb to my solution of two .CAB files.
I am attaching the two .CAB files for the group.
try the attached exe and let me know
just copy to device and run it
I appreciate the attempt, but unfortunately the application you wrote does not produce consistent results in my quick testing. Sometimes pressing Visible changes the registry key and sometimes it doesn't, it seems like pressing the Invisible key has no change upon the registry at all.
If you could revisit the code that would be great.
Thanks
While Cooking for LEO, many CABs has a self registering Dlls which runs fine from the cab file but when you try to convert the cab to OEM package, this dll looses it self registering functionality because there wasn't any code grabbed to the OEM package that tells the Kitchen to mark it for self registering.
Is there any solution for such a case?
To Make it clear:
I'm trying to cook "MOBiDIV_PrayerTimes_Diamond2_B15_TSD_Jun1.Cab " but the problem with the included "fileosp.dll" which requires self registration that is been automatic done while installing the .CAB
So, is there any kind of solution to do it while COOKING the ROM?
Use kheb to grab all the registry keys that are installed during the cab install/reset process. Then put them in your package. Or just search for the keys. We're talking the HKCR\clsid keys, aren't we? They're usually easy enough to find, if you dump and search your registry.
Farmer Ted said:
Use kheb to grab all the registry keys that are installed during the cab install/reset process. Then put them in your package. Or just search for the keys. We're talking the HKCR\clsid keys, aren't we? They're usually easy enough to find, if you dump and search your registry.
Click to expand...
Click to collapse
Thanks for your idea.
I did already and got all clsid and inject them in the package but still the same.
It seems emulator is behaving differently than actual device, what you think?
InCities.cdb
After ROM Booting, i re-install the Original Application, it works.
This is normal because the original application is doing something with InCities.cdb file.
I knew that my registry entries is correct because:
1- I checked everything in registry before and after my modification.
2- I checked everything before and after Original Program Change.
changes are identical
BUT
BUT
WHEN I PLAYED WITH (CHANGED) THE REGISTRY ENTRIES:
FROM
[HKEY_LOCAL_MACHINE\Software\Apps\Shared]
"\\Windows\\InCities.cdb"=dword:00000001
TO
[HKEY_LOCAL_MACHINE\Software\Apps\Shared]
"\\Windows\\InCities111111111.cdb"=dword:00000001
then copied another file as the same name
then tried to change it back to original, THE APPLICATION FAILED.......................................
So, Here is the trick but i don't know how to fix.