Results 1 to 2 of 2

Thread: Problem with Setup Types

  1. #1
    Join Date
    May 2003
    Location
    Birmingham, West Midlands, England
    Posts
    673

    Problem with Setup Types

    I have created a Windows CE Setup that contains three features and each feature contains a different Windows CE Object. One feature is nested inside another but the other two are both top level. There are a few common files between the two top-level Objects, and these are marked shared and are ref-counted.

    I have defined three Setup Types, one that installs one Object, one that installs the nested two, and Custom. OK so far.

    If I use Custom mode, I can select any valid combination and have the appropriate Object or Objects installed. Still OK.

    If I select one of the other Types, everything is installed, even the Objects that should not be selected. Not OK.

    I have the features de-/selected correctly in the Setup Types view, but this doesn't seem to be working.

    If I step through the code with the debugger, the Features are de-/selected appropriately for the Setup Type.

    If I check the uninstall log file, then the features that are not supposed to be installed are "Not Installed", but they are!

    Has anybody come across this problem and even better found a solution?

    Thanks for any suggestions,

    David
    Installer Engineer
    David Briggs Software Services

  2. #2
    Join Date
    May 2003
    Location
    Birmingham, West Midlands, England
    Posts
    673
    My workaround for the present is to disable the Setup Types dialog. I am calling FeatureSetupTypeSet to force Custom mode and then display the Installation Options dialog. This is working and doesn't look too odd.

    David
    Installer Engineer
    David Briggs Software Services

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •