WiseScript Editor Reference
97
WiseScript Actions
keys, and shortcuts) that comprise the application. The Setup.dll file provides functions
for performing certain operations during the installation and removal of your application.
Mobile device .CAB files are generated by the CabWiz program from an information file
(.INF). The .INF is a text file that specifies directories, files, settings, and configurations
that are used to install a mobile device application.
(Pocket PC applications only.) A single .INF file can contain information to produce
multiple .CAB files. Example: An application supports the Windows Mobile and Pocket PC
2002 platforms, but several of the application files are platform-dependent. When you
create the installation, you assign the files to the device that supports that platform.
When you compile, the Windows Mobile-specific files are placed in the Windows Mobile
.CAB file, and the Pocket PC 2002-specific files are placed in the Pocket PC 2002 .CAB
file.
A mobile device application can be installed in the following ways:
z
The .CAB file and an .INI file that describes the .CAB are included in an installation
that runs on the desktop computer. The desktop computer contains Application
Manager (CeAppMgr.exe), which is installed with ActiveSync. Application Manager
installs the mobile device application on the device.
z
The end user copies the .CAB file to the mobile device and opens it. The .CAB file
extracts its contents to the directories that were specified in the .INF file.
Uninstall of the mobile device application is controlled by the mobile device and
ActiveSync. Uninstalling the mobile device installation from the desktop computer does
not affect the application that is installed on the mobile device.
To add mobile device .CAB files to a WiseScript, use the Install Windows Mobile
Application script action.
See:
Process for Adding Mobile Device Support to a WiseScript
Install Windows Mobile Application
on page 98
Process for Adding Mobile Device Support to a WiseScript
You can configure a WiseScript to install files that support a Windows Mobile device
application.
1. Obtain the mobile device installation file or files. Windows Mobile installations
consists of one or more .CAB files.
Obtain the .CAB files from a vendor or other source.
2. In WiseScript Editor, add the Install Windows Mobile Application script action and
specify the .CAB files to add.
3. Finish assembling the WiseScript. Any resources that you add to the WiseScript,
other than those in any Install Windows Mobile Application script actions, are
installed on the desktop computer, not the mobile device.
4. Compile the WiseScript. The .CAB files are included in the compiled .EXE. Also, an
.INI file that describes the .CABs is created and included in the compiled .EXE.
See: