A URL-Based Windows Installer Installation Example
This example illustrates how to create a URL-based installation of a Windows Installer package. For more information about securing installations and using digital certificates see Guidelines for Authoring Secure Installations and Digital Signatures and Windows Installer.
To reproduce this sample you need the SignTool utility. For details, see the CryptoAPI Tools Reference in the Microsoft Windows Software Development Kit (SDK). You also need Msistuff.exe and Setup.exe utilities from the Windows SDK Components for Windows Installer Developers. For more information, see Internet Download Bootstrapping.
The example has the following specifications:
When users visit your website and click the "MySetup Installation" link, they are presented with the option to save or run from that location. If the user selects to run from that location, the Setup.exe upgrades the version of Windows Installer on their computer, if necessary, verifies the digital signature on the installer package, and installs the package on their computer.
There is a digital certificate, Mycert.cer, provided with a private key, Mycert.pvk.
The web server layout is as follows.