3 cabs - how to install (in one step) ?

G

Guest

Good day for all!

i have 3 cabs - CompactFramework.cab, OpenNETCF.cab and MyApplication.cab
(I don't have CF on my device). Tell me please, how can i install all those
cabs on device?

User download this installer from web-site (from internet or web-server
located in LAN - download just one file) and after runs it.

Conditions: User must to run just one application/cab/bat/exe file on device
and then installation process begins (without using ActiveSync).

How can i do this?

Thank you for answers (sorry for my english)!
 
B

bryja_klaudiusz[at]poczta[dot]fm

Hi,

Use wceload (or wceldcmd) application and registry. Download cab files
to Application folder. Create in application folder file with cpy
extension. This file contains:

\application\cab1_name > \windows\cab1_name
\application\cab2_name > \windows\cab2_name
\application\cab3_name > \windows\cab3_name

Then create in application folder file with reg extension which contains:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog1]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab1_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog2]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab2_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog3]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab3_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

Perform cold boot.
 
B

bryja_klaudiusz[at]poczta[dot]fm

Hi,

Use wceload (or wceldcmd) application and registry. Download cab files
to Application folder. Create in application folder file with cpy
extension. This file contains:

\application\cab1_name > \windows\cab1_name
\application\cab2_name > \windows\cab2_name
\application\cab3_name > \windows\cab3_name

Then create in application folder file with reg extension which contains:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog1]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab1_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog2]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab2_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog3]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab3_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

Perform cold boot and all cabs should be installed in their default
locations.
 
G

Guest

Thank you for your answer!

But this solution is very sophisticated for end-user. In my question i mean,
that user download on device just one cab file (and it contains 3 cab files),
unpack it and then autoinstallation of those 3 cabs begins (ideally).
Can i run extracted program from cab-file after cab extracted?
Can i do this without eVC++ program?

bryja_klaudiusz[at]poczta[dot]fm said:
Hi,

Use wceload (or wceldcmd) application and registry. Download cab files
to Application folder. Create in application folder file with cpy
extension. This file contains:

\application\cab1_name > \windows\cab1_name
\application\cab2_name > \windows\cab2_name
\application\cab3_name > \windows\cab3_name

Then create in application folder file with reg extension which contains:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog1]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab1_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog2]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab2_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog3]
"Name"="\\windows\\wceload.exe"
"Command"="/noaskdest \\Windows\\cab3_name"
"Continue"=dword:0
"ColdBootOnly"=dword:1
"NoStartUpLaunch"=dword:1

Perform cold boot and all cabs should be installed in their default
locations.
Good day for all!

i have 3 cabs - CompactFramework.cab, OpenNETCF.cab and MyApplication.cab
(I don't have CF on my device). Tell me please, how can i install all those
cabs on device?

User download this installer from web-site (from internet or web-server
located in LAN - download just one file) and after runs it.

Conditions: User must to run just one application/cab/bat/exe file on device
and then installation process begins (without using ActiveSync).

How can i do this?

Thank you for answers (sorry for my english)!
 
R

Richard Lewis

I do something similar to this and this is how I do it.

create a 4th cab file which contains the 3 cabs you want to deploy.

make the 4th cab file copy the 3 files to the /windows/startup directory

Downloading with Pocket IE will give the option to run the cab file
when it is downloaded.

Once file is downloaded and run, get the user to soft reset the device
and the 3 cab files will be installed on restart.

Richard
 
G

Guest

Perfect!

Thank you! :)


Richard Lewis said:
I do something similar to this and this is how I do it.

create a 4th cab file which contains the 3 cabs you want to deploy.

make the 4th cab file copy the 3 files to the /windows/startup directory

Downloading with Pocket IE will give the option to run the cab file
when it is downloaded.

Once file is downloaded and run, get the user to soft reset the device
and the 3 cab files will be installed on restart.

Richard
 
G

Guest

Another question :) - can i and how can i do "silent" install in this case
(without pressing "ok"-button in each cab installation process)?
 
G

Guest

Have a look here:
www.pocketpcinstaller.com

It's really easy to use - just drag your cabs into the app, it'll compress
them (most .cab files AREN'T compressed !) all into one, single PocketPC
self-executable file. That's one single file containing all of the .cabs,
plus the code to extract and install them. And yes, you can even make
it display your own background image on the device whilst they're
installing. Very cool.

You can then put this one file on your website, and that file is all that a
user would need to download. And obviously, because it's compressed,
it will download a lot quicker than trying to download each cab file,
one by one.

Hope this helps.


Mike
 
G

Guest

A little P.S. to add to Mike's message.

The PocketPC Installer app has been improved.

Now, after you've drag'n'dropped your .cab files into the app, not
only will it create one standalone PocketPC installer .exe file.. but
it will ALSO create one, standalone Desktop installer .exe file.


What does this mean ?


Well, it means you end up with two different types of installer,
and you get to choose which is most useful for you.


If you want to have an all-in-one installer on a memory card,
which runs when the user inserts the card into their device,
then you'd use the PDA installer .exe file. This is the only
file you'd need on the memory card.
Alternatively, your PDA users could run Pocket Internet
Explorer on their device, navigate to a link to this file on your
website, and click on it to download & run it, and this would
install your set of .cab files on their device.


Alternatively..


If you want to email a copy of your PocketPC application to
a friend, complete with .Net CF libraries and any other libraries,
you can send them the Desktop installer .exe file.
They'd receive this one .exe file, run it on their PC, and it'd
look for an ActiveSync connected device, copy the compressed
installer data to it, then run it on the device, installing your
set of .cabs/other files.
Once again, you could put this .exe on your website, making
it an extremely easy way to distribute your software in one
link.

Two different ways of distributing your software.
You just have to decide which to use.

Give it a go, the 30-day evaluation version lets you see it all
in action.


James
http://www.PocketPCinstaller.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top