yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Well it sounds like you have alot of stuff going on.

I briefly reviewed your log files, and can't gather too much info from them alone.

Part of the issue with logging in SASHIMI is that there is no real way for me to return an error code from any of the external applications that are called. Therefore, the logging is not 100% accurate because the best I can do is call the external app to do a function (e.g. install a CAB, provision an XML) and tightly couple with that command a log entry that says it was done.

The storage card install works by screen taps and reading screen text. It should ONLY log unsucessful if it actually sees the word "unsuccessful" on the screen. This would mean that Windows Mobile's own wceload.exe (what installs CABs) failed to install the CAB. I don't see this as a problem with SASHIMI per-se. My guess would be if you tried to manually install those CABS several times, you would see failure there too. I sometimes have that issue when installing a CAB manuall (without SASHIMI), for no apparent reason it fails on a CAB install, but the second time works.

What exactly are you seeing on the screen during these storage card installs?

As far as the .REG and .XML files. A successful log entry is logged right after the 3rd party application is called to import/provision the file. If they are not importing I am wondering if somehow the files have errors?

Did you walk through the sample walkthrough with the sample files? Did my test .XML and .REG files import/provision properly?

If so, I would say there is something wrong with the format of your files. How did you create/where did you get your files? Also, if you install them during the Manual Phase, do they work?

What is strange to me is that the SC installs work fine by themselves, but not AFTER installing the other CABS. This would leave me to believe that

one of the other CABS is possibly interfering

. You can try divide and conquer approach to see if any of them are.

Also, although I can't see how it matters, you may want to try to run SASHIMI from the \bin directory instead of \2577. It's worth a shot, but I don't expect it to be the problem...

Finally, the last thing I can offer to help is if you zip up your entire SASHIMI directory, CAB files, REG files, and all and post it on rapidshare or somewhere else I can get it (you can PM me location). I will put it on my device and do a fresh install. If that works, i will flash the ROM you are using and see if I get issues.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Dr. Strangelove:
Thanks for the quick response.

SPB Mobile Shell seems to causing troubles, but it's not the only CAB. SOTI and SPB plus are also on the possible blacklist. I will try everything on another ROM and report back. I have tried running everything through UC, but UC gets the same problems.

I just hope to get everything working soon.

Thank you very much for your assistance, but I really don't want to burden you with my problems (post my cabs). If I don't manage to solve it, I will reconsider your offer (unless you insist).

Thanks for the great app!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Alright. I'm always interested in troubleshooting if the problem is SASHIMI, as I would like it to function properly!

Since you apparently have the same issues with UC with some of these CABS, then it looks as if the problem may not be SASHIMI specific.

As I have stated in the past, there are just some CABS that need to be dealt with manually.

If you do some more tests can delineate how to recreate the issue let me know.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
I've had no problem with these cabs (except SOTI, which I don't know)...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Dr. Strangelove:
I have done some further testing. The issues seem to be ROM-related.

I only get problems when using "Garmin.DK.2 Lite WM 6.1 Premium". After loading "Garmin.DK.1 Final WM 6.1 Premium", all worked perfectly.

I will ask in Garmin's topic if anyone else has experienced problems with instaling some CABs. Possibly some CABs aren't compatible with those latest builds.

I'm now using "Garmin.DK.1 Final WM 6.1 Premium" (instead of my original DK2).It's been 4 days of hard-resetting and trying to get everything working. I'm not going to test further from this moment on, since the problem is not really Sashimi related and Garmin is releasing a new version of the DK2 ROM soon. I will flash DK2.1 and report back.

Until then, thanks for the advice and help.

PS: Bengalih, if you still positively want to have my cabs and config files, just PM me.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Check my sig - I am using Garmin DK 2 and have no problems with the mentioned cabs... Just to make sure - the nbh of the Garmin ROM I am using is dated 21/07 21:21 with filesize 84,919 KB, what about yours?

Regards,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Dr. Strangelove:
I did notice you have the Garmin DK2 running without any problems.

NBH is exactly the same here. Just to be sure, I did test the Garmin DK2 ROM again after doing a succesful Sashimi-install on Garmin's DK1 Final. But the problem stayed (now using DK1 final again).

Before Garmin's ROMs I used Dutty's ROMs with WM6.1. His ROM (and most other WM6.1 ones) weren't fully compatible with SOTI. The app itself worked, but there was no way to get into the settings window. In Garmin's DK2, that issue was fixed. Garmin's DK1 Final however doens't fully support SOTI.

NOTE: In the meantime I have tested if SOTI was causing the problems, but it doens't. Sashimi still fails.

