Hi guys,
I use WinCE CAB Manager v1.1 for creating CAB files.
The only problem is that there is no option here like "Allow Uninstall: TRUE/FALSE" (like in v2.0).
I would like that some of the CAB files that I created do NOT show up in "Remove Programs".
Is there something like a standard INF file that I can use for this option, so that with every CAB that I am going to create I 1st import the .inf file (that sets uninstalling to False) and then add my files/registry settings and things like that.
If this is possible, can someone provide me with something like this?
Thanks and regards,
Molski
As far as I know there is no such option in the INF, but the app that installs the cabs (wceload.exe) has the '/nouinstall' command line parameter.
levenum said:
As far as I know there is no such option in the INF, but the app that installs the cabs (wceload.exe) has the '/nouinstall' command line parameter.
Click to expand...
Click to collapse
So adding: "wceload.exe "%1" /nouninstall" to the registry would solve my problem.
But when I do this, every CAB file I install cannot be uninstalled.
I would like to set nouinstall per CAB file, so one CAB file can be uninstalled and another one cannot.
Regards,
Molski
Why do you want to do this?
If I installed something that later could not be removed - I'd be VERY pissed off.
TheBrit said:
Why do you want to do this?
If I installed something that later could not be removed - I'd be VERY pissed off.
Click to expand...
Click to collapse
It's for 2 files I use in the Ext Rom of my Molski.Biz roms.
And believe me...you DON'T want to uninstall these 3 files ;-)
Molski
Hi molski
If you remove the registry entry in HKLM\security\appinstall for the named apps they wont show in the remove program list. You could make a cab file to do this after installing the other cabs, or try including this in the apps cabs - I only know how to do this with xml. If you need help give us a shout.
meschle said:
Hi molski
If you remove the registry entry in HKLM\security\appinstall for the named apps they wont show in the remove program list. You could make a cab file to do this after installing the other cabs, or try including this in the apps cabs - I only know how to do this with xml. If you need help give us a shout.
Click to expand...
Click to collapse
Is it possible that you could create a XML file for me that I could use in the CAB'S that I want to prevent from uninstalling?
If you want I can PM you the CAB files.
Thanks,
Molski
molski said:
Is it possible that you could create a XML file for me that I could use in the CAB'S that I want to prevent from uninstalling?
If you want I can PM you the CAB files.
Thanks,
Molski
Click to expand...
Click to collapse
Yes pm the cab files and i will see what i can do - i have managed to delete the reg entry with a cab so far and will try to include it in yours. What do the cabs install? Will it affect my wizard?
Install all of your files and export HKLM\security\appinstall to a .reg
Post the contents here and we can make you the cab you are after.
meschle said:
Yes pm the cab files and i will see what i can do - i have managed to delete the reg entry with a cab so far and will try to include it in yours. What do the cabs install? Will it affect my wizard?
Click to expand...
Click to collapse
It are 2 files, Performance and Registry tweaks CABS.
Check out "My Cabs" page on www.molski.biz for what the files do with your Wizard.
Molski.
molski said:
It are 2 files, Performance and Registry tweaks CABS.
Check out "My Cabs" page on www.molski.biz for what the files do with your Wizard.
Molski.
Click to expand...
Click to collapse
Yes i am familiar with those - i'll download the cabs and i will see what can be done.
meschle said:
Yes i am familiar with those - i'll download the cabs and i will see what can be done.
Click to expand...
Click to collapse
I will PM you the latest version tomorrow, don't use the files on molski.biz, they are outdated
Molski
molski said:
I will PM you the latest version tomorrow, don't use the files on molski.biz, they are outdated
Molski
Click to expand...
Click to collapse
I have posted you a cab - it appears the best fix. I doubt if including the reg tweak in the 2 cabs would work as the reg values are added after the install. Install my cab after yours and it will do a fix - i have left the name of the fix cab blank so it does not appear in the uninstall programs list.
rename zip to cab
@molski...
What are those cab files for? if those CAB files are only for registry manipulation (meaning no files would be dumped to th device) then CAB Provisioning will be the best, it doesn't show on the Remove Programs.. Please tell if that's what you are looking for. Goodluck!
Here are the 2 files
Here are the 2 tweak files, they are created with WinCE CAB Manager v1.1
I would like that these 2 files cannot be uninstalled after they are installed by the Extended Rom.
And please...can you guys be sure that after adding the "nouninstall" option to these files I still can edit them with WinCE CAB Manager v1.1 (because I noticed that WinCE CAB v1.1 cannot open every CAB file, especially files that are created with Visual Studio or a newer version of WinCE CAB Manager).
Really thanks a lot guys!
Regards,
Molski
p.s. Some of the tweaks are in both files in case people want to manually install one of the files, but for installing via the Ext. Rom I want to make sure that they are not able to uninstall!
p.s.2 These are the tweaks that are in the files right now:
The file: Molski.Biz Performance Registry Tweaks
• Increase FileSystem cache
• Increase FileSystem filter cache
• Increase font cache
• Disable window animations
• Disable menu animations
• Enable FileSystem cache
• Enable ClearType
• Enable ClearType in Landscape mode
• Change the thickness of scrollbars to 9
• Change the length of scrollbar arrow buttons to 9
• Enable 802.11g 54Mbps
• Set IE Mobile Zoom Settings to "normal"
• Move "IE Temporary Internet Files" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE History" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE Cookies" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Move "IE Cache" to 'Storage Card' ( \Storage Card\IE Mobile\ )
• Enable CAPS Lock indicator
The file: Molski.Biz Customizing Tweaks
• Don't delete CAB files after installing
• Turns SMS Delivery on
• Install Wireless today plug-in
• Enable receiving of files over BlueTooth/IrDA
• Add time sync page to Phone Settings
• Add a 'Disconnect' button (and Timer) to the "GPRS Balloon Tip"
• Disables different GPRS/EDGE indicator icon
• Show All Day Event and tomorrow appointments on the Today Screen
• Workaround to avoid GPRS connections conflict with phone calls
• Enable DTMF Support
• Always show the clock in the taskbar
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
da_mayhem said:
@molski...
What are those cab files for? if those CAB files are only for registry manipulation (meaning no files would be dumped to th device) then CAB Provisioning will be the best, it doesn't show on the Remove Programs.. Please tell if that's what you are looking for. Goodluck!
Click to expand...
Click to collapse
CAB Provisioning sounds great....can you give me some more info on how to do this?
The CAB files are only containing Registry Entries.
Molski
t0flus said:
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
Click to expand...
Click to collapse
Thanks, unfortunately they cannot be openend anymore with 1.1, but until I have some changes to these files they will be perfect.
Can you give me some more info on how you did this?
Maybe I can do it myself also
Molski
t0flus said:
I've edited the files so that they are uninstallable.
Don't know if they will open inn 1.1
But If the cab files only contain reg entries the solution da_mayhem suggested is a better alternative.
Øystein
Click to expand...
Click to collapse
When I try to install the files it says that the files are not compatible with my current OS ?
Molski
I just opened and edited them with Cab Manager 2.0
The Registry CSP is documented at MSDN: http://msdn.microsoft.com/library/d...en-us/mobilesdk5/html/wce51grfregistrycsp.asp
I've attached a example and the only thing you need to do is to edit the _setup.xml file and run runme.bat to generate the cab file.
Easy as .... dell..?
Best regards
Øystein
Hi, Guys:
I found many ROMs has preset alarm sound and wallpaper for today already. I am building my own ROM, however I cannot get these two to work. What I did are:
For alarm sound:
1. In the beginning, I put Alarm-High.wav to Kitchen under SYS\AlarmSounds. Build and flash, I am not able to find it in the Clock setting. Then I change the name to Alarm-High.wma and rebuid/re-flash. Now I am able to see the sound in the list. So, WM6.5 cannot use wav as alarm sound?
2. After that I want to set this sound to Alarm sound in the kitchen so that I do not need to change after flashing. I set registry key:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmSnd"="\\Windows\\Alarm-High.wma"
No success. What is the proper way to realize?
For wallpaper:
I set registry:
[HKEY_CURRENT_USER\Software\Microsoft\Today]
"Wall"="\\Windows\\Grass.jpg"
Build the ROM and flash, the registry is set, but the wallpaper is not set.
Any suggestion on the above two problem?
HTC_FUZE said:
Hi, Guys:
I found many ROMs has preset alarm sound and wallpaper for today already. I am building my own ROM, however I cannot get these two to work. What I did are:
For alarm sound:
1. In the beginning, I put Alarm-High.wav to Kitchen under SYS\AlarmSounds. Build and flash, I am not able to find it in the Clock setting. Then I change the name to Alarm-High.wma and rebuid/re-flash. Now I am able to see the sound in the list. So, WM6.5 cannot use wav as alarm sound?
2. After that I want to set this sound to Alarm sound in the kitchen so that I do not need to change after flashing. I set registry key:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmSnd"="\\Windows\\Alarm-High.wma"
No success. What is the proper way to realize?
For wallpaper:
I set registry:
[HKEY_CURRENT_USER\Software\Microsoft\Today]
"Wall"="\\Windows\\Grass.jpg"
Build the ROM and flash, the registry is set, but the wallpaper is not set.
Any suggestion on the above two problem?
Click to expand...
Click to collapse
For the alarm clock sounds, only wav files are accepted. (remember that you should not change the files extensions, the best way to change sound formats is to use an audio converter)
It seems to me that your reg setting are being overwritten during the ROM build process. Either make sure your reg is one of the last being processed during ROM build, or you should try using a provxml instead, since they're only processed at first boot.
Same thing goes for the wallpaper.
Hope it helps.
Cheers
FInixNOver
FInixNOver said:
For the alarm clock sounds, only wav files are accepted. (remember that you should not change the files extensions, the best way to change sound formats is to use an audio converter)
It seems to me that your reg setting are being overwritten during the ROM build process. Either make sure your reg is one of the last being processed during ROM build, or you should try using a provxml instead, since they're only processed at first boot.
Same thing goes for the wallpaper.
Hope it helps.
Cheers
FInixNOver
Click to expand...
Click to collapse
Both wav and wma files can be set as alarm sound. The strange thing is if I put Alarm-High.wav in the ROM and flash to phone, this sound won't appear in the list. BUT IF I copy the file to \windows, and then it will appear in the list. No idea why????????
HTC_FUZE said:
Both wav and wma files can be set as alarm sound. The strange thing is if I put Alarm-High.wav in the ROM and flash to phone, this sound won't appear in the list. BUT IF I copy the file to \windows, and then it will appear in the list. No idea why????????
Click to expand...
Click to collapse
These reg entries are in one of my OEM rgu files:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\1]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\2]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
If the file is located in Windows folder by default, you don't need to specify the file path nor the file extension.
However, AFAIK, only wav files can be used for alarms, and if you try to change the alarm sound in "Clocks & Alarms" in settings, you will realize that, in the drop down list, only wav files are available. But I may be wrong.
Cheers,
FInixNOver
FInixNOver said:
These reg entries are in one of my OEM rgu files:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\1]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\2]
"AlarmDays"=hex:00
"AlarmFlags"=hex:00
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AlarmNotFlags"=hex:0C,00,00,00
"AlarmSnd"="Alarm-Light"
"AlarmText"=""
"AlarmTime"=hex:00,00
"Len_AlarmSnd"=dword:0000000B
"Len_AlarmText"=dword:00000000
If the file is located in Windows folder by default, you don't need to specify the file path nor the file extension.
However, AFAIK, only wav files can be used for alarms, and if you try to change the alarm sound in "Clocks & Alarms" in settings, you will realize that, in the drop down list, only wav files are available. But I may be wrong.
Cheers,
FInixNOver
Click to expand...
Click to collapse
Thanks. Proved both wav and wma will work for alarm sound. However, the wav file built in ROM won't work, wav file copied after flashing will work!. How strange!!!!
Finally get alarm to work! Add Copy command in provxml to copy Alarm-High.wav file to \APPLICATION DATA\SOUNDS and build the ROM. After flashing, it appeared in the alarm list and set to alarm sound already!