#4 bootstrapper example

open
nobody
None
5
2012-09-15
2005-12-12
Pedrum Mohageri
No

A modified version of PSDK sample code that has added
features such as MSI logging and embedded binary (one
setup.exe file that includes the MSI).

You may want to use this for:

Minor upgrades (instead of requiring user to type in
command line params)
Logging (for debugging of failed installs)
Single installer (makes product look more professional)

Discussion

  • embed code ordering fix 2

     
    Attachments
  • binaries of bootstrap code

     
    Attachments
  • Logged In: YES
    user_id=1115039

    In the file msistuff.cpp line 232/233 shut be look like this
    to compile on VC 2005
    const TCHAR pchOptions = rgszCommandOptions;
    for (pchOptions;
    pchOptions; pchOptions++)

     
  • B Cran
    B Cran
    2008-05-25

    Logged In: YES
    user_id=939254
    Originator: NO

    This is really useful. It would be nice to see these changes included in the setup.exe and msistuff distributed the Windows SDK - have the changes ever been sent to the Windows Installer team to see if they'd be interested in accepting them? The only thing still missing from setup.exe both here and in the SDK is a common controls manifest which is needed for the ComboBox control to display properly under XP.