| Windows Installer |
This example illustrates how to create a URL-based installation of a Windows Installer package. The sample requires Windows Installer version 2.0 or later. 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 Platform SDK. You also need Msistuff.exe and Setup.exe utilities from the Platform SDK Components for Windows Installer Developers. For more information, see Internet Download Bootstrapping.
The example has the following specifications:
| URL | File | Description |
|---|---|---|
| http://www.example.com/Products/MySetup/ | Setup.exe | Setup.exe bootstrapper. |
| http://www.example.com/Products/MySetup/ | MySetup.msi | Installation package |
| http://www.example.com/Products/MySetup/ | Cab1.cab | Source file cabinet #1 |
| http://www.example.com/Products/MySetup/ | Cab2.cab | Source file cabinet #2 |
| http://www.example.com/Products/Common/InstMsi/Ansi | Instmsi.exe | ANSI Windows Installer 2.0 redistributable. |
| http://www.example.com/Products/Common/InstMsi/Unicode | Instmsi.exe | Unicode Windows Installer 2.0 redistributable. |