yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I find CERegedit slow, and don't use it personally. I just export my before and after reg entry to two files and then compare them on my PC with windiff.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
I have been using CeRegistryEditor for quite some time. I agree that it is slow, and Bengalih's method is probably a better option. If you prefer to use CERegedit, then I would recommend connecting to device, backing up the registry using CeREgistryEditor, making the changes on the device, and then comparing using the now current registry and the saved registry.

You may want to make some coffee or something while all of these registry reads are taking place.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ahirshfield:
Customlinks.ini - Shortcut relocation glitch...

Hi all,

I am now using SASHIMI to automate the re-install of a standard application set among all the HTC Diamond devices in my team at T-Mobile UK. This is a fantastic tool which manages to cover every eventuality for our regular re-installations upon testing new roms.

Please allow me to mention one issue we have noticed regarding the automatic re-location of shortcuts using the 'customlinks.ini' file.

If the .cab file in question usually installs it's shortcuts to "\Windows\Start Menu\Programs" then Sashimi successfully changes the shortcut location to that specified in the customlinks.ini file in every occasion.

However, in some cases, the .cab files specify "\Windows\Start Menu" for the shortcuts. In all of these cases the shortcuts end up in the main 'Programs' folder and Sashimi seems to always leave the shortcuts in this location regardless of the customlinks.ini file.

Hoping this can be resolved for a future release. All else has been working flawlessly so far.

Thank you for all the hard work and effort in creating the ultimate in setup tools. It is very much appreciated.

Best regards,

Adam R. Hirshfield

T-Mobile UK Ltd.

Core Networks
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Adam...this is a known issue, and something that I specified from the outset. SASHIMI only scans for changes underneath \Windows\Start Menu\Programs and will only look for changes at that level.

So, for instance if you have a folder called \Windows\Start Menu\Programs\Tools already in existence and a new application installed a shortcut under Tools, then SASHIMI would not be able to find it.

However, if the Tools directory didn't exist and the application created it (basically creating a new folder, Tools underneath Programs) then SASHIMI would detect this change.

This is because the method I use to look for changes is simply to examine the Programs folder before and after the CAB install. It is not a recursive search. When I first programmed it I couldn't figure out how to get it done recursivley in an efficient manner. I still don't know if I could code a routine to do it...but I will give it another look next time around.

I just want to clarify what you said however about shortcuts ending up in Programs. If the CAB installs a shortcut to the root of \Windows\Start Menu, then that is where it should end up... not in \Windows\Start Menu\Programs. SASHIMI shouldn't even be able to find (or touch) the shortcut if it was created in \Windows\Start Menu, since it begins its search within Programs. Are you seeing something to the contrary?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ahirshfield:
Thanks for such a quick response Bengalih,

I have taken another look at the affected CAB files and have a more enlightened finding of the issue:

The Shortcut path could be defined with the .Lnk file installed directly to "\Windows\Start Menu\Programs" - with no further Directory string/value specified in the cab file. As already mentioned, in these cases all works fine in Sashimi.

However the Shortcut path may also be specified as "\Windows\Start Menu" for the .Lnk file. This however is further complimented in the cab file with a 'String ID' substituting for the "\Windows\Start Menu\Programs" path or %CE11%.

It is in these cases where the shortcut ends up in 'Programs' by the cab file install, yet is not recognised by Sashimi. I attach MoDaCo's NoData.cab file as an example of the many occurrences of this situation. I have been using MSCEInf tool to examine the cab file contents and install values. (I use the middle part of the file name for customlinks.ini which contains 'Connections*=\Programs\Connections')

I fully understand the logic you use to 'discover' added shortcuts and subsequently replace them, however the above scenario should surely be identified by the application as the shortcut does end up in 'Programs'...

Is this non-recursive examination of the Programs folder, before and after the CAB install, the only mechanism used in the routine to find added shortcuts or is there also an initial sorting involved in the initial cab enumeration. Does Sashimi at any time examine the .cab file to identify the installer's shortcut location - as this logic could be changed to include any further path strings or substitutions within the cab.

