|
| 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
|
|
|
|
H/PC Oracle Posts: | 16,175 |
Location: | Budapest, Hungary | Status: | |
| exactly what happens when you try to do this? |
|
|
|
| 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. |
|
|
|
| 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. |
|
|
|
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 |
|
|
|
| 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
|
|
|
|
| Well i put the command into .bat file insted of a .run file and it worked....so thank you all for the help! |
|
|
|
| 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. |
|
|
|
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. |
|
|
|
| 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" |
|
|
|
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. |
|
|
|
| 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(?) |
|
|
|
| Hmm damn i guess there is no other way (?) |
|
|
|
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. |
|
|
|
| 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
|
|
|