Export (0) Print
Expand All
5 out of 13 rated this helpful - Rate this topic

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 URL of the hypothetical website a customer would visit to install the package is http://www.blueyonderairlines.com/Products/MySetup/mysetup.html.
  • The web server layout is as follows.
    URLFileDescription
    http://www.blueyonderairlines.com/Products/MySetup/Setup.exeSetup.exe bootstrapper.
    http://www.blueyonderairlines.com/Products/MySetup/MySetup.msiInstallation package
    http://www.blueyonderairlines.com/Products/MySetup/Cab1.cabSource file cabinet #1
    http://www.blueyonderairlines.com/Products/MySetup/Cab2.cabSource file cabinet #2
    http://www.blueyonderairlines.com/Products/Common/InstMsi/AnsiInstmsi.exeANSI Windows Installer 2.0 redistributable.
    http://www.blueyonderairlines.com/Products/Common/InstMsi/UnicodeInstmsi.exeUnicode Windows Installer 2.0 redistributable.

     

Continue

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.