Your time and help is very much appreciated.

Kind regards and have a great weekend,

Adam

P.S. Should this thread be preferred in the non-specific Development section, as it is certainly not Kaiser specific and would be an asset to users of all HTC/PPC devices. Just an idea.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] paradix:
Congratulations!

:)Hello Bengalih,

I just wanted to say thank you very much for Sashimi!!!

I hope that all the futur kitchen will just give a clean OS and complete the installation with Sashimi.

That's what I did with the Diamondstone 2.1 made by Tektonik for french Orange customer!

Bye!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Well I tested the TomeRaider example. The problem is that it is installing the icon to the root of \Windows\Start Menu.

As explained in the documentation SASHIMI currently (7.0) is only scanning \Windows\Start Menu\Programs (one level deep).

More information can be found in the post above this one. I tested TomeRaider with my new changes and it was properly placed in the specified directory.

Look for the new version coming soon..
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ahirshfield:
Thanks again for all the clarification Bengalih,

I look forward to your new release and and am certain on understanding your above explanation that the new version will resolve any issues with customlinks shortcut placement. That said, for the benefit of development and creating cab files, I am still keen to understand how this is occurring at the moment...

If you manually install the attached .cab (without Sashimi) it DOES install to "\Windows\Start Menu\Programs"! But the current Sashimi is for some reason not recognising this change even if the cab file itself is captured by the customlinks.ini file.

It looks like juju-35 has been experiencing the exact same issue and the manual cab files are again definitely installing to Programs.

I know this is Bizarre and can't fathom why Sashimi is missing it. On inspecting the cab files in MSCEInf it seems to specify shortcuts to 'windows\startmenu' but believe me in that there are loads of cabs like this that actually somehow place the shortcut in Programs. It seems they somehow change the .Lnk path via path substitutions within the cab file.

It may definitely be worth investigating to see if these are captured before a new release. I am wondering if this could be specific to some model devices or WM 6.1. We have so far tested on many Diamond and Raphael devices with different stock roms. Is it possible that some recent devices treat "Start Menu" within a cab installer as ""Start Menu/Programs"?

I attach a zip file with some affected .cabs for your investigation and trials.

Best regards,

Adam
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] BenThon:
Maybe I am wrong in MSCEInf with path substitutions. Here is what I actually use :

const
Raccourci : array[0..16] of TRaccourci =
((Rac : '%CE1%'; Val : '\Program Files'),
(Rac : '%CE2%'; Val : '\Windows'),
(Rac : '%CE3%'; Val : '\Windows\Desktop'),
(Rac : '%CE4%'; Val : '\Windows\StartUp'),
(Rac : '%CE5%'; Val : '\My Documents'),
(Rac : '%CE6%'; Val : '\Program Files\Accessories'),
(Rac : '%CE7%'; Val : '\Program Files\Communications'),
(Rac : '%CE8%'; Val : '\Program Files\Games'),
(Rac : '%CE9%'; Val : '\Program Files\Pocket Outlook'),
(Rac : '%CE10%'; Val : '\Program Files\Office'),
(Rac : '%CE11%'; Val : '\Windows\Start Menu\Programs'),
(Rac : '%CE12%'; Val : '\Windows\Start Menu\Accessories'),
(Rac : '%CE13%'; Val : '\Windows\Start Menu\Communications'),
(Rac : '%CE14%'; Val : '\Windows\Start Menu\Games'),
(Rac : '%CE15%'; Val : '\Windows\Fonts'),
(Rac : '%CE16%'; Val : '\Windows\Recent'),
(Rac : '%CE17%'; Val : '\Windows\Start Menu'));

Friendly, Benoît
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Again, it doesn't matter where they actually get created as far as SASHIMI is installed... if they are located in the file system under \Windows\Start Menu\Programs, then they should be getting captured.

