Navigation:  Click-Script Guide >

Remote Actions

Previous pageReturn to chapter overviewNext page

VisualSetup allows you execute the click-script actions in the connected Windows Mobile device. This feature allows you:

Retrieve data from the connected device, like the operational system version, processor, serial number, etc;
Save customized data in the Registry, files, etc;
Remote control the device sending messages, keyboard and mouse events and much more.

Almost every click-script actions are supported, except for the DLL Actions.

 

How to execute an click-script action in the remote device:

 

VisualSetup includes a new clause: the remote clause. The remote and end remote clauses creates a remote block, all actions inside the remote block are executed in the connected Windows Mobile device.

To execute an action in the connected Windows Mobile device, just include the action you want inside a remote block, inserting the remote clause before the action and the end remote clause after.

 

What are the remote actions I can use in a trusted setup program?

 

Some remote actions are not allowed when you are creating a trusted setup program. Do not use the following actions as remote actions if you want your setup program to be trusted:

Find Window

Close Window

Close All Windows

Set Active Window

Get Active Window

Hide Window

Show Window

Minimize Window

Restore Window

Move Window

Send Key To Window

Send String To Window

Send Mouse Click

Send Message

Send String Message

Copy String

Paste String

Execute Program

Execute File

Get Device Serial

Check XScale

Install CAB File

Get Free Space

Get Disk's Size

Get RAM's Size

Get Processor Vendor Name

Soft-reset

Uninstall Software