yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
First off... let us not talk of cracking any software on these forums, as that is illegal. Instead, let's say you want to install an update...

You don't need to write a script for #1-3, because that is all basic SASHIMI functionality.

For #1:

1) Put CAB in \Auto\Cab for install

Let's say cab installs the main executable to:

\Program Files\MyCab\MyCab.exe

2) Put the updated MyCab.exe in \Auto\Root\Program Files\MyCab\

This will copy it over the original when the Root task runs

For #2:

Exe files don't get installed, only CAB files get installed. EXE files are just files that can be moved and copied. So, if you want to put a file somewhere in the filesystem, then just add it to the appropriate subfolder in the \Auto\Root structure (as in 2) above).

For #3

As far as updating reg entries... just create a .REG file with the entries and put it in the \Auto\Reg folder

For #4

There is not way to delete specific files. You can do a Destructive Overwrite of the Start Menu but putting all the shortcuts and folders you want inside:

\Manual\Root\Windows\StartMenu\

Then do a manual Root copy from within SASHIMI and choose to do a Destructive Overwrite. This will delete the entire \Windows\StartMenu and copy the new contents into it. Destructive overwrite is only available in Manual mode because of the risk it poses in wiping out an entire folder structure.

I suggest you read through the entire documentation as most of what you are asking is basic SASHIMI functionality. You can also watch the videos.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Well I updated it to 7.5 yesterday afternoon. If you got it before then it would be 7.0. Your post was after my update, so I assumed you already had it.

Anyway, I'm glad it worked... and that someone found the SC UI Key feature useful!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] StyL3-Ivan:
Sorry i tried to read the documentation but could not understand it. It is too wordly. Haha.

True i just need the basic functions from Sashimi, cause i have reflash & upgrade my rom oftenly.

But some of the software comes in EXE. how am i going extact cab from it?...

anyway got any sample on how to write reg.?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
The "basic" function of SASHIMI is just to pop the CAB files in the \Auto\CAB and \Auto\CAB\SC directories. And maybe the \Root files

Anything else I would consider advanced, especially if you don't already know about REG, XML, and MSCR files.

If you flash and upgrade often then you should take some time to learn about how the device works before you try to use the advanced features. A habitual upgrader should already know about things like .REG and .XML files. The documentation should only take about 20 minutes to read and will save you alot of time and questions.

However, your questions on extracting CABs from .EXE files and writing Reg files are not specific to SASHIMI and have been covered elsewhere on these forums countless times, including this thread.

I took the time to write the program.

I took the time to write full documentation.

Many others have taken the time to post and answer similar questions.

All we ask is that you take the time to search and read. :)

search XDA for "extract cab from exe"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
There is an update to Makisu.

Download the SASHIMI specific update from post #1.​
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] asango:
@Bengalih:

Just came across a bug in "sample-file.auto" in V 7.5:

All my ".AUTO bundled" installs which are set to be installed in the main RAM wrongly installed on the storage card with V 7.5 even though I used the new "sample-file.auto" as template and changed all old .auto files to match the new 7.5 style.

During debug in "sample-file.auto" at the point where the install location is evaluated I soon found a variable which is not referenced and another one which is not initialized:

If I replace the variable "Repeat" with "KeyRepeat" in line 16 then everything is working fine again.

Should be very easy to correct...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks... yes I think it was just a typo. Please see the attached update to confirm that this file is ok and works for you.

If you could test it with some Main Memory and Storage Card installs I would appreciate it, as I don't know how many people are actually using the new .AUTO files.

Thanks!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] asango:
Yes, both install variants are working well now, thanks!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] weenween:
Dear Bengalih,

I need to say a BIG THANK YOU to you for this program. It had saved me alot of time from having to reinstall programs and settings after flashing a new ROM. Thank you.

I took the time to read your manual and found it extremely useful. Thank you for the manual too.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks weenween.

Anyone else have input on the new version? Any new problems introduced? Or old issues not resolved? Over 700 downloads and hardly a peep yet!

I have another version on tap for release within a week or so. Mostly some minor bugfixes but also I will be delivering an oft-requested way to delete specific files and folder!

Get your error reports in so I can take care of any issues.

thanks.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
Can reg import be done via taskmgr

