Partager via


Wceldcmd Tool (Compact 2013)

3/26/2014

This tool installs or removes the cabinet (.cab) file from a location that you specify.

Syntax

wceldcmd [/delete <number> | /nouninstall] [/pid] <cab file location>

Parameters

  • /delete*<number>*
    Specifies how Wceldcmd removes the .cab file after installation.

    Value

    Description

    0

    Does not remove the .cab file.

    1

    Removes the .cab file. This is the default value.

    2

    Treats the file as blocks of data, and dynamically deletes them.

  • /nouninstall
    Specifies that the installed application cannot be removed. If this option is used, the unload file will not be generated.
  • /pid
    Associates a package id with each cab file. The package id is included in the set of registry entries created for the cab file (entries are also written for the cab name, destination, etc.). Place the package id after the cab file name in the command. Here is an example in which the package id is 12345:

    wceload /pid test.cab 12345
    
  • <cab file location>
    Specifies the location of the .cab file to install or remove.

Remarks

This tool is meant to be used for devices that do not support display screens. For devices with display screens, use Wceload Tool.

If you do not specify a location, the .cab file will be installed in or removed from the default location. The default location is the Program Files directory on your device. By default, an unload file is generated during wceload installation. The unload filename has the following format:

<Software Provider Name><Program Name>.

In the unload filename, <Software Provider Name> is generated from the Provider field of the [Version] section in the .inf file, and <Program Name> is generated from the AppName field of the [CEStrings] section in the .inf file.

See Also

Reference

Platform Builder Command Line Tools
CAB Wizard
Unldcmd Tool
Information (.inf) File Overview