HOWEVER, and I believe this is the issue you are seeing. The \Windows\StartMenu location can only show a set number of icons when you pull down the Start Menu... because it can only fill up the vertical resolution of the screen.

On my Tilt for instance, it keeps a maximum of 8 icons in the First section, 5 recently used icons, and then Programs and Settings, for a total of 15 icons in the start menu list.

If a program creates its icon in \Windows\Start Menu, it is actually there in the file system (when SASHIMI scans...that's why it doesn't find it). However as soon as you click on the Start Menu, Windows Mobile automatically moves the icon into \Windows\Start Menu\Programs if it can't fit it in the list. Since this happens as soon as you click on Start, that's why you think they aren't getting created in the right location.

I can all but guarantee if you manually browse to \Windows\Start Menu and delete a few icons, that the next CAB you install with a shortcut to that location will be properly placed!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ahirshfield:
Bengalih 1 - Benoît 1 - Adam 0!

Wow, both Bens in the same thread...

Bengalih - Like your theory. Tried, tested and can unequivocally state that you are 100% absolutely CORRECT.

This is exactly how the Start Menu works. I had no idea that this built-in functionality exists to automatically move 'over-flow' /start Menu/ shortcuts into the /Programs/ folder. On my Diamond with 'HTC Large Start Menu' enabled, there are 7 allowed shortcuts (in addition to the Programs and Setting folders) before this moving occurs.

Benoît - Your MSCEInf app treats the path variables exactly as expected. Don't know them all off the top of my head but I assume you know they are correct in your code. I was relying on your tool to help diagnose this issue and it did not steer me wrong. It was lack of my own knowledge of the above that was misguiding me.

Experimented with all the previously mentioned attached cabs and they DO place shortcuts in the root 'Start Menu' folder as Bengalih had stated all along. This is even what MSCEInf was showing. How foolish of me to doubt either of them! It was this 'moving' function built within the WM start-Menu that misguided me. I openly admit here and now that both Bens must know a hell of alot more about WM functionality than me!

*End of this customlinks subject from me*

I now eagerly await the next Sashimi release before updating any more roms on our devices.

Best regards to you both and thank you as always for your time and patience,

Adam
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] BenThon:
Bengalih 1 - Benoît 1 - Adam 1!

Wow ! I have found credits for Adam in the last version of MSCEInf (version 2.5) :

Contributions of version 2.5

· Correction of a bug: when analyzing many CAB in sequence, sometimes CAB from one to another has same file name. Update for extraction by « Drag and Drop » was not done. It was because temp folders created by MSCEInf (InfCEOpen and InfCEView) were not blanked.

Thanks to ahirshfield, forum xda-developers member, for pointing out this bug.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Adding this to the next release... SASHIMI will prompt when backing up owner to ask if you want to back-up device as well.

The reason for the prompt is that not all people will want to back this up. Some people use SASHIMI to install on different device types.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I don't really know too much about PIM. To be honest I have been messing around with my phone more than using it to be productive. I have all my e-mail and contacts from MS Live (Hotmail) so I can't always re-download them.

If you want to post what steps are needed to do this backup and restore I can look at automating them into a future version.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] overhaulengines:
thanks for the quick reply, i will post the steps that i do to restore my contacts, speed dials, emails and texts.

thanks

Lupe
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Backup steps too :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] redbandana:
B it would be nice if you changed the title of this thread, most people do not know what a RAW installer is. You write some great guides and I like using your installers but how is a person without knowledge gonna be aware of what a RAW installer is. You should promote this tool cause it works great.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Eh...I just like the play on words I guess. But I suppose it can cause some confusion because .raw files have another meaning when working with ROMs. I'll keep the spiel in the beginning, but I'll take RAW out of the title. I also added it to the Wiki, so that might help.

thx.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] fb401:
Bengalih, this is the best infomercial post (infopost?) I've seen. I can be an audience member that gives his testimony.