I'm still guessing this is a compatibility problem.

Thanks again for your support
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kyakubov:
How do you back up your registry settings for individual programs?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
I export the whole registry (with SASHIMI) before changing the settings, then I change the settings and I do another backup. Then I use UltraEdit / UltraCompare to compare the two registry files and cut out the needed settings that I save to a new reg-file and add to the Auto\Reg folder of SASHIMI :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
There's also a tool called RegLogger but it does not work on some ROMs
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Here's the threads:

Exchange + WIFI (further in the thread): http://xdaforums.com/showthread.php?p=2237208

and

WIFI: http://xdaforums.com/showthread.php?t=309855
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
Easier would be to download the free ceregeditor, which run on the desktop. Backup registry, then make changes to settings. Then use compare registry to find changes in registry. You can then copy and paste the changed keys into the ini file.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kavi:
Thanks will give this a shot today.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Just an update as there hasn't been much news on that front. I have been slowly working on the next version (6.5?) currently the updates will be:

IdleTimerReset implemented to prevent timeouts during long Auto installs (from 6.1.1beta)

Storage Card Install updates including:

Ability to deal with more variables including Network Folders and Extended ROM (for Moguls and other devices. from 6.1.1 beta)

Bug fixed where CAB files beginning with "SC" were automatically installed to Storage Card even when not in the \SC directory

Support for DIAMOND and other VGA devices

Support for DIAMOND and other devices with "Internal Storage"

Fixed issues with SASHIMI detecting CAB files that have been moved/removed since previous install (temp file issue)

CUSTOMLINKS.INI now handles Wildcard ( "*") options.

Automatic creation of CUSTOMLINKS.INI file from specified directory for easy modification of shortcut creation.

Ability to switch between multiple SETTINGS.INI files for multiple folder and other customization options.

That's what I have so far from all the posts since the last update.

I think I got most everything that is actually possible to implement with a Mortscript-based application. There might have been one or two other suggestions that I didn't think were really necessary or just didn't make much sense. If I missed something let me know or if you have other (realistic) suggestions.

At this point I'm thinking it's still about two weeks away as this weekend is almost done. I will most likely release this as another beta first to confirm that the previous reported bugs are fixed. Then, shortly after it will be an official release.

thanks for all the feedback.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
Well, in theory, anyway. I ended up with almost 500 changes of which many, if not most, were NOT that clearly marked. D'oH!!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
PIM Backup & Sashimi

Hello,

My Sashimi install is almost complete but one of the last things I am missing is PIM backup.

I know many have been using PIMBackup 2.8 it seems, but is there a clever way to backup Contats (do not care so much for SMS at this point).

After google-ing it I found people claiming to just copy pim.vol. but:

I copied pim.vol into the Sashimi Auto/Root directory after ActiveSync-ing all my contacts, but it does not seem to work after a fresh install and Sashimi Auto run: I go back to an empty contact list.

Any clue on the best way to do that?

Thanks
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Also can't figure out how to backup Pocket Plus

I copied registries and exported my settings, but have foudn no better way than to have to manually re-import the exported setting for Pocket Plus 4.2.

Has anyone found a better way to backup settings for that applciation?

Thanks

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Did you check the file that you reimport? Most applications simply export the registry keys and you'll only have to rename the file and sometimes modify the key-names a little...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jeffgman:
I just used Sashimi for the first time last night after updating the ROM, and it worked great. But, there are a couple of settings that I was wondering if somebody would know what REG keys I need to export for them.

IMAP Account Settings

Wi-Fi Settings

Other than that, I think everything else worked perfectly.

Thanks,

Jeff
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
This cannot be exported. It needs to be provisioned using an XML that you need to make:

http://xdaforums.com/showthread.php?t=392771

Regards,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Hello Bengali,

I continue to be a big Sashimi fan and I am now at 300MB Sashimi Auto folder with over 500 files and a one hour process for the auto-install! Sashmi now works for 90% of what I want to do, even if there are still a few things I am trying to learn and hopefully get some more help form the Forum to complete.

From my recent Sashimi 6.0 experience here are my wishlist for new features in addition to what you mention above:

Pause when auto isntall detects new screen: Sashimi crashed on me a few times when I was installing cabs in auto-install mode that require manual intervention (LiveSearch is a good example). I know you said before some cabs may not be installable automatically if they require manual intervention, but my observation has been:

Some cabs have extra installation screens that are executed in the same thread as Sashimi in which case it stops the Sashimi process until you answer the install screens, and then Sashimi restarts where it was

Some other cabs spawn another thread for their install screens, in which case Sashimi continues to run, and when trying to find where the next "install to card' screen is it hangs.

