.AUTO File Tips and Tricks

SASHIMI Installer. Post any questions, comments, requests regarding SASHIMI here.

Re: .AUTO File Tips and Tricks

Postby bengalih » Tue Jun 02, 2009 4:14 pm

arcanehacker wrote:Would it be possible to breakdown the script for multiple windows? Some Installations require few selections. For example SBSH Calendar Touch v2 will require interaction on 3 windows:
WindowTitle="SBSH Calendar Touch installation"
- Leftsoft

WindowTitle="Shortcuts Changed"
- Mouseclick (on the OK)

WindowTitle="SBSH Calendar"
- Mouseclick (on any of the button assign.)


Well, I've said multiple times that .AUTO files don't support multiple installation windows.
However, it may be possible with some tricky scripting and since this is the thread for that, I'd be willing to give it a go.

Unfortunately, it doesn't seem that there is a publicly available demo version of the product you mention, so I can't attempt it.

Also, please be sure (as has also been mentioned many times) the difference between windows to automate the install vs. windows that pop-up after the install.

Many applications install just fine without needing interaction and then will pop up a window or two to actually run the program and ask for some post-install settings. In these cases, it is not usually necessary to automate these follow-up windows as SASHIMI will continue to install the other CABs in your folder.
After a reboot, when the program is run again it will usually pop these windows up again if needed. Also, by importing in the registry settings for an application you can usually get this configuration.

I have never ever seen a CAB (and i have installed hundreds) that could not be automated to complete the install portion with a single window.
User avatar
bengalih
Site Admin
 
Posts: 405
Joined: Fri Oct 10, 2008 6:01 pm

Re: .AUTO File Tips and Tricks

Postby bengalih » Tue Jun 02, 2009 4:15 pm

arcanehacker wrote:Forgive me if I'm wrong.. I'm still a noob at this. and I didn't try 1-calc yet.. But what I did for the EULA prompt for ewallet and listpro is just:
"
[AutoFile]
InstallLocation=1
WindowTitle="Software License Agreement"

[ScriptCommands]
1 = SendCR
"
It works just great..



I agree arcane...I haven't had the chance to look at that cab yet, but I think he is making it out to be more complicated. The example I gave in #1 was to automate a CAB that didn't properly respond to keyboard input. I would say 70+% of the cabs out there just need a simple SendCR or SendOK to accept a license agreement and that's it.
User avatar
bengalih
Site Admin
 
Posts: 405
Joined: Fri Oct 10, 2008 6:01 pm

Re: .AUTO File Tips and Tricks

Postby bengalih » Tue Jun 02, 2009 4:49 pm

jmckeejr wrote:Can I get a hand with IM+ ? Seems to follow the code, but it is not sending the OK. If I leave it sit, it will continue to sendup, sendup, sendup, sendup.....I know I am prolly way off here, so please give a hand.
Here is what I have:
Code: Select all
[AutoFile]
InstallLocation = 0
WindowTitle = "IM+ language setup"

[ScriptCommands]
1 = SendOK
2 = sleep(50)
3 = SendUp
4 = SendOK


I'm not really sure what you are trying to automate here. I downloaded the trial and installed it. It brings up only one screen "IM+ language setup" that requires you to select the language and click ok. I assume that you are installing in English, so you are just using the SendOK to select that language. I don't know what you are trying to do with the SendUp commands.

I don't have to time to fully test it now, but I think either just a "1=SendOK" should be enough to automate this. If not, then perhaps just the following (for English):
Code: Select all
[ScriptCommands]
1 = SendUp
2 = SendCR
User avatar
bengalih
Site Admin
 
Posts: 405
Joined: Fri Oct 10, 2008 6:01 pm

Re: .AUTO File Tips and Tricks

Postby bapski » Tue Jun 02, 2009 8:49 pm

sorry. i did look around and that was i got into. i know its UC but seeing that UC wise, it worked, was wondering if something similar can be done in SASHIMI. just faced another stumbling block and thought that the solution was something similar.

i did figure it out ultimately, but the other poster beat me to it.

thanks for the input though.
bapski
Just Joined
 
Posts: 7
Joined: Thu Mar 26, 2009 7:35 pm

Re: .AUTO File Tips and Tricks

Postby arcanehacker » Tue Jun 02, 2009 9:22 pm

bengalih wrote:
arcanehacker wrote:Would it be possible to breakdown the script for multiple windows? Some Installations require few selections. For example SBSH Calendar Touch v2 will require interaction on 3 windows:
WindowTitle="SBSH Calendar Touch installation"
- Leftsoft

WindowTitle="Shortcuts Changed"
- Mouseclick (on the OK)

WindowTitle="SBSH Calendar"
- Mouseclick (on any of the button assign.)


Well, I've said multiple times that .AUTO files don't support multiple installation windows.
However, it may be possible with some tricky scripting and since this is the thread for that, I'd be willing to give it a go.

Unfortunately, it doesn't seem that there is a publicly available demo version of the product you mention, so I can't attempt it.

Also, please be sure (as has also been mentioned many times) the difference between windows to automate the install vs. windows that pop-up after the install.

Many applications install just fine without needing interaction and then will pop up a window or two to actually run the program and ask for some post-install settings. In these cases, it is not usually necessary to automate these follow-up windows as SASHIMI will continue to install the other CABs in your folder.
After a reboot, when the program is run again it will usually pop these windows up again if needed. Also, by importing in the registry settings for an application you can usually get this configuration.

I have never ever seen a CAB (and i have installed hundreds) that could not be automated to complete the install portion with a single window.


