x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

How to silently install .cab file

[Frozen]
1 2
Frozen
dodge
dodge Page Icon Posted 2007-10-03 9:24 AM
#
Status:
Hi everyone,
i have a small problem, i have a device that runs Windows CE 5.0 (Symbol MC9090),
and i try to install netcf.all.wce4.ARMV4.cab file silently by using .run file which contains the following line:
Wceload /noaskdest /noui \Application\netcf.all.wce4.ARMV4.cab

p.s.
i place this .run file into \Application\startup\ directory...

where /noaskdest should meand that user is not prompt for instlation path and /noui flag should mean that no user input is neccessary, but it does not work (?)


Any help on this subject would be grat...thank you in advance.

Edited by dodge 2007-10-03 10:23 AM
 Top of the page
cmonex Page Icon Posted 2007-10-03 1:10 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
exactly what happens when you try to do this?
 Top of the page
dodge
dodge Page Icon Posted 2007-10-03 3:27 PM
#
Status:
Well actually the file is, at least it looks like it, beeing installed, but I still get the dialog or better said i still have to press "Enter" to confirm where I want this file to be installed(?)


Thank you for your quick reply.
 Top of the page
dodge
dodge Page Icon Posted 2007-10-05 1:05 PM
#
Status:
Hmmm basically what i m trying to do is to get like the real syntax for this to work...and where to put this .run file and what kind of sintax to use with wceload (?)

Thank you.
 Top of the page
C:Amie Page Icon Posted 2007-10-05 1:41 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,011
Location:
United Kingdom
Status:
You don't have wceldcmd on your device do you? If so that's the easier way to do it.

wceload [/noaskdest | /askdest | /delete <number>] <cab file location>

Your syntax is correct, is .run registered with the system?

Try putting it into a .cmd or a .bat file and running it that way, or call it from a .VB script
 Top of the page
dodge
dodge Page Icon Posted 2007-10-05 4:35 PM
#
Status:
Hmm so if i would put this commands instead into a .run file into a .bat file, that would work (?)
And if i put it into a .bat file, do i need to add any other command or flag (?)

Thnx


Edited by dodge 2007-10-05 4:37 PM
 Top of the page
dodge
dodge Page Icon Posted 2007-10-08 2:10 AM
#
Status:
Well i put the command into .bat file insted of a .run file and it worked....so thank you all for the help!
 Top of the page
dodge
dodge Page Icon Posted 2007-10-08 6:55 AM
#
Status:
Well now i have another issue, I created a .cpy file to copy files from Application directory to \Program files, and it works,
the problem i have is, how can i write .reg file to autostart the application...

Thank you all in advance for great help and support.
 Top of the page
C:Amie Page Icon Posted 2007-10-08 7:46 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,011
Location:
United Kingdom
Status:
You either need a registry editor that you can parse command line into/are willing to go into and add the string manually, or you need to write some code to add it for you. This means flexing your C++, VB or .net skills.
 Top of the page
dodge
dodge Page Icon Posted 2007-10-08 7:49 AM
#
Status:
Hmm so there is no easy way to like create .REG file and run it (?) for Example something like:

[HKEY_CURRENT_USER\Software\Symbol\Startup]
"Path"="\\Application\\Startup"
 Top of the page
C:Amie Page Icon Posted 2007-10-08 8:00 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,011
Location:
United Kingdom
Status:
Not without putting a registry editor that can parse it on the device first. The best way is in code.
 Top of the page
dodge
dodge Page Icon Posted 2007-10-08 8:52 AM
#
Status:
Hmm is there any way to put that into a file, something like:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog13]
“Name”=”\Program Files\myDir\MyApp.exe”
“Command”=”"
“Continue”=dword:1
“ColdBootOnly”=dword:0

or .REG file or something....so i wont have to change the code(?)
 Top of the page
dodge
dodge Page Icon Posted 2007-10-08 3:35 PM
#
Status:
Hmm damn i guess there is no other way (?)
 Top of the page
cmonex Page Icon Posted 2007-10-08 8:13 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
you can

1) install TRE (tascal regeditor), it'll associate reg files with itself (use correct regedit4 format for it)
or
2) write a small app that'll put this key in the registry.
 Top of the page
dodge
dodge Page Icon Posted 2007-10-09 7:38 AM
#
Status:
Hmm i was googleing a bit and i have a question if a tool called Rem capture can be of any use for me(?)

And if someone more expert in writting reg can post me what should for example be my reg value(?)

I got to about here:

REGEDIT4

[HKEY_CURRENT_USER\SOFTWARE\MyAppDirectory]
“Execute”=”\\Program Files\\myAppDirectory\\MyApp.exe”
"Arguments"=""
“Command”=”"
“Continue”=dword:1
“ColdBootOnly”=dword:0

Edited by dodge 2007-10-09 7:39 AM
 Top of the page
1 2
Frozen
Jump to forum:
Seconds to generate: 0.187 - Cached queries : 63 - Executed queries : 8