Announcement

Collapse
No announcement yet.

%AdditionalDiskSpace%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • %AdditionalDiskSpace%

    I am trying to use the new varble %AdditionalDiskSpace% by code is somehting like
    IF %filesearch1%="not found" and %filesearch2% = "NOT FOUND"
    %AdditionalDiskSpace%=1500000
    end if

    i put message boxes in showing %AdditionalDiskSpace% and it is bening set, but when I get to the Select install folder it says 48.7 megs like it always does. I am trying to add 100-150 megs to the 48 megs but not matter what %AdditionalDiskSpace% is set to it never seems to affect Space required on Drive. am I doing something wrong?

  • #2
    Re: %AdditionalDiskSpace%

    Hi,

    You are actually adding 1.5 MB to your disk space, try adding two more zeros. Or if you want exactly 150 MB try using 157286400.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: %AdditionalDiskSpace%

      Ok that worked perfect, just call me stupid, thanks for the help I really appreciate it.

      Comment


      • #4
        Re: %AdditionalDiskSpace%

        No Problem.

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          Re: %AdditionalDiskSpace%

          hi mark -

          I am trying to assign a value to the %AdditionalDiskSpace% variable, by using an action in the StartUp tab.

          But When I run the setup, on the Select Installation Folder screen, the value that appears (across from "Space required..." text ) remains unaffected - it doesn't reflect the number I assigned it.

          I thought I understood through this thread that this can be done...what am i doing wrong?
          thanks
          -chris


          Comment


          • #6
            Re: %AdditionalDiskSpace%

            I didn't seem to have any problem assigning a value to %AdditionalDiskSpace% in my test. What is the value you are assigning in your install? Make sure that the spelling is correct as well in your action and there are no leading or trailing spaces after the variable name. You may even want to display that value in a dialog message box to see what it contains at that point.

            Comment

            Working...
            X
            😀
            🥰
            🤢
            😎
            😡
            👍
            👎