Hmmm.. I'm pretty sure few of my cabs require interaction before Sashimi proceeds.. coz if Sashimi does proceed, exporting and importing reg is only something easy.. Anyway I manage to Automate or script for 20+ of my installed applcations less for this SBSH Calendar Touch. I'll try again to confirm if Sashimi actually does proceed..
arcanehacker
Founding Member
 
Posts: 3
Joined: Tue Oct 14, 2008 8:45 pm

Re: .AUTO File Tips and Tricks

Postby bapski » Wed Jun 03, 2009 8:32 pm

has anyone tried FINGERKEYBOARD 2.1?
http://74.125.95.132/search?q=cache:8qu ... =firefox-a

this is the last of my .cabs that ive been trying to automate but just cant figure out. what i want to do:

1. change the color layout
2. disable all the languages except for ENGLISH
3. click apply

for everybody's reference, the window that pops up while installation is in progress is a config window. i can leave the config window alone and install will continue ALL languages are selected and will be installed, and this will take a looong time to finish the install.

am at the process of taking a crack at this .cab but seems like my sashimi install got corrupted(?) its just stuck at "SASHIMI INITIALIZATION COMPLETE" .. tried to re-install sashimi but still getting the same problem. REFLASHING now..
bapski
Just Joined
 
Posts: 7
Joined: Thu Mar 26, 2009 7:35 pm

Re: .AUTO File Tips and Tricks

Postby Mastakony » Sun Jun 07, 2009 4:49 pm

Hello

I need a help to automate OFFICE MOBILE

My 2 firt lines in scriptcommands work

[AutoFile]
InstallLocation = 0
WindowTitle = "Microsoft Office Mobile Installer"

[ScriptCommands]
01 = Sleep(250)
02 = SendYES


But after install the install ask me if I want to reset (Leftsoft OK) or not (Rightsoft Cancel)
I tried that but dont work
The screen wait for my manual confirmation on CANCEL to continue sashimi autoinstall

03 = Sleep(250)
04 = SendCancel


can ya help me?


EDIT : maybe it's a multiple window so I cant do it, so sry to bother
Mastakony
Just Joined
 
Posts: 1
Joined: Sun Jun 07, 2009 5:27 am

Re: .AUTO File Tips and Tricks

Postby Sarge » Tue Jun 30, 2009 9:32 am

Finger Keyboard


Finger Keyboard takes a while to install, and then there's a long pause before the "FingerKeyb Config" screen pops up. Install and Sashimi's auto phase does not continue until the config screen is cleared, or until a very very long time has passed. In an earlier post, bapski said in all language files were being installed.

There's two approaches to clearing the screen.
1 Select theme, deselect languages not needed, change desired settings under other tab, and then rightsoft (apply)
2 Leftsoft (cancel)

I would be happy with cancelling, because I also use Sashimi to export and import my registry settings.

Here's the simple .auto I'm trying to use. The .auto file name is the same as the .cab file name.

[AutoFile]
InstallLocation=0
WindowTitle="FingerKeyb Config"
[ScriptCommands]
01=MouseClick("FingerKeyb Config",90,614)
02=Message("pressed!")

I've also tried it with "01=SendLeftSoft." I don't seem to be getting any response from the .auto file.

Has anyone had success with Finger Keyboard?

bengalih, could the problem be the delay in opening the config window?
Last edited by Sarge on Tue Jun 30, 2009 7:10 pm, edited 1 time in total.
Ol'Sarge

AT&T Fuze
|RAPH|ROM|6.5.1|WWE| ★ EnergyROM 'Akeo' (23504) ★ |Nov 9| Manila 2.5
Raphael Radio 1.14.25.35
HardSPL 1.90
Sarge
Active
 
Posts: 10
Joined: Mon Mar 09, 2009 11:06 pm

Re: .AUTO File Tips and Tricks

Postby Lat » Tue Jun 30, 2009 6:22 pm

I've managed to create .auto files for all my cabs, except for a single one: galarm freeware version 1.5.1 (not the latest 2.x.x version, that's trialware)
Unfortunately, it's another "multi-windowed" installation, but It's odd in that the second window can only be activated with a click action, and the fact that the other cabs start installing prior to the second window being closed (it messes up the cabs with auto files that install after galarm)

If you could attempt making an .auto file for this bengalih, that'd be awesome. Thanks!

http://freewareppc.com/download/clock/galarm.shtml
[second RS link]
Lat
Active
 
Posts: 21
Joined: Tue Nov 25, 2008 5:32 pm

Re: .AUTO File Tips and Tricks

Postby bengalih » Sat Jul 04, 2009 1:09 pm

Lat wrote:I've managed to create .auto files for all my cabs, except for a single one: galarm freeware version 1.5.1 (not the latest 2.x.x version, that's trialware)
Unfortunately, it's another "multi-windowed" installation, but It's odd in that the second window can only be activated with a click action, and the fact that the other cabs start installing prior to the second window being closed (it messes up the cabs with auto files that install after galarm)

If you could attempt making an .auto file for this bengalih, that'd be awesome. Thanks!

http://freewareppc.com/download/clock/galarm.shtml
[second RS link]


CABs like this most likely aren't suited to Automated installs. The fact that other CABs continue installing, mean that your CAB is actually done with it's installation procedure, and is then just popping up additional configuration screen. However, it is DONE installing at this point, and if you were to just reboot your phone then it would open properly when you run it (and it will probably ask for config info at that time).

For now, I would recommend installing it in the list last (by renaming it ZZ* or something).

However, i will look into this CAB, as there are other CABs that do things like this. I will see if I can figure a way to code an AUTO file to handle situations like this.
User avatar
bengalih
Site Admin
 
Posts: 405
Joined: Fri Oct 10, 2008 6:01 pm

PreviousNext

Return to SASHIMI

Who is online

Users browsing this forum: No registered users and 1 guest

cron