1. For my own need ( sktool creating some unwanted services when reg get imported from ) I would like to import my registry via taskmgr silent option not using sktool. You can code so that it look into setting parameter and use approprite method.

2. If possible I would like to see ST_LIST view in autorun phase as well instead of ST_MSG
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
SASHIMI

does use TaskMgr

to do the imports (since version 7.0...look in the release notes). The only think SKTools is used for at this point is registry exports, because of it's ability to export multiple registry entries to a single file.

I will look at doing list view in Autorun mode. I believe there was a reason I chose message mode instead, but I will revisit it. Of course the log can always be refered to if you want to look back on what was installed.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] xAlexx:
May I ask one example how can I install and input registration key for Resco Explorer 2007?

1st. Step is understandable, I must to put installation cab in SASHIMI/AUTO/CAB or MANUAL/CAB or SC for installation in storage etc.

2nd. What I must to do for registration acclimatization?

Sorry for lam question!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Create a .REG file either manually, or by exporting the registry with SASHIMI or another registry program. The .REG file should contain the registry key that holds the information for Resco Explorer's registration. For example:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Resco\Explorer]
"RegistrationKey"="D5732PJ31"

The above is just an example, as I don't actually know where Resco stores this information.

Once you have the .REG file, put it either in \Auto\REG directory OR use it as a tandem file in the \CAB directory. Read the documentation on Tandem Files.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
Look at the code below to ImportRegFile

Sub ImportRegFile
# Imports .REG files using SKTools
File=argv[1]
tandemText=argv[2]

RunWait([B]appSKTools[/B],"#RIMP:" & File)
#SleepMessage(9999,"Importing Registry:^NL^^NL^" &filebase(file),\
"AutoInstall in Progress",0,(ProcExists(appSKTools) eq FALSE))
Call("LogEntry",phaseType & tandemText &" .REG file imported. VALUE: " &file)
EndSub

It was also same in 7.0 I think it started with version 5. So for me it does not uses taskmgr to import regs. taskmgr is use for full reg export and importing provxml but not for importing reg files
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
WOW.. OK my bad.

I know that I changed it to run with TaskMgr and I remember testing it.

I think what happened was that i had 2 copies of the file and when i came back to work on it I must have began again on the copy that didn't have those changes.... As you can see there were posts before version 7.0 where I said i was going to change it, and the change was in the release notes...so that's all I can think.

Anyway, I will make the change again for the next release.

Thanks for catching this!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] akarnik:
Auto configure Wifi/Mail accounts etc?

Bengalih, thanks for write a great tool, for people like who flash too often.

I find it extremely useful for installing all my cabs, but i think your tool could be tremendously powerful if we can also setup the following things:

1. Wifi network settings

2. Mail accounts settings

3. Owner name and info

4. Device name

Have you or anyone else looked into this? Is this possible?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
Export your setting before flash and load using provxml or reg file

I load my owner name and info and device name using reg file.

I also load above using SDConfig using XML file so that I can start sync at the same time while sashimi is running.(not using UCinit though)

I load my mail and wifi and even security setting + att setting + speed dial and some others using XML.

Or

use PIMbackup to export mail setting and mails + speed dials
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rasmasyean:
Auto installing

I saw this video.

SASHIMI Auto Installer - Video 01 - Install and Walkthru

I was wondering if you can designate where you want each program installed automatically. i.e. some to install to the main, and some to the SD card.

Also, are those exe's in the exe folder "Windows executable" install files?

If so, do you have to be connected to USB? What does it do? Copy the exe to the computer and then run it?

Thanks.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] akarnik:
can you give me some pointers on how you do the mail/wifi settings restore via xml?

I've tried PIMBackup to restore mail, but it does not seem to restore if the account isnt already created, so i'd prefer a non-pimbackup type of solution
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
All of this is already available.

For #1 and #2 use Makisu, which is available with SASHIMI. Look at the link in my sig and watch the video which will show you how to use it.

For #3 and #4 there is already an option in SASHIMI to backup this information in the Tools menu.

In the future, please read the documentation before posting questions which are already covered.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I would recommend you download and read the documentation as it answers these questions.

Yes, you can install to either main device memory or Storage card based on where you place the CAB file in the SASHIMI directories.