If you could detect that you are not finding the normal install screen, you could then start a message that said something like "not finding the install screen, press a key to continue the process", it would enable to put those cabs as option b above within the automatic installer. This would make things more convenient. Sure, you can do manual process instead, and with the new 6.0 interface, it is not that different, but still much more convenient to put most things in (semi) Auto IMO.

Rename custom links: You said you were not intereswted in this one before, but I am trying again! I think you could make the shortcut thing much more powerful by allowing a Syntax where people can put in a new name for their shrotcut. In other words if you want to name the shortcut for HelloCab.cab "bonjour.lnk" and place it in Programs\Language, you would put "HelloCab=\Programs\Language\bonjour.lnk" in the syntax. If you put "HelloCab=\Programs\Language" it woudl put the default name for the link for this cab in the language directory, which may be "Hello-version 2007-arm-wm6.lnk". What I am doing at the moment is having a morstcript to rename the cabs after installation, but then that kind of defeats the whole point of shortcuts since I could move it as well form the default location...I could also edit each cab, but this is also a pin since when new versions come I ahve to edit again...

Automatic File backup list: In the same fashion you are doing an automatic generation of a suggested shortcut ini file, you could do the same with copiy files in the Root directory. One would copy files from different locations into the corresponding Sashimi/Auto/Root directory, and you could then generate the corresponding .ini file automatically based on the files that are in the Root directory, similarly to what you plan on doing for shortcuts.

I hope you will consider those.

Thanks for a great tool anyway.

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jeffgman:
Thank you. I am looking it over now and creating an xml file.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] vip_snoopy:
thank you very much!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Hi Bengalih,

Would you mind adding the possibility to enter a custom filename for the Registry Backup? So for instance:

Replace the following part:

regxFile = sashimiRoot \ "Backups\fullreg(" &(FormatTime(timeStamp) & ").reg")

With this:

customfile = Input("Enter name for backup file:","Enter file name",FALSE,FALSE,\
"fullreg(" & FormatTime(timeStamp) & ")")
regxFile = sashimiRoot \ "Backups\" \ customfile \ ".reg"

Regards,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ich.net:
Great work!!!

I wanted to create a mortscript with similar functions, too.

You stole my idea ... actually before the date I had the idea. ;)

Seriously I think you did a great job.

Absolutely cool.

Thank you very much for sharing your beautiful "Resetup-After-Hardreset"-System.

By the way there is a very little syntax bug in line 640:

Call("LogEntry","Log File Archived. VALUE:" & archiveLog

I suppose to add ", 1)" to this line.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Nika,

thanks for the tip but unfortunately seems like the config files (.plss extension) are all binary files. I will try to replace the default settings file with my settings file on the next install.

ANy chance you know how to do the PIM re-load automatically form Sashimi as per my other post.

Thanks

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
thanks for the catch, actually it's just missing the ")" but works without it. I will however make it syntactically correct.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Nope, sorry, I always simply resync my stuff. Does manual copy work when Sashimi is finished? What does the log say about copying the file?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Nika,

thanks for the response, even if no solution yet....

Anyone else have found a good way to retreive PIM with Sashimi, or found a PIM backup that has a command line interface? I will continue to look around and let people know if I find something.

I am trying ot minimize the steps of manual intervention to restore my device, so that I can keep flashing more :)

Juju

PS: Such a pleasure to have a Senior member that actually responds, smile and not tell you to google it (which I did anyway!). Let me know if there is an election for the most friendly senior member and I will vote for you :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Glad to hear!

The idea is a good one. Unfortunately the window handling in MortScript is not complex enough to deal with these situations. I'm afraid that the automated SC install routine is not going to get any "smarter." As always, use only CABS that need 0 manual intervention. Otherwise, do it in the manual phase.

This probably won't make it into the next version, but I will keep it in mind.

Hmm....well technically I guess I could do something like this, but it is bound to be problematic. The main reason I don't like the idea of this is that the filebackup.ini file has syntax to backup individual folders and/or files and also subfolders. It can also back up files only matching a certain wildcard type. The issue here is that let's say you manually create your filebackup.ini ini file (which is currently the way to do it). And then you use that file to backup to one of the Root folders. I would have no clear way to reverse engineer what your ini file was based on what was backed up. I could make a guess, but it wouldn't be perfect, as I wouldn't know if you did it on a file-by-file basis or entire folders, etc. Whatever I would create would most likely need some pretty major manual re-editing to get it right. Because of this, I don't think much time will be saved with this approach.

