troubleshooting Question

How to specify destination directory with inf files

Avatar of rudy2024
rudy2024 asked on
Windows OSSystem Utilities
4 Comments1 Solution709 ViewsLast Modified:
I am using WceLoad.exe tool in a Windows CE program to install a cab file programmatically.
One of the options of this toolis /noaskdest to prevent a prompt to ask for destination directory.
However, the documentation indicates that when using this option, I have to use the [DefaultInstall] section of an inf file to specify the destination.
I looked at this section but could not understand it.
My application continues to try the install in Windows directory which doesn't have enough space.  Following is my ini installation.  Can you please help me correct as needed?
[CEAppManager]
Version = 1.0
Component = NETCF20
 
[CEStrings]
AppName=NETCF20
InstallDir=\SDMMC\%AppName%
 
[NETCF20]
Description = .NET Compact Framework v2.0
CabFiles=NETCFv2.wce5.armv4i.cab
 
[DestinationDirs]
DefaultDestDir=0;%InstallDir%
ASKER CERTIFIED SOLUTION
dbrunton
Quid, Me Anxius Sum? Illegitimi non carborundum.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros