install cab file to \Application folder

Solved Locked
JW

How do I prevent the installation of a cab file (bundled from package studio) from prompting the user to choose where to install the application to?

It gives the user 3 choices to install to \Device, \Cache Disk and \Application.  I would like to have it always install to \Application.

How would I accomplish this?

We are using motorola Model MC67NA windowsCE/mobile 6.5) mc55x mobile devices

tia.

6 years ago
Windows
ANSWERS
JW
James Wisecup
6 years ago
Solution
MD
Matt Dermody Diamond Contributor
6 years ago

You're looking for a no UI, silent install.

start /wait wceload.exe /noui \Application\YOURCAB.cab  /silent

JW
James Wisecup
6 years ago

Thanks!

Would I just place that in the Post-Install Script with the auto-execute unchecked 

or

put that as the Format line in the auto-execute section?

MD
Matt Dermody Diamond Contributor
6 years ago

It's been some time since I've supported CE devices as our customer base is moving to Android. It's worth experimenting so that you understand the mechanisms in place but I think logically it would make sense for it to be a post-install script with the auto-execute disabled but you might also just be able to modify the auto-execute portion directly with those added parameters. 

JW
James Wisecup
6 years ago

Agreed.

Thanks for your time...appreciate it brother.  :)

MD
Matt Dermody Diamond Contributor
6 years ago

HYB