Announcement

Collapse
No announcement yet.

Automated install and additional configuration file...

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

  • Automated install and additional configuration file...

    Hi !

    I'm trying to perform silent install with additional parameters, like this:

    mysetup.exe" /S:setupvars.ini

    where setupvars.ini contains:

    [SetupValues]
    %AppFolder%=C:\Program Files\Your Product 2


    for some reason installation does not goes into custom folder, only to default folder.

    I'm using Setup Factory 9.5.3.0, is it possible that there is a bug ?

    Can lua scripts customize install so heavily that AppFolder will be ignored ?

  • #2
    mysetup.exe /S:C:\sbolutepath\setupvars.ini

    Apparently does not work with relative paths, only using absolute.

    Comment


    • #3
      So, I tried to work with absolute and relative paths, both didn't work. Perhaps we talked from different things:
      I try to install VC to another directory as %ProgramFiles%, let's say "D:\VC".
      How can I do that? I thought I have to add a .ini file

      Code:
      [SetupValues]
      %ProgramFilesFolder64%=
      D:\VC
      or, as described in your email:

      Code:
      [SetupValues]
      %AppFolder%=D:\VC
      I called it via
      Code:
      KukaSimPro.exe "/S:D:\AzureRepository\setup.ini"
      It executes, but the it installs always to "C:\Program Files\KUKA"

      If I understood you wrong, I'm very sorry (; Hope we find a good solution!

      Comment


      • #4
        Please share the project file.

        Ulrich

        Comment


        • #5
          Tested this bit further. Apparenly installing to custom C:\Program Files does works.

          However - same approach does not work if you try to install to different drive.

          For example I don't seems to have D: drive letter, but I've "managed" to create it using subst command:

          C:\Users\User>mkdir ddrive

          C:\Users\User>subst D: ddrive

          Trying to install to D:\Test1 for example fails.

          OnInstallError
          e_ErrorMsgID:ERR_DRIVE_NOTEXIST
          e_ErrorCode:129

          I guess subst is not supported ?

          Comment


          • #6
            It works fine, as long as the virtual drive (or mapped network drive) is available for the elevated user account as well.

            Ulrich

            Comment

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