In any event, thanks for using the program and your continued input on its growth. I'll keep everything in mind as I work forward!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok, I'll put some similar functionality in the next update.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
OK, that's because so far i have only been using individal file backup and not any folder/wildcard...backup. I guess that would work for file only but not in a more general case.

You are welcome. Only problem with it so far is that it takes most of my (often late) nights to tweak and play with, and my wife is wondering why I am spending so much time with my phone :)

But I explained to her it is to spend many less nights flashing and configuring in the future, so she is ok with it!

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Execute a .exe file with parameters?

Hello,

Is there a good way to execute a .exe with a parameter?

My first usage is to setup a tsk file with something like

\WINDOWS\cusTSK.exe \WINDOWS\JUJU-STYLE.tsk

I guess with UC you can put a EXEC: command.

Is there a better way to load a style with Sashimi?

WHat about to execute a .exe with parameters?

Thanks

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
Speaking of which, do you have an ETA on this? ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Currently, the only way to launch an .EXE with parameters is via the Custom Tools menu. However, I can see this as a valuable thing in some cases.

I will work on creating a tandem file that can be placed in the \EXE folder with the EXE that will allow you to specify parameters for the EXE.

In the meantime, the other option is to simply create an .MSCR file that runs the EXE with the parameter and put it in the \Scripts directory.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I hope to have the beta out by this weekend. After I get about a week of feedback I will release the official update.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rkrasny:
Email?

1st - thanks very much to bengalih for an amazing, fantastic program.

2nd - I am having trouble using the .xml file I created to provision my email accounts. I created it by researching many nikagl and other threads, then ran it with Sashimi using the manual mode pointing to the xml file (which I named Email.xml). Sashimi executes the file, I reset - but still no joy on the email accounts. My xml is listed below (I renamed it as a txt file so I could upload it) -- I was hoping somebody could tell me what I am doing wrong?

Thanks in advance!

View attachment 103196

RK
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Well, this isn't exactly SASHIMI specific, so I don't know how much I can help.

However, look to the official syntax here:

http://msdn.microsoft.com/en-us/library/aa455896.aspx

It looks as if your "POP" should be "POP3"

If that doesn't help, it may be best to post this in a thread that deals specifically with XML formatting.

gl
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Ok, so if I p a .mscr file with something like:

Sleepmessage(3,"This is a Script to execute STUFF","Move Script",1)

# set up style

Run( "\WINDOWS\cusTSK.exe", "\WINDOWS\juju-style.tsk" )

Sleepmessage(3,"end of script")

That should do the trick, right?

Juju

NB: No need for flaming: I read the Mortscrpt 4.1 manual and this is what it says. Just looking for confirmation from experts + make it potentially useful to others who like me had no idea on how to execute a command with Mortscript before!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
That's right. That is the extra power of SASHIMI... you can write any additional script you want and execute them in a variety of ways.

So, you can take that .MSCR script and do 3 things with it:

1) Put it in the \Scripts directory under Auto or Manual

2) Put it as a Tandem file to any CAB

3) Add it to the Custom Tools menu

The quickest/easiest is probably #1.

Your script looks good. If you need help with script writing, you should post here:

http://xdaforums.com/showthread.php?t=289197

BTW: I have already added a parameter file called

exeparams.ini

that will be available in the next version. The way it will work is to create a text file with the exec files and their associated paramaters.

So, in your example I would create the file with the following contents:

[EXE Parameters]
cusTSK=\Windows\juju-style.tsk

Now, when SASHIMI runs cusTSK.exe it will see that it is defined in the file and load the parameter to the EXE!

This will be included with the next release (hopefully this weekend!).
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] juju-35:
Amazing! :)

Looking forward to it.

Juju
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sdlopez83:
Sashimi is friggin awsome. I like better than UC. Babba-boey
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks, but as I stated before, SASHIMI isn't meant to be a direct competitor to UC. In fact, the new version will incorporate UC for full config.txt processing.

If you want to cook in something to automate additional storage card installs, then UC is the way to go. If you can do with a little less automation for more features, then SASHIMI may be your fish.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] zard:
Like SASHIMI very much! It's fantastic! Good job and well done.

One question though, if I have a XML settings file, how can I use SASHIMI to push the settings in?

The XML settings file is for my exchange server.

Thanks.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Right now, you can't. You would have to make a .CAB file from the XML. basically you name it _setup.xml and then use any method of packaging a cab file.

However, SASHIMI 3.0, which will be released in the next couple of days will have the ability to Provision XML files the same way it does .REG and .MSCR files. So, I would suggest just hang on for a day or two and then you will have your wish!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] zard:
Thanks. Waiting for SASHIMI 3.0.