Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2003
    Location
    San Jose, CA
    Posts
    21

    Grin Help with File install ordering before registration

    have a few files where one file needs to be installed before the other before the other can be registered (very common I assume).

    So I have:
    - ifile.dll
    - xfile.dll

    xfile.dll needs to be copied into the directory before ifile.dll is registered on the system. It seems like the install ordering is alphabetic but that can't be right. There has to be an easy way to do this that I am just missing.

    Thanks.

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: Help with File install ordering before registration

    I believe they're installed in the order that they are added to the project.

    But if you want full control over the order, just add those two files using actions. That way you can add one, register it, add the other, in exactly the order you want.
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Feb 2003
    Location
    San Jose, CA
    Posts
    21

    Grin Re: Help with File install ordering before registration

    I am having a problem with the registration of a certain file. Here is what I am doing.

    - put ifile.dll in %AppDir%
    - put xfile.dll in %AppDir%

    In AfterInstall Actions I do a Register action on %AppDir%\ifile.dll and this fails with a could not load module. ifile.dll is dependent on xfile.dll being in the same directory (and it is there). If I do this exact same thing using regsvr from the command line all is well.

    Any ideas, what does SF do when you use the register action, is that equivalent to Regsvr32? Could it be a working directory thing?

    Thanks.

  4. #4
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: Help with File install ordering before registration

    That's odd. If all else fails,if it works with regsvr, you could try calling that from Setup Factory (instead of using the built-in action). I think regsvr32 even has a /s command line option to make it run silently.

    AFAIK, the register action does essentially the same thing as regsvr32, although Brett would know for sure.
    --[[ Indigo Rose Software Developer ]]

  5. #5
    Join Date
    Feb 2003
    Location
    San Jose, CA
    Posts
    21

    Re: Help with File install ordering before registration

    Thanks for this, I called over there and support also recommending calling regsvr directly. Works well so far.

    Thanks.

Posting Permissions

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