Creating Smart Device Installations

InstallShield 2012 Spring Express Edition

InstallShield's Smart Device Setup Wizard generates the .cab files that are used to install the application to the Smart Device. These .cab files can be deployed to the Smart Device by using a storage card, or by downloading over a network or through Microsoft ActiveSync. The Smart Device Setup Wizard also includes the necessary .cab files for the Microsoft .NET Compact Framework redistributables, as well as the Autorun.exe file required for memory card installations.

Project: The Smart Device project type should be used only for straight-to-device installations that do not use ActiveSync or any other desktop component.

Using the Smart Device Setup Wizard

Use the Smart Device Setup Wizard to do the following:

Create an installation that will be installed directly to the device without being installed to a desktop computer first—for example, software installed from a storage card, such as a Compact Flash or Secure Digital card.
Create an installation where you want only the .cab files that can then be installed to the smart device.

Running the Smart Device Setup Wizard

You can run the Smart Device Setup Wizard from inside InstallShield or Microsoft Visual Studio. If you are creating an installation for a smart device solution in Visual Studio, it is best to run the Smart Device Setup Wizard from within Visual Studio. If you are creating an installation for an application authored using some other tool, such as eMbedded Tools 3.0 or eMbedded Visual C++ 4, you can run the Smart Device Setup Wizard from within InstallShield.

To run the Smart Device Setup Wizard from within InstallShield:

1. On the File menu, click New. The New Project dialog box opens.
2. On the All Types tab, click the Smart Device Setup Wizard project type.
3. Configure the settings for the name and project location as needed.
4. Click OK.

The Smart Device Setup Wizard opens.

To run the Smart Device Setup Wizard from within Visual Studio:

1. After creating a smart device solution in Visual Studio, right-click the root of the Solution Explorer, point to Add, and select New Project. The Add New Project dialog box opens.
2. Beginning with Visual Studio 2010: In the Installed Templates box, click InstallShield Projects. Then select the select Smart Device Setup Project.

For earlier versions of Visual Studio: In the Project Types box, click InstallShield Projects. Then in the Templates box, select Smart Device Setup Project.

3. Configure the settings for the name and project location as needed.
4. Click OK.

The Smart Device Setup Wizard opens.

Building a Smart Device Installation

If you launched the Smart Device Setup Wizard from within InstallShield, the smart device installation is built when you build your installation in InstallShield. If you added your smart device installation to a Visual Studio smart device solution, the installation is built when you choose to build the solution from inside Visual Studio.

In either case, the .cab file required to install your application is placed in the root of the build image. If you chose to redistribute the .NET Compact Framework, create an Autorun.exe file, or include native code, folders for each processor-platform combination are created. These folders contain the appropriate .cab files and/or executable files for that particular processor/operating system ID. This exact folder structure should be copied to your storage card in order for the auto-run mechanism to work.

See Also