PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Titan Development (http://forum.ppcgeeks.com/forumdisplay.php?f=57)
-   -   AutoInstall Program (w/ Silent cab install) (http://forum.ppcgeeks.com/showthread.php?t=20753)

Dc_Striker 03-16-2008 12:10 AM

Re: AutoInstall Program (w/ Silent cab install)
 
i was hoping the cab was here but its not :( or the programs

paravis 03-16-2008 03:12 AM

Re: AutoInstall Program (w/ Silent cab install)
 
This is a great app!

My main issue with doing rom upgrades and reinstalling apps, are the apps that I have keys for. This one is perfect for all of the others however.

I'm guessing there is a way to edit cabs to get your key in there, or something with sdconfig and all that. I just need to look :p

stroths 03-16-2008 10:05 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by paravis (Post 219751)
This is a great app!

My main issue with doing rom upgrades and reinstalling apps, are the apps that I have keys for. This one is perfect for all of the others however.

I'm guessing there is a way to edit cabs to get your key in there, or something with sdconfig and all that. I just need to look :p

Most apps store their reg keys in the registry. You can find them and then export them to a .reg file. Combine them all in a cab file and install after you do a new ROM install.

rgv_warrior 03-16-2008 11:44 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by stroths (Post 219869)
Most apps store their reg keys in the registry. You can find them and then export them to a .reg file. Combine them all in a cab file and install after you do a new ROM install.

stroths,

I've never built a reg file before. Can you point me to where I can learn how?

thanks,

rw

stroths 03-16-2008 12:54 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by rgv_warrior (Post 219926)
stroths,

I've never built a reg file before. Can you point me to where I can learn how?

thanks,

rw

I don't know of a place with a write-up, but here is a site where you can download registry editors that work PPCs.

http://www.pocketpcmag.com/blogs/men...tryEditors.asp

I use WinCE Cab Manager, but its about $100 to buy. You should be able to do it with a free tool called cabwiz, but its not as easy. Here are a couple of other useful links I found on google about it.

http://www.modaco.com/content/Smartp...ange-registry/

http://www.gpcarreon.com/?p=93

kain144000 03-16-2008 12:57 PM

::bump::
 
Quote:

Originally Posted by plenTpak (Post 210849)
Usage instructions:

1. Unzip the contents of AutoInstall.zip to \Storage Card\AutoInstall\
2. Place any files you want run in \Storage Card\AutoInstall\Installers\
3. Place any files you want copied into \Storage Card\AutoInstall\Files\
4. Run AutoRun.exe after you flash a new ROM or whenever you want to install all the programs in \Storage Card\AutoInstall\Installers\
(Note: You can actually unzip AutoInstall.zip anywhere you want, as long as you put \Installers\ and \Files\ in that directory.)

Quote:

Originally Posted by kain144000 (Post 219553)
This is (*^$in' GREAT! One question, though. Is there a prog like this that'll read a *Config.txt like the OEM AutoInstall or UC (or maybe a UC that doesn't have to be cooked into the ROM)? Or a way to hack this prog to read a *Config.txt for instructions? I'd really like to use the txt doc method, y'know? w/o editing the SDConfig.txt I'd already made.

Any response would be greatly appreciated.

[sammich] 03-16-2008 01:19 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Great app! I was just wondering if this supports programs that run after the installation (Like WBA that configs the themes right after setup) Or will it halt the install procedure. Thanks!

Dc_Striker 03-16-2008 02:59 PM

Re: AutoInstall Program (w/ Silent cab install)
 
i love this app cause u can use it anytime not only when u hardset keep up good work tytyt for great app

plenTpak 03-16-2008 03:07 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by kain144000 (Post 219553)
This is (*^$in' GREAT! One question, though. Is there a prog like this that'll read a *Config.txt like the OEM AutoInstall or UC (or maybe a UC that doesn't have to be cooked into the ROM)? Or a way to hack this prog to read a *Config.txt for instructions? I'd really like to use the txt doc method, y'know? w/o editing the SDConfig.txt I'd already made.

Well, I kind of use this as an alternative to Config.txt, but I suppose you could either run AutoInstall with a line in Config.txt, and that'd do both things, or maybe you can write a script and put it in the /AutoInstall/Scripts/ folder to call the OEM installer. I'm not sure, but it'd probably look something like: RunWait("\Extended_ROM\AutoRun.exe"). I didn't check the path or anything though.

---

Quote:

Originally Posted by saumaun (Post 219983)
Great app! I was just wondering if this supports programs that run after the installation (Like WBA that configs the themes right after setup) Or will it halt the install procedure. Thanks!

Yes, it basically just runs everything in the directory, as if you went into the directory and clicked on it all yourself.

---

I'm glad people are finding this useful. :D

Dc_Striker 03-16-2008 03:08 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Yes, it basically just runs everything in the directory, as if you went into the directory and clicked on it all yourself.

---

I'm glad people are finding this useful. :D[/quote]

this is very useful

rgv_warrior 03-16-2008 03:17 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by stroths (Post 219960)
I don't know of a place with a write-up, but here is a site where you can download registry editors that work PPCs.

http://www.pocketpcmag.com/blogs/men...tryEditors.asp

I use WinCE Cab Manager, but its about $100 to buy. You should be able to do it with a free tool called cabwiz, but its not as easy. Here are a couple of other useful links I found on google about it.

http://www.modaco.com/content/Smartp...ange-registry/

http://www.gpcarreon.com/?p=93

Thanks Stroths.

RW

[sammich] 03-16-2008 06:57 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by plenTpak (Post 220057)

Yes, it basically just runs everything in the directory, as if you went into the directory and clicked on it all yourself.

I think you quoted the wrong person... That didn't refer to my question :lol:

InvincibleLiving 03-17-2008 12:24 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by stroths (Post 219960)
I don't know of a place with a write-up, but here is a site where you can download registry editors that work PPCs.

http://www.pocketpcmag.com/blogs/men...tryEditors.asp

I use WinCE Cab Manager, but its about $100 to buy. You should be able to do it with a free tool called cabwiz, but its not as easy. Here are a couple of other useful links I found on google about it.

http://www.modaco.com/content/Smartp...ange-registry/

http://www.gpcarreon.com/?p=93

Stroths, are your links above smartphone specific? or will these instructions also work with wm6 & 6.1 devices to create cab files?

paravis 03-17-2008 01:00 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by rgv_warrior (Post 219926)
stroths,

I've never built a reg file before. Can you point me to where I can learn how?

thanks,

rw

Oh really? Didn't know that either. Thanks!

buckyswider 03-17-2008 01:00 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quite a N00b question, I'm sure......

I'm looking to implement this to ease the pain of ROM updates (as I'm sure most of us are). Have just started to explore the windoze registry...

To apply our own customizations, can we just export the applicable parts of the registry into a .reg file, then put these into autoinstall after the .cab install of the particular app??

For way of an example, let's take slingbox. The registry contains the 'finder' id of my slingbox, as well as passwords and things like that- pain in the butt to re-key it after upgrades. Could I export this segment from the registry:

[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer]

and just use autoinstall on this .reg file to re-populate my settings?? Or is that just asking for trouble??

That's just one example....of course there's many many many others....

Thanks!

stroths 03-17-2008 01:07 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by nautica2450 (Post 220875)
Stroths, are your links above smartphone specific? or will these instructions also work with wm6 & 6.1 devices to create cab files?

The cabwiz download comes with 2 files (1 for smartphone and 1 for ppc) I believe. The directions should be pretty similar, but they are the best I could find in my brief search.

InvincibleLiving 03-17-2008 01:14 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by stroths (Post 220916)
The cabwiz download comes with 2 files (1 for smartphone and 1 for ppc) I believe. The directions should be pretty similar, but they are the best I could find in my brief search.

great thanks, i'll continue to look into it... just making sure.

in any event i think i'll still download the wm6 SDK and look thru it as well just for curiosity sake...

plenTpak 03-17-2008 06:50 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Updated with AutoInstall3: Fixed some .reg import issues: Escaped strings now import properly; semi-working workaround for binary values >1k.

---
Quote:

Originally Posted by saumaun (Post 220201)
I think you quoted the wrong person... That didn't refer to my question :lol:

Hi, sorry, what I meant was that: just like when you manually click on a cab and can edit setup options afterwards, AutoInstall lets you do the same thing.

---
Quote:

Originally Posted by buckyswider (Post 220909)
Quite a N00b question, I'm sure......

I'm looking to implement this to ease the pain of ROM updates (as I'm sure most of us are). Have just started to explore the windoze registry...

To apply our own customizations, can we just export the applicable parts of the registry into a .reg file, then put these into autoinstall after the .cab install of the particular app??

For way of an example, let's take slingbox. The registry contains the 'finder' id of my slingbox, as well as passwords and things like that- pain in the butt to re-key it after upgrades. Could I export this segment from the registry:

[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer]

and just use autoinstall on this .reg file to re-populate my settings?? Or is that just asking for trouble??

That's just one example....of course there's many many many others....

Thanks!

I don't use SlingPlayer, so I can't say for sure, but the method you described works for many programs. You'd have to try it out and see if it works in your particular case, though.... or maybe find out from someone else who's tried it with SlingPlayer.

Edit: Make sure you use the new version of AutoInstall (3 or newer) too, because the older version had problems importing certain strings.

[sammich] 03-18-2008 09:49 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by plenTpak (Post 221303)

Hi, sorry, what I meant was that: just like when you manually click on a cab and can edit setup options afterwards, AutoInstall lets you do the same thing.

Now I understand.

Thanks! I'm pretty pumped to try this out when I get home. Now I'll flash to the new version of no2chem every day!

Great work

plenTpak 03-28-2008 07:31 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by plenTpak (Post 212869)
At this time, cabs only install from the Installers folder, not from sub-folders... and they install alphabetically (I think =P) so if you just order the cab names alphabetically, that should work....

Sorry, they didn't install alphabetically before (not exactly anyway...) but they do now (as of version 4). You can run scripts from the "Installers" directory too now, in case you want to run a script in between install files. :D

InvincibleLiving 03-29-2008 12:20 AM

Re: AutoInstall Program (w/ Silent cab install)
 
do xml files work with this prog? i've always wondered....

wifiwalker 04-15-2008 06:58 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by TurboFool (Post 216496)
I just tried this application for the first time today, and it appeared to do nothing. Popped up asking me if I wanted to run it, then no installers ran. When was this most recently updated (if at all)?

I had the same today, until I found out that it works when i turn off the /silent option in the script. Apparently /silent works only for CAB's that are signed with a trusted certificate. When turning off, however, one must manually accept the certificates. Hope this helps

InvincibleLiving 04-15-2008 11:54 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by wifiwalker (Post 250325)
I had the same today, until I found out that it works when i turn off the /silent option in the script. Apparently /silent works only for CAB's that are signed with a trusted certificate. When turning off, however, one must manually accept the certificates. Hope this helps

ah that makes sense i guess, thanks for letting us know. Welcome to the site btw!

mousio 04-19-2008 01:20 PM

Re: AutoInstall4 (auto cab install, copy files, import .reg, run scripts)
 
Quote:

Originally Posted by plenTpak (Post 210849)
3. Place any files you want copied into \Storage Card\AutoInstall\Files\
examples:
\Storage Card\AutoInstall\Files\example.txt will be copied to \example.txt
\Storage Card\AutoInstall\Files\Windows\Rings\ring.mp3 will be copied to \Windows\Rings\ring.mp3
\Storage Card\AutoInstall\Files\Windows\Theme.tsk will be copied to \Windows\Theme.tsk

How about working with one or more compressed files, and then uncompressing the files to the device (instead of providing and copying the uncompressed files)?
I do not know if something similar would make sense for the other items (installers/registry/scripts/...) but it might save some space there as well.

mousio 05-05-2008 05:17 PM

Re: AutoInstall4 (auto cab install, copy files, import .reg, run scripts)
 
Quote:

Originally Posted by mousio (Post 254322)
How about working with one or more compressed files, and then uncompressing the files to the device (instead of providing and copying the uncompressed files)?

Already worked that out by myself =D> and will post later...

InvincibleLiving 05-06-2008 01:28 PM

Re: AutoInstall4 (auto cab install, copy files, import .reg, run scripts)
 
Quote:

Originally Posted by mousio (Post 272407)
Already worked that out by myself =D> and will post later...

nice, looking forward to this.

magoo66 05-07-2008 02:12 AM

Re: AutoInstall Program (w/ Silent cab install)
 
I am definitely looking forward to using this!

What is the easiest way to get settings and such back in after a flash? I'm talking about stuff like owner information and sounds/notification preferences? I think I would hard-reset every day if I could click a button and have all that come back! :)

InvincibleLiving 05-07-2008 12:34 PM

Re: AutoInstall Program (w/ Silent cab install)
 
bump....

yeah i have many prov-xml's that never seem to work for me even though i know i've got the correct syntax ect... i've gotten away from dealing with them because of this cause i'm not sure where i'm going wrong....

not exactly the place for this question... so back on topic....'

bump lol

mousio 05-31-2008 08:12 PM

mousio's AutoRun stuff
 
1 Attachment(s)
Quote:

Originally Posted by mousio (Post 272407)
Already worked that out by myself =D> and will post later...

So finally here is my piece of code, inspired by AutoInstall...

For details and usage, look here.

Use all at your own risk! :angel4:

pedefede 06-01-2008 09:23 AM

Re: AutoInstall Program (w/ Silent cab install)
 
hmm ... i get an error at the mortsript line:

StatusInfo( ActiveProcess(), info )

???

mousio 06-01-2008 07:04 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by pedefede (Post 301372)
hmm ... i get an error at the mortsript line:
StatusInfo( ActiveProcess(), info )

Which error do you get? Which version of MortScript do you have? Which device/ROM combination did you try it on?

Try replacing the first resp. the second argument by arbitrary strings and see if that helps you out; you could also try to comment the line out, as it does not interfere with the actual processing.

Synned 06-02-2008 01:09 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Does this install the cab files first, so that files can be copied to their respective programs after?

mousio 06-02-2008 05:54 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by Synned (Post 302399)
Does this install the cab files first, so that files can be copied to their respective programs after?

Use any regular text editor to review the scripts and you should know the aswer is yes (for both plenTpak's AutoInstall4 and mousio's AutoRun - you did not specify which); actually the order can be changed quite easily should you wish to do so...

pedefede 06-09-2008 04:12 AM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by mousio (Post 301726)
Which error do you get? Which version of MortScript do you have?

SOLVED

Error-msg:
Unknown command 'statusinfo'

The reason was, that i first used Autoinstall4, who installed mortscript 4.1 (that doesnt have the status-window feature, that beta 4.11 has). I thoughed that i had removed 4.1 - however, it couldnt be uninstalled !!! - So your script couldnt install 4.11

Oh and: DONT put an mortscript.CAB in your AutoRun folder

By the way, i had a REG-files, that the script couldnt read. That means, that the script doesnt get to write the autorun.xml at all (for all the good reg-files). I solved by converting the REG to a XML-file.


(THANKS for a splendid script !!!!)

mousio 06-20-2008 05:11 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by pedefede (Post 309116)
SOLVED
Error-msg: Unknown command 'statusinfo'

The reason was, that i first used Autoinstall4, who installed mortscript 4.1 (that doesnt have the status-window feature, that beta 4.11 has). I thoughed that i had removed 4.1 - however, it couldnt be uninstalled !!! - So your script couldnt install 4.11

Oh and: DONT put an mortscript.CAB in your AutoRun folder

Great, glad that you found and solved the problem. =D>

My main purpose is for this to be used in combination with UC: after a hard reset, let it automatically reconfigure your device to your needs.
So now, every couple of months I put the latest updates of ROM and cabs on my card, and then – thanks to UC and the script – the update process then takes less than 20 minutes and my device is totally reconfigured again, just the way I want it and no user input required (except hard reset between ROM flash and UC)...

The script does not check if it is run manually or automatically, nor does it check the mortscript version it runs with, nor does it actively try to avoid double installation of mortscript, but feel free to post your own code as these are indeed interesting features. Another feature could be to automatically detect the name of the storage card root folder in order to support different languages...
Quote:

Originally Posted by pedefede (Post 309116)
By the way, i had a REG-files, that the script couldnt read. That means, that the script doesnt get to write the autorun.xml at all (for all the good reg-files). I solved by converting the REG to a XML-file.

Perhaps it is an encoding issue?
I had briefly tested the registry import and now that you mention this, I believe the reg file should not be unicode for the script to be able to parse it correctly.
Could you please test again?



Quote:

Originally Posted by pedefede (Post 309116)
(THANKS for a splendid script !!!!)

:mrgreen: (ps: there is a "thanks" button)

boxermansr 08-07-2008 05:35 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by fryguy1 (Post 215036)
I thought I read somewhere on here that you can use a program to modify the CAB file to install to storage card. I will have to find that again, as I found out that almost everything on my card has to be reinstalled after each hard reset or rom change. I was hoping that all I needed was the shortcuts.

Anyone ever find a way to do this? I tried that WinCE cab manager program (the 30 day trial version) and I have no idea what I need to do to change the install directory so that things will install to the storage card.

[sammich] 08-07-2008 05:59 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by boxermansr (Post 375288)
Anyone ever find a way to do this? I tried that WinCE cab manager program (the 30 day trial version) and I have no idea what I need to do to change the install directory so that things will install to the storage card.

Read the tutorial I made a while ago, you may be able to figure some things out about WinCE Cab Manager

http://forum.ppcgeeks.com/showthread...rial+wince+cab

If you need more help, you can just post it on that thread

boxermansr 08-07-2008 06:06 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by saumaun (Post 375315)
Read the tutorial I made a while ago, you may be able to figure some things out about WinCE Cab Manager

http://forum.ppcgeeks.com/showthread...rial+wince+cab

If you need more help, you can just post it on that thread

Thats more to explain how to make a cab, no? All I'm wanting to do, is make it so certain cabs will install to the STORAGE card (preferably without prompting me as to where I want to install them).

I tried to edit the properties of one of the cabs I'm using, but I have no idea what I'm supposed to put as the install path. I tried Storage Card, and when I ran the cab on my touch it still asked me where I wanted to install it, on the device, or the card.

[sammich] 08-07-2008 06:25 PM

Re: AutoInstall Program (w/ Silent cab install)
 
Quote:

Originally Posted by boxermansr (Post 375321)
Thats more to explain how to make a cab, no? All I'm wanting to do, is make it so certain cabs will install to the STORAGE card (preferably without prompting me as to where I want to install them).

I tried to edit the properties of one of the cabs I'm using, but I have no idea what I'm supposed to put as the install path. I tried Storage Card, and when I ran the cab on my touch it still asked me where I wanted to install it, on the device, or the card.

Oh now I understand what you're saying. I am actually wondering the same thing myself. Sorry I don't have an answer for you

OMNIA-fr34k 12-11-2008 07:41 PM

Re: AutoInstall Program (w/ Silent cab install)
 
hi,
ive tried to run the autoinstaller4 but no chance for me...
i have an omnia... ive copied the autoinstaller on my storage card but it wont work... after that ive copied it on my storage but altho no chance... ive copied my own sip and tmcp inthere and want to install it after hardreset... but it wont work... after i start autorun it takes a while and than my phone needs to be restarted... after than nothing new is installed...


All times are GMT -4. The time now is 04:47 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0