Forum

    • Register
    • Login
    • Search
    • Categories

    InnoSetup Question

    General Questions
    4
    6
    143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanH
      DanH last edited by

      So my Windows account is simply called 'Admin' and I've been creating installers using 'Admin' in the paths to install additional Data files etc in the plugin AppFolder. I'm now guessing this might be the wrong way to do it - I think I assumed 'Admin' was a default setting, but I guess if a user has a different account name then the files won't be going where they should be!

      On OSX you can use '$HOME to get round this - is there a Windows equivalent?

      Thanks

      Matt_SF Y 2 Replies Last reply Reply Quote 0
      • Matt_SF
        Matt_SF @DanH last edited by

        @danh look into Inno setup documentation, you can find a section call 'Constants' IIRC where you can find the constant for the user folder

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        DanH 1 Reply Last reply Reply Quote 0
        • Y
          yall @DanH last edited by

          @danh I think it's something like, %Users%

          1 Reply Last reply Reply Quote 0
          • DanH
            DanH @Matt_SF last edited by

            @matt_sf said in InnoSetup Question:
            Thanks - almost found what I am looking for. In the Inno Docs it has two options:

            {userappdata} & {commonappdata}

            The path to the Application Data folder.
            

            If I use {commonappdata} it doesn't install properly. If I use {userappdata} it works but I get a warning (in InnoSetup) about 'admin' and 'per-user' areas which I think has something to do with being logged in as an Administrator.

            So which method is better to use for general use?

            Dan Korneff 1 Reply Last reply Reply Quote 0
            • Dan Korneff
              Dan Korneff @DanH last edited by

              @danh I'm using userappdata and ignore the admin warning.
              Just give it a test on a couple different rigs to make sure its functioning properly

              Dan Korneff - Producer / Mixer / Audio Nerd

              DanH 1 Reply Last reply Reply Quote 0
              • DanH
                DanH @Dan Korneff last edited by

                @dustbro Thanks mate, this is what I figured, users testing now, cheers!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                5
                Online

                1.2k
                Users

                7.0k
                Topics

                64.8k
                Posts