Avatar of rudy2024
rudy2024

asked on 

How to specify destination directory with inf files

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%

Open in new window

Windows OSSystem Utilities

Avatar of undefined
Last Comment
rudy2024

8/22/2022 - Mon