I've tried other RAW installers but SASHIMI is the best by far!

See?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
Bengalih,

Two questions:

One, how does one just copy a single file from the storage card to the phone, and what happens if that file already exists, will Sashimi just overwrite it? I think I see how to copy over a directory, but I'm not sure that's the same for a file.

Two, can Sashimi execute an .exe to install programs, or would that be better done with UC?

Thank you again, this thing is brilliant, absolutely brilliant. Well done, Sir!!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
If you just put a file in \Root it should work.

So if your \Root looks like this:

Somefile.txt

\Dir1\AnotherFile.txt

\Dir2\YetAnotherFile.txt

Then it should copy Somefile.txt to the root of your main memory and create and copy the other directories there as well. Yes, it does overwrite. If that isn't working, let me know.

As to an .EXE being launched...no it doesn't do that...but if you explain what you are trying to do and it seems like it makes sense I can look at adding that functionality.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
OK, so that seems to make sense. So if I want "test.exe" to go into "\program files\testapp", on the Kaiser I need to create "\program files\testapp" in the "\root" folder under either "\auto" or "\manual" and put "test.exe" into it, correct?

As far as launching an .exe, I'm trying to install some of the programs I have. For example, Microsoft Reader, or Pocket Informant, or some of the SPB stuff like Weather or Brain Evolution are in .exe files.

Or, maybe since those have to be launched from my PC to there's no way to do this? Or is there a way to use WinCE Cab Manager to repackage my .exes into .cabs for me?

Thoughts?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
You can open the .exe file with winrar and pull out the cab files. Thats usually what I do to keep from putting all that "extra" junk on my pc.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
You are correct on both statements.

When you run those EXE's they will probably create a folder on your PC that also has the CAB in it, so get a copy from there.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
using mscr you can achive what you want

This is what I am using for my backup PIM ( not to restore PIM) and voice dial etc which you can change to do revese engg. I normally just use to back up contact and whenever I flash rom restore via using active sync from outlook.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks v3.

Overhaul, take a look at what v3 attached and see if it does what you want. I haven't looked at it yet, but I'm sure I can get it to do restore as well. Let me know if that looks good.

EDIT: v3...it looks like we actually need the VipBackup.mscr script that is called from within the main to see what you are doing....

Also, Overhaul and v3... what about PimBackup 2.8? It looks like a nice program and I don't know if it's necessary to add this functionality to SASHIMI as well? My question would be is what isn't good about PimBackup that would be worth me implementing this in SASHIMI as well?

Anyway, as I said, I don't really know what the procedure is so as soon as you can send me the "steps" that you mention I'll look at it. I have a feeling I can't do as good a job that PimBackup does, but I'll look at it.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
4.0 is here

Check first post for version 4.0!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] aadadams:
Just moved up to Shogun's latest... Perfect timing. I will get this installed and put it through the paces in a few precious moments.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Check first post for version 4.1!

I forgot to copy over a later version which had some last minute fixes... so 4.1 comes right on the heels of 4.0
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] garyfunk:
Please sir, adopt me. :)

Great work. I find this a very useful set of tools.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] dan1967:
hi bengalih and evrbdy,

Had anyone successfully backed up their bluetooth pairings and consequently restore them?

I find this the only thing left for the ultimate restore tool.

And mailnly because most are car related stuff (handsfree and GPS) and a pain in the ass to redo because it eventually happens while driving most of the time.

Congratulations for the excellent tools!

Cheers,

dan
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ayyu3m:
heyllo dude. thankx for the nice tool. it makes the hassle to install tons of stuffs easier everytime. thankx. btw i really like the at&t theme/wallpaper which u have in the screenshot. typically becoz its blue also. can u share it, if u dont mind
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] msharaf:
Great work bengalih, you are a very active member ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
SASHIMI 7.5 is up.​

Video highlighting some changes:

> here <​

As the program grows it gets increasingly more time consuming for me to QA it prior to release. I appreciate any feedback, bug reports, etc. Enjoy!​

NOTE:

Please read the accompanying doc and upgrade notes. I suggest that for this version you do a fully clean install and then copy your Auto,Manual, and any ini files back to the appropriate locations.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mirskym:
What to do About Multiple Storage Cards?

Apologies if this has been covered in this thread, but I did a search and didn't find my query.

I have an Axim X51V flashed with Lenny's L11 WM6.1 ROM. The X51V has 2 storage cards, a CF card that the system calls \CF Card and an SD Card called \SD Card (not Storage Card like some PPCs).

I installed Sashimi and ran autorun to let it do the auto install/tests that are under the Manual and \Cab, \Cab\SC folders.

I found that it installed the \SC in the CF Card, when I want it to go to the SD Card.

Is there any way to select which storage card to store to?

Thanks for what looks like a very powerful application. I have been using a combo of SettingsSavior and other manual tricks to get set up after a flash, and this looks MUCH better.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
This is covered in the documentation, but since it is a new feature, I will review it here:

If you go to Settings > Diagnostics > SC UI Key Value you can enter the number that the card appears in the list. So if your list looks like this:

o Device

o \CF Card

o \SD Card

Then use a Key Value that is equal to the position in the list that you want to install to. The value starts at 0. So, in this example, I would use

a value of 2 to install to \SD Card.

Report back on your success, as you would be the first confirmed person (other than myself) using this new feature!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mirskym:
The documentation only covers version 7.0 so I don't see this feature described.

And when I go to Settings>Diagnostics there's no CS UI Key Value menu entry. Just:

Disable Startup Diags

Startup Delay

Enable Path Entry

???
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Maybe you should download and install the newest version with the latest features and documentation?? :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mirskym:
Very weird! I did download from the first post on this thread, but now that I look at what I downloaded it gave me version 7.0 :confused:

Anyhow, I just went back and downloaded again and this time I got 7.5. :)

OK, I just changed the setting under Diagnostics as you described, reran changing SC UI number to 1 (My locations are Main, SD card, CF Card) and it worked :)

Now on to trying to load some real Cabs and associated Reg files (which set up the registration IDs).

Actually, first I need some shut-eye. :p
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Hello,

thanks!

Hopefullly that will resolved most of my remaining issues.

In further investiagting I also noted that it seems that renaming the files to .cab as opposed to .CAB makes it work better. Is that possible?

I resolved most of my issues, but still have one more mystery issue which is all my games are simply put in Programs/Games even is I put Programs/Games/Action as target (or whatever su-directory name really).

I verified my syntax about 50 times, and cannot beleive this, but it seems correct. I install 2o games or so to Programs/Games/_3_subPdirectory_name, and they ALL install to Program/Games!!!

Do you think 7.5 might solve the issue?

Thanks anyway once again for a wonderful tool!

JUJU
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] StyL3-Ivan:
can anyone help me with Sashimi?...

I know where to put the files (e.g. cab, exe..)

But i do not know how to write script to let it auto install according to my instructions...

Steps:

1. Install .cab & copy a crack file to the installed directory

2. Install .exe & copy a crack file to the installed directory

3. Update certain reg. (e.g. disable sms threading...)

4. del files in start menu & re-copy files to start menu

can anyone help me?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I don't think case sensitivity in this case should matter. However, if you can recreate an issue where case sensitivity does make a difference let me know.

I don't know about the other issue you stated. To be honest, I'm not sure I ever tried to place them more than one level deep (e.g... I have put them in Programs\Games... but never in Programs\Games\Action). Not to say that it shouldn't work, especially if you have other ones nested more than one level. Also...you use the wrong slashes.. use "\" not "/" ... not sure it makes a difference, but I wrote it using the correct syntax of "\".

In any event, I suggest you do all new testing with the new version, as it definitely will resolve some shortcut issues...

Let me know.