Announcement

Collapse
No announcement yet.

Help with File install ordering before registration

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

  • 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
    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 ]]

    Comment


    • #3
      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.

      Comment


      • #4
        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 ]]

        Comment


        • #5
          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.

          Comment

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