Announcement

Collapse
No announcement yet.

Variable Defaults

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Variable Defaults

    I am running 6.0.0.2 and I have the following problem.

    Under General Design > Settings I change the default values for %AppDir% and %CSFolderTitle%. However, when I build and run the installer, my new values are not used. For example in the %AppDir% edit box I enter "BitFlowSDK.300", and the name of my product is "BitFlow SDK". When I run the installer, I expect that the default folder directory will be "BitFlowSDK.300" instead it is always "Program Files\BitFlow SDK". Am I doing something wrong, or is this a bug?

    Thanks...

  • #2
    Re: Variable Defaults

    Mark,

    Thanks for the quick reply.

    You are correct, the Install Folder screen has a different default. If I modify this one I get the desired behaviour.

    I guess I then wonder purpose is of having the option under the General Settings, if it always gets overwritten by the setting in the Install Folder screen. What it looks like to me is General Settings option always gets overwritten by the Install Folder option. The current set up is obvisously workable, but confusing.

    Comment


    • #3
      Re: Variable Defaults

      Hi,

      The reason that the defaults occur in more then one place is to be useful in all situations. The Default in the General Design is used to set the "global default" which would be used if no screens were displayed. The default on the screens affects only the value that is displayed on the screen initially. So if you have two different Install Folder screens you might want two different defaults.

      mark.
      MSI Factory The Next Generation Intelligent Setup Builder

      Comment


      • #4
        Re: Variable Defaults

        You guys think of everything. This makes perfect sense to me now. Thanks for all your help, keep up the good work.

        Comment


        • #5
          Re: Variable Defaults

          Hi,

          What is probably happening here is the defaults that you are setting in the General Design are being overridden by the Defaults that are being set on your screens.

          For example look on the Custom Tab of the Select Install Folder screen. What is the: "Default install folder" being set to?

          mark.
          MSI Factory The Next Generation Intelligent Setup Builder

          Comment

          Working...
          X