Microsoft has spent many years working to make Internet Explorer a safe browser. As hacker find new vulnerabilities it becomes a never-ending challenge.
While the UISDK can be used as an advanced browser, we strongly recommend against this: sites could, in theory, hold scripts that exploit the UISDK and gain access to the very windows API services that Microsoft has worked so hard to block.
Instead, use the UISDK to load trusted scripts only -- either scripts packaged and installed alongside the UISDK, or scripts hosted on your own secure web servers.
For maximum security:
Tracking downloads/installs
Tracking Ids, marketing campaign IDs, or activation keys can be "embedded" in your file by:
$campaignID = $this->getNextCampaignID(); //or get it from the HTTP GET params..
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=setup_" . $campaignID . ".exe");
header("Content-Length: " . filesize("./downloads/uisdk.exe"));
readfile("./downloads/uisdk.exe");