The EXE files are Windows Mobile EXE files. This appears to be a point of confusion to noobies.

A .CAB file is basically a zip file that includes all the file and registry settings for an application. When you install this on your phone it "unzips" all the files and adds all the reg entires. Just like a PC application, the Windows Mobile applications are .EXE files. Of course a PC .EXE file won't run on a Windows Mobile device and vice-versa.

The EXE folder option is just for windows mobile .EXE. So, for instance there is a program on your phone called cusTSK.exe which can set the theme for your device. This can be run from the EXE folders (with an associated parameter file). Most people probably won't use this option in SASHIMI (like alot of what is in there), it is available for advanced users and deep customization.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] xAlexx:
Thank you Bengalih for your support and I can't stop to say thanks for so great application which are making our life much more easy. :cool:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rasmasyean:
I have a lot of Windows "setup.exe" type of installation files that works through activesync (I think). Does this program allow me to automate those?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
No, you need to extract the CABs from those Windows PC EXE files and then use the CAB files in SASHIMI's CAB directory.

To extract the CAB file, install it from Activesync....then, when your device shows the screen to install, browse on the device to \Windows\AppMgr\Install\ and pull the copy from there.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] del4:
Reading this post made me wonder if there would be any benefit to adding the registry keys for registration and other customization settings for the app into the CAB file directly? Are there tools available that let you manipulate the contents of the CAB files so that you could add in these registry settings without having them separate? Also, for those CABs that put shortcuts in a location different than where we'd like them, could we modify this behavior as well?

Just a thought, thanks...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Yes, you could modify the cab in terms of installation behavior...location of files, location of shortcuts, registry entries, etc. However there are not really any good free cab editors out there. Plus, it could be time consuming to open up and edit every cab.

This would also be a user by user thing... since you wouldn't want to distribute a copy of your application with your registration key to others.

As far as shortcut location modification. Yes, read the documentation on the customlinks.ini file that SASHIMI uses, there is also one of the videos that shows how this works. I think it is video #7... although there have been some updates to the process.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
One Request For Change

CAN YOU ASLO ADD PARAMETERS FOR MSCR JUST LIKE EXE.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I should be able to do that... give me an example so I know what you are looking for.

Right now, I am using just a CallScript command... however I want to change that anyway to a Run(mortscript, scriptname) because I have discovered some bugs when using CallScript (for instance if your called script calls another script it won't get called).

As far as I know passing parameters are in the form of "variable=value"

So I will probably do something like:

Run(mortscript, scriptname & "variable=value")

where I will read that variable and value from a custom file like the EXE.

Does this sound good for what you need?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
registerResco.mscr 99999

I want to run registerResco.mcsr 99999 (where 99999 is code to register)

samething for Phonealarm.mscr I want to register as well with diff code

I also have TodayPlugin E/D for Enable or disable. So when I flash I wan t default today's plug in to disble and use them using ultimatelaunch. but in some case i needed to enable at the time I run Todayplugin with E parameter.

Some mscr are in mscr folder and some in cab folder with same name as cab. May be you want to use parameter in both places.

Parameters are not always variable=value few of my exe uses "vipSCSC.exe /auto" and "vipPIMRingTone.exe /importsetting 3"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] missile2004:
first time to this forum ,thanks all peopole who provide somethings for us
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
For .EXEs, you are right most are in file.exe parameter which is how SASHIMI currently handles .EXEs... I don't think there are any issues with that.

You might need to go and look at the mortscriot documentation. Section 4.2 states:

Additionally, all parameters in the format “name=value” are set as variables to use in the script.

For example, if “test="This is a test"” is given as parameters, “Message( test )” in the script would​

show “This is a test”.
​

As far as I know this is the only way that mortscript accepts parameters from the command line. The way you describe would be using a CallScript command from within another mortscript:

Script1:

CallScript(Script2,"99999 ")

Script2:

registration=argv[1]

#do something with registration
​

I would rather implement it without the CallScript and with passing the script and value=variable to MortScript.exe because of the possible issues with sub-scripts.

So, you would provide this instead:

Mortscript.exe "registerResco.mcsr" "registration=99999"

Then your script does not need:

registration=argv[1]

