Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Variable in Priority Path?

    Are you sure that you have MSTAR32 set up as your %AppDir%? Are you sure that you are installing the files to the MSTAR32 directory?

    ------------------
    Sincerely,

    Darryl Hnatiuk
    Indigo Rose Corporation
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  2. #2
    Join Date
    Dec 2000
    Location
    La Palma, CA, USA
    Posts
    20

    Star Re: Variable in Priority Path?

    <>
    Yes. %AppDir% is "C:\MSTAR32"

    <>
    Yes. I even checked the box to let me search for my file (wo.db) if SF could not find it, and it opened the Search for File dialog box. I also displayed the value of my variable: %AppDir%.

    However, when I hard-code "C:\MSTAR32" in the Priority Path, SF finds my file.

    It seems that SF does not "expand" my variable %AppDir% in the Priority Path -- perhaps it is just using the literal value.

    TIA for any suggestions.

  3. #3
    Join Date
    Dec 2000
    Location
    La Palma, CA, USA
    Posts
    20

    Grin Variable in Priority Path?

    I want to warn my user "up front" that he will overlay his database file. (Not wait until much later).

    In Settings, Variables, File Search Variables, I type a Priority Path of
    %AppDir%. However, Setup Factory does not find my file, even though it exists. If I hardcode the Priority Path to C:\MSTAR32, then Setup Factory finds my file.

    This is important, since my user may change the value of %AppDir% beforehand.

    Any suggestions?

    Thanks in advance.

    VictorReinhart



    ------------------
    VictorReinhart

  4. #4
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    Re: Variable in Priority Path?

    Hi,

    You might as well hard code the path because the File Search occurs when your installation initializes. So there is no point on using a variable, since the user can never change its value anyways.

    mark.

    MSI Factory The Next Generation Intelligent Setup Builder

Posting Permissions

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