Auto Installer V1.0
Synopsis:
I've written a small utility with a whole mix of features, primarily designed to enable easy setup of your favourite cabs, shortcuts, icons etc...
It's written in Mortscript, but you don't need to worry about that... everything is installed from a plain text INI file:
Features:
-Specify which cab files to install automatically (silently, or with user interaction)
-Specify which registry entries to create / modify
-Specify Hi-Res custom icons for your applications and tools (WM6.5 Only)
-Specify which shortcuts to create in the Start/Program Files menu
-Specify the Start/Program Files menu structure (groups/folders etc)
-Specify TF3D shortcuts for Manila 2 and 2.5
-Specify TF3D weather locations for Manila 2 and 2.5
-Specify HTC Task Manager 'x' button options
-Specify Windows Screen Font Size
-Choose to execute every item in your setup config, or just execute specific sections.
Coming Soon Features:
-Specify files you'd like to back up
-Specify tasks to kill before install
-Specify tasks to start after install
Installation Instructions:
-Download zip file here: AutoInstaller V1.0
-Extract the zip file to a folder of your choice on your device (preferably on the SD Card so that it's not lost after a hard reset!
-Read the usage guidelines
-That's it
Usage Guidelines
Usage Guidelines:
The application contains 3 files:
1) AutoInstaller.exe (this is the main executable file)
2) AutoInstaller.mscr (this is the source code for the script. Do not modify this file unless you're a script programmer)
3) AutoInstaller.ini (this the file that you edit to configure)
All three files MUST reside together in the same folder (any folder)
AutoInstaller.ini and how to:
Cab File Installation
You can install multiple cab files using the [Cab Install] section of the ini file.
The format of each entry in the section must be as follows:
<Unique Friendly Name>=<Cab filename>,<Silent install>
<Unique Friendly Name> MUST be unique, but is just any friendly string identifying the cab to be installed.
<Cab filename> is the full path to the cab file to install
<Silent install> determines if the installation should be silent (TRUE) or interactive (FALSE). Note: Most cab files will install silently, but some will still force user interaction. This is not a problem, but be aware that some files do this.
Also be aware, that if a cab file forces a reboot of the device without asking, then this cab is not suitable for installation via this script, since a reboot will terminate the script.
Example:
[Cab Install]
Facebook =\Storage Card\Setup\Install Cabs\Facebook\Facebook_v1.0.0.7p.cab,TRUE
Google Maps=\Storage Card\Setup\Install Cabs\Google Maps\GoogleMaps.cab,TRUE
My Mail Settings=\Storage Card\Setup\Install Cabs\My Mail Settings\MyMailSettings.cab,TRUE
SPB Wireless Monitor=\Storage Card\Setup\Install Cabs\SPB Wireless Monitor\SpbWirelessMonitor3.arm.cab,TRUE
Total Commander=\Storage Card\Setup\Install Cabs\Total Commander\tcmdpocketarm.cab,TRUE
WunderRadio=\Storage Card\Setup\Install Cabs\WunderRadio\wunderradio_ppc.cab,TRUE
Panoramic Calc Pro=\Storage Card\Setup\Install Cabs\Panoramic Calc Pro\PanoramicCalcPro.cab,TRUE
Neos Driver Pack=\Storage Card\NeoS2007_Driverpack_3.cab,TRUE
Registry Writes
Registry entries to be created/written can be specified in the [Registry_Writes] section of the ini file.
The format for each entry in the section must be as follows:
<RegistryKey>=<>,<Value>
<RegistryKey> is the full path of the key to be written
<Type> is the type of value to be written to the registry, it may be STRING, DWORD or BINARY
<value> is the actual value to be written
Example:
[Registry_Writes]
HKCR\CLSID\{DD9B73F6-9EED-4ED0-84CF-422AF83512DB}\fileext=STRING,6a5KkkrKKwKK
HKLM\Software\jeyo\WunderRadio\regcode=STRING,12345678931B
HKLM\Software\jeyo\WunderRadio\regver=STRING,151W14
Usage Guide
Create Shortcuts
Shortcuts to be created can be specified in the [Create Shortuts] section of the ini file.
The format for each entry in the section must be as follows:
<shortcut file to create>=<file to link to>
<shortcut file to create> is the full path of the shortcut file to be created
<file to link to> is the full path of the target file being linked to
Example:
[Create Shortcuts]
\Windows\Start Menu\Programs\iGO8.lnk=\Storage Card\igo8\iGO8.exe
\Windows\Start Menu\Programs\Reboot.lnk=\Storage Card\Scripts\reboot.mscr
Move Files
Files to be moved may be specified in the [Move Files] section of the ini file.
The format for each entry in the section must be as follows:
<Source File>=<Destination File>
<Source File> is the full path of the file you wish to move
<Destination File> is the full path of the file you wish to move it to
Example:
[Move File]
\Windows\Start Menu\Programs\iGO8.lnk=\Windows\Start Menu\Programs\Navigation\iGO8.lnk
\Windows\Start Menu\Programs\reboot.lnk=\Windows\Start Menu\Programs\Utils\iGO8.lnk
Create Custom Icons (WM6.5 Only)
Custom Hi Res Icons in PNG (with transparency) may be specified in the [Custom Icons] section of the ini file.
The format for each entry in the section must be as follows:
<Start menu link file>=<png file>
<Start menu link file> is the path of the lnk file RELATIVE to the \Windows\Start Menu\Programs folder
<png file> is the full path of the desired png file to use for the custom icon. NOTE: the png file MUST be exactly 90x90 pixels.
Example:
[Custom Icons]
iGO8.lnk=\Storage Card\Custom Icons\iGO8.png
Google Maps.lnk=\Storage Card\Custom Icons\Google Maps.png
TF3D Shortcuts
TF3D V2 or V2.5 shortcuts can be specified using the [TF3DV2 Shortcuts] or [TF3DV2.5 Shortcuts] section of the ini file.
The format of each entry in the section must be as follows:
<shortcut index>=<friendly name>,<shortcut target>
<shortcut index> is the position / index of the shortcut entry (0 to 17 for TF3D V2) or (0 to 8 for TF3D V2.5)
<friendly name> is the friendly name of the shortcut that will be displayed on the TF3D screen
<shortcut target> is the full path of the target file
Example:
[TF3DV2 Shortcuts]
0=Igo8,\Storage Card\igo8\iGO8.exe
[TF3DV2.5 Shortcuts]
0=Igo8,\Storage Card\igo8\iGO8.exe
3=Google Maps,\Google\Google Maps.exe
TF3D Weather Locations
TF3D (V2 or V2.5) weather locations can be specified in the [TF3D Weather Locations] section of the ini file.
The format of each entry in the section must be as follows:
<weather index>=<weather location>
<weather index> is a value from 0 to n representing the order/index of the weather locations
<weather location> is a specially formatted location string identifying the location (more in this later, there's a utility to 'grab' them included in the installer!
Example:
[TF3D Weather Locations]
0=EUR|UK|UK001|ABERDEEN
1=EUR|UK|UK001|LONDON
2=EUR|UK|UK001|BRISTOL
3=EUR|UK|UK001|LIVERPOOL
Screen Options
Screen option can be specified using the [Screen Options] section of the ini file.
The format of each entry in the section must be as follows:
<option name>=<value>
<option name> is either TextSize or TrueType
<value> depends on the <option name> for TextSize it can be Tiny, Small, Medium, Large or ExtraLarge. For TrueType it's either True or False.
Example:
[Screen Options]
TextSize=Tiny
TrueType=True
Reserved 3
Reserved for even more instructions
I'll give it a bash next time I flash a rom but it sounds a lot like Sashimi
crankshaft said:
I'll give it a bash next time I flash a rom but it sounds a lot like Sashimi
Click to expand...
Click to collapse
I strongly suspect it is... although I'm guessing a lot smaller and simpler...
I wasn't aware of Sashimi until you mentioned it, and I'm checking it out, although it looks pretty comprehensive, it also looks quite daunting.... meaning you may as well have written the installation in Mortscript in the first place by the time it's all configured!
However, I suspect there's a couple of nice little things in my script (like the custom icons, and TF3D weather etc that folks might find useful... I wrote it for myself, but thought I'd share!
have a little problem
when i run the AutoInstall.exe this error comes
There is no application associated with "AutoInstaller". Run the application first, then open this file from within the application
abzza,
You need MortScript installed.
I did tried. For some of my application which required manual interaction,
runwait doesn't do the proper thing as it continue on next cab installtion when some
manual dialog popped up.
Tutorial & Theme's Download Hold On To Your Balls.
| How To Create You Own Theme. (There are images contain in the framework-res.apk Extract it using 7-Zip & edit it) [You Can Start Theme-ing now]
| How To Change Status Bar Font Color. Time Font Color: (Refer To Post: #2) | StatusBar Font Color - : (Refer To Post: #3)
| How To Get It Installed On Your I8000
- Basically its o2bupdate.tar.gz thingy.
File's Provided:
- Original Android 2.1(Eclair) Theme From Almar's android files [Beta1 Original Theme Extracted, Beta1 Original Framework-res.apk]
- Modified StatusBar Font Color: White/Black. [Statusbar - White, Statusbar - Black [Original] ]
- .... more will come
Requirement's To Start:
- Any photo editing software [Recommended **Adobe Photoshop/GIMP]
- Some files to work around with. [Smali Dex Compile&decompile, Context Editor, HxD Hex Editor]
- 7-Zip You will need it for some reason [You Will Understand Why Later]
- .... more will come
Smali Dex Compile & Decompile:
This small program is used generally for extensions that are .dex its a simple thing to use. (Refer To Post: #2)
Context Editor:
A program use to edit the file's that are found after using smali. (Refer To Post: #2)
Will Update More Soon.
Here are some screen-shots of what I've been working on:
Note: Please Ignore - (No Service)|Starhub. My sim got suspended for not paying bill's
There's so much that you can do but sadly im only a designer who designs theme. so with this info and file provided i hope you guys out there can do something better. Peace.
Please Take Note That Current Theme Won't Work On Beta 2, Only For Beta 1. I'm Currently working on Beta 2 File's. Will Update Soon.
How To Use Smali Dex Compile / DeCompile For classes.dex and Context Editor: [Changing Of Font Color Time On You Status Bar!]
Download This Files: [Smali Dex]
Normally I will place all my files to C:\Android\ for a new project. But you can choose anywhere you like that is at your own convenience.
1. You will need classes.dex from Service.jar - Extract it out using 7-Zip or WinRAR.
2. Once You have already done extracting classes.dex out put it in you project folder.
3. You can start following the steps below.
So lets start. Lets say i have already extracted all the file i've needed and placed it to my project folder here is what you need to do. Run CMD.
Type in cd C:\Android\ or where ever you project folder is located it. It should show you something like this once you've pressed ENTER.
[attachment=69743:1.png]
Okay lets move one, now here is what you need to check be sure that classes.dex is located inside the folder in order for you to start de-compiling the dex files.
Now Type in java -Xmx512M -jar baksmali.jar -o classout/ classes.dex
After pressing enter you should now get a classout folder inside you project folder.
[attachment=69746:2.png]
Now double click on the classout folder. [Do not close the CMD it will save you alot of time.] Inside the folder contains alot of files so lets cut it short with a photo:
Locate the file here: classout\com\android\server\status
Item will be: StatusBarIcon.smali
[attachment=69748:3.png]
Okay once you see the StatusBarIcon.smali we will now start using the Context Editor that is given on the first Post.
Right Click on StatusBarIcon.smali open with Context Editor or You could run context editor and just drag StatusBarIcon.smali into it.
You should get something like this:
[attachment=69752:4.png]
Now on Context Editor press CTRL+F and type color and press enter.
You should all be getting this paragraph that i've highlighted:
[attachment=69754:5.png]
Follow the following lines stated below: From original to edited.
Text Original:
Code:
.line 46
const/high16 v6, -0x100
invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V
Text Edited:
Code:
.line 46
const v6, -0x1
invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V
Once you are done, Save the file & close context editor. Go to your Project folder and rename your classes.dex to classes-old.dex You need to do this just incase you mess up some stuffs. After you have done with this go to cmd and type in java -Xmx512M -jar smali.jar classout/ -o classes.dex Press enter and now you'll get the new classes.dex
Here's what you need to do open service.jar with 7-Zip and drag the new classes.dex inside and save. You're done changing your status bar Time into white color. The next tutorial is changing your status bar text to white color [The Tricky Part].
To store the new service.jar you have compiled you can use ADB USB or o2bupdate.tar.gz your own convenience [I'll touch on a how to soon]
If your using o2bupdate.tar.gz place it in My Storage/ where haret is at and run haret. Let the o2bupdate do it stuffs & You'll get a white color time font something like this: [attachment=69760:tada.png]
Photo's Will Be Updated Soon.
How to use HxD Hex Editor: I Believe Most Of You Knows How To. (Changing Status Bar Font Color To White) Other colors may work to you can try.
Download Files: HxD Hex Editor 1.7.7.0
By now most of you should have the Framework-res.apk with you. Inside the apk contain images & XML for the android theme. You can mess around with the images & the xml.
But what i'm about to teach you all here is basically changing the font color of the status bar.
Go inside the framework-res folder that you have extracted. Go to this directory: framework-res\res\layout
Look for a file named status_bar.xml
[attachment=69761:1_1.png]
Now once you have found it. Open HxD Hex Editor and drag status_bar.xml into it.
Now once you have done that, press the search tab and click find 08 00 00 1C. change text string to hex value.
The first one should come out: [Now in the photo you see the red box Change it to FF FF FF.]
[attachment=69762:2_2.png]
We are not done yet. Do The same thing again search for 08 00 00 1C.
This is what you should get: [Now in the photo you see the red box Change it to FF FF FF.]
[attachment=69763:3_3.png]
One you change it save it but don't close it just yet. There's another few more steps you need to do.
Now search for 39 00 01 01.
You should get this: [Now in the photo you see the red box change it to 1C FF FF FF FF.]
[attachment=69764:4_4.png]
Now save it and close Hex editor. Open your framework-res.apk with 7-Zip and drag your edited Status_bar.xml in it and save.
Use o2bupdate.tar.gz to update or you can simply use adb usb. Remember if you use o2bupdate.tar.gz the should contain \system\framework\ in order for it to be updated. save goes to service jar.
Now this is what you should get after the update :
[attachment=69765:Tada_2.png]
Further Developement =D =D
Further Developement =D =D Further Developement =D =D
Hello!
For the topic of this discussion, I would like to use the following web link as reference. Please visit:
http://www.taganize.com/signature/signature.html
This link will ONLY work in smart phones like iPhone and Android. Directions icon works best with Google Maps installed.
The idea here is that when a link is provided to this page or these icons embedded into email signatures people can contact each other with simple push of a button from smart phone. Especially if person isn't in a persons contact list.
The html code for this page is straight forward:
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta charset="utf-8">
<title>Signature</title>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="DejaVu Sans">
<center><img src="http://www.taganize.com/signature/taganize.png" width="500" height="90"/></center><p>
<center><font size="3"><b>Activate NFC chips and generate QR codes in seconds.</p>
<i>Reuse them forever!</b></i></font><p></center></font>
<center><img src="http://www.taganize.com/signature/call_me_now.gif" width="160" height="40"/></center>
<p>
<center><img src="http://www.taganize.com/signature/text_me.png" width="80" height="80"/></center>
<p>
<center><img src="http://www.taganize.com/signature/directions.png" width="80" height="80"/></center>
<p>
<center><font size="2"><b>Icons powered by Taganize.com<br></b></i></font></center>
</body>
</html>
But look at the setup procedure and steps
Preparations- Get these three things squared away first:
1. Create Taganize.com account
2. Obtain three images of your choice representing: Call Me, SMS and Visit Me and/or Directions.
3. Setup a hosting account where images and html files can be placed. The pratical thing for novices to do is sign up for either a 'Pancake' account or 'Droppages' accounts and enable access to ones Dropbox account. THIS IS ALL FREE TO DO! As you experience more of Taganize and what Taganize can do for you these third party services will become indispensible in all your QR and NFC needs! See:
A) https://pancake.io/
B) http://droppages.com/getting+started
STEP # 1
1. Sign In to Taganize.com
2. Create Folder 'My uri's' or similar
3. Create three tags:
a. Name your first tag 'Telephone'. In 'target url' field type tel:00358-Area Code-Number NOTE: 00 replaces +. No spaces allowed!
b. Name your second tag 'SMS'. In 'target url' field type sms:00358-Area Code-Number NOTE: 00 replaces +. No spaces allowed!
(If user wants to add message to SMS then do this: sms:00358-Area Code-Number?body=TYPE MESSAGE HERE)
c. To enter directions using geo uri with Google maps (eg https://maps.google.com). Go here!
Right click on the exact location you want to go to and choose 'What's here?'. Coordinates appear top left of screen.
Enter the geo coordinates into the Taganize target url field as follows:
For directions by car enter:
google.navigation:q=60.159057, 24.864673
For additional info on using URIs visit the Taganize.com help section!
4. For each Taganize tag you create you must go to 'Tag Info' located to 'right' of each tag and choose 'view details'. At the bottom of this pop-up window you will find the Taganize assigned url. Write down this url for each of the three tags you create!
STEP # 2
This step involves uploading the three images to a hosting service. Non-novices are assumed to possess that level of knowledge to know what the url of each of their images is.
The urls for images uploaded to 'Pancake' OR 'Droppages' will look similar to this:
Image Location:
http://NAME_USER_ASSIGNS.droppages.com/NAME_OF IMAGE. (example: picture.svg)
http://NAME_USER_ASSIGNS.pancakeapps.com/NMAE_OF_IMAGE. (example: picture2.jpg)
1. User must now upload all three images.
2. User must correctly note the exact url to each image. This can be easily tested by typing each images url in a broswer.
STEP # 3
1. Open 'signature.html' in a text editor
2. We will now assign icons in order from top to bottom. Determine which icon you want to be top, middle, bottom.
3. User will find three lines of code that look similar to this:
<img src="http://www.taganize.com/signature/call_me_now.gif" width="160" height="40"/>
4. Re-enter to each of the three lines the new url for each images location. Adjust the width and height of your image accordingly.
5. Navigate to where the file 'Signature.html' is and open it with your favorite browser.
6. Adjust the width and height accordignly in the signature.html file. Hit refresh on your browser to review changes.
Step: # 4
1. User will find three lines of code that look similar to this: <a href="http://taganize.com/t?c=fC2JgPxr">
2. Replace each line of code with the url You noted in Step # 1 part 4. Make sure they match with your icons.
3. Click save but do not close out.
4. Navigate to where the file 'Signature.html' is and open it with your favorite browser.
5. Provided you entered everything accordingly, web page should open exactly as you want.
6. Upload signature.html file to same destination as images.
7. Type the complete url for signature.html in your smart phone browser.
8. You are now in business.
Would creating an app to do this be a better alternative or is this entireley a non issue and duable?
I set up a poll to hear your opinions.'Just go here:
http://www.taganize.com/signature/signature.html
and click on Uncle Sam.
Thank you!!
This guide is simple for the design of your application , hide the action bar header in the app inventor project apk
What is need?
1) Apktool Multi Toll installed and configure on PC with java supports installed to decompile see more here
2) Notepad++ or other editor XML codes
3) The " your application.apk to decompile
4) Codes to add
5) knowledge compile and decompile and sign application
On apktool folder put your apk on folder place-apk-here-for-modding
example: C:\Users\\APK-Multi-Tool\place-apk-here-for-modding
1) Now Run script.bat
2) Select your apk type on make you decision the code 24
3) Now decompile typing code 9 and wait finish (don't close cmd screen)
Important keep always open apktool script.bat during the all process.
4)Now select on project folder the AndroidManifest.xml and open it with notepad++
5) Put this line code to resise your screen mode between the last line <uses-permission and before <application android: label .
<supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="false" />
The code will look like this
Code:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
[COLOR="Blue"] <supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="false" />[/COLOR]
<application android:label="myappname" android:icon="@drawable/ya" android:debuggable="false">
Now go to hide the action bar " grey bar header"
Put this code android:theme="@android:style/Theme.Black.NoTitleBar" inside the < application after android:label and to left android:icon setup.
The code will look like this
Code:
<application android:label="myapp" [COLOR="blue"]android:theme="@android:style/Theme.Black.NoTitleBar"[/COLOR] android:icon="@drawable/ya" android:debuggable="false">
6) Now returns on apktool script.bat and type 12 to compile your apk. On next screen choice mode compilation line "Type Input 1 - 4:" type 1 to create an unsigned apk using the keep folder
Pay attencion on instructions when apktool stopped !
7) Now open up keep folder and delete and everything modified like of PNG, xmls, smali etc.... in this case you must be delete Androidmanifest.xml and resources. arsc files
8) Return on apktool screen and type enter to compile apk
When finished type 13 to sign your apk
Your apk compiled and modified ill be on place-apk-here-for-modding folder with name signed_"etc..."apk
Enjoy!!
Hello. This is my first post. I'll teach you how to add custom fonts to Microsoft office mobile.
No change in font is needed. You can use your fonts without even changing their names!!
What you need:
-You need to have access to system file ( FullFS access) via connecting to PC or CMD SSH.
- A registry editor ( Interop tools by @gus33000, custom pfd, or vcreg )
Click to expand...
Click to collapse
1. Copy your fonts to this folder:
Phone\Windows\Fonts
You can make a new folder in it if you want to have your custom fonts in a separate folder.
2. Navigate to here in your registry editor: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
3. Make a new key like this:
Name: myfont (TrueType)
You can use any name instead of [I[myfont[/I]
Don't forget to the (TrueType) including parentheses even if it's not a true type font
4. Key Value:
If you pasted your font in root of the fonts folder, write this:
myfont.ttf
If you pasted it in a folder, then write this:
myfolder\myfont.ttf
Important: Pay attention to extensions. Your font might be ttf, otf, etc. So change the .ttf where needed.
5. Done! No restart needed. ( Although you may need to close office apps and open them again.) Now open word, PowerPoint, or Excel to test your new fonts.
I hope you enjoy that!