Because you are passing it the registration value directly.

ok?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
I will do add parameter for MSCR same as EXE

mscrParamsINI = sashimiINI \ "mscrparams.ini"
......
......

Sub RunMSCRFile
file=argv[1]
tandemText=argv[2]
fileName = FileBase(file)
Clear(parameter)

# Check for command line paramater definded in mscrparams.ini
If (FileExists(mscrParamsIni))
ForEach mscrFile,mscrParam in INIKeys(mscrParamsIni,"MSCR Parameters")
If (ToUpper(fileName) eq ToUpper(mscrFile))
Call("LogEntry","MSCR file defined in mscrparams.ini. VALUE: " &file)
parameter=mscrParam
EndIf
EndForEach
EndIf
If (IsEmpty(parameter))
CallScript(file)
Call("LogEntry",phaseType & tandemText &" .MSCR file run. VALUE: " &file)
Else
CallScript(file, parameter)
Call("LogEntry",phaseType & tandemText &" .MSCR file run. VALUE: " &file & " " & parameter)
EndIf
EndSub

I am even thinking if you can add LNK folder or Shortcut folder and execute every link from that folder.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I don't think you quite understand what I am saying. Yes, it is very easy to copy the .EXE and replace MSCR like you have done.

However, I do not wish to continue to use the CallScript command because I have discovered issues with nested CallScripts.

Instead I will be using Run and calling upon MortScript with the script and user defined variables as the parameters.

Because of the way MortScript works you will have to specify your variables as i describe above, variable=value.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
New request: Install Cab only if certain file does not exists in

Only if Possible

New Flashing Manila Rom do come with pre install google maps.

Many Rom comes with GPSTest and Total Commander.

SO I want to check if GPSTest.exe is already exists in windows or program file folder then do not install GPSTest.cab.

But do run *.cab.reg to import setting.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
That's getting a little too tedious to do checks like that. SASHIMI will still install a CAB if files already exists (I do it all the time in testing).

Import your .reg settings with a normal .reg file in .reg, and remove any cab files you don't want to install from SASHIMI's \auto or \manual directory.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] dasilva333:
hey ive been trying your program its pretty great, it works perfectly and its like once u go sashimi you can't go back. my process is as follows.

flash rom

rom's UC sdconfig kicks in

reboots, start the 2577 directory

it starts the auto section and automates all the ones i previously had to do manually (to its best extent ill get back to that in a sec)

it leaves a lnk and mscr file in the startup directory that will daisy chain each lnk file for the next tautoinstall folder until its finished then it cleans up and im done

let me first say i really apreciate the level of detail put into this program every single feature ive found useful and put to use right away, id like customlinks tho to work outside of the auto process, for example for files that came preinstalled in the rom. its not a big deal just little details.

also i noticed you added the left soft key and right softkey support for skyfire but im not sure what the syntax is for using it. also i was wondering if you or anyone could share their .auto files for the installers they've made, i use a lot so im sure i could find any of them pretty useful. also bengalith if u could share ur collection of file backup.ini that'd be great.

thanks for ur time
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok, I think everything up to this point is just what you are doing and praise... so thanks :).. on to the questions:

Not really possible... The way custom links works is that it scans the Programs folder prior to installing a CAB, then scans again to see what is changed. It can't operate on things it didn't install because it has no reference. If you want to create shortcuts in new folders, place the link files in \root\Windows\StartMenu\Programs and they will get moved. The next version will have support for deleting individual files too.

To be honest, I'm not sure what you are talking about here.

.Auto just underwent a change, and actually I found another minor bug so the file is going to change again slightly on next release. You should still be able to use the current ones in next version though.

I don't really have a collection of the backup.ini... I keep most stuff on my storage card so I don't need to backup much. Best thing to do is post with specific issues, if you need to know where a registry key or file is stored, it may be best to ask in a different thread as that sort of thing isn't SASHIMI specific.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Update for any cooks out there who are using SASHIMI.

I have recently released my first cooked ROM (second is on its way). These ROMs are SASHIMI Compliant (SC) and I have posted instructions on how to make your own ROMs SASHIMI Compliant as well.

Check it out here
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Minor bugfix update to Makisu available. SASHIMI upgrade file is on first post.