HISE Logo Forum
    • Categories
    • Register
    • Login

    InnoSetup Question

    Scheduled Pinned Locked Moved General Questions
    6 Posts 4 Posters 255 Views
    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.
    • DanHD
      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

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      Matt_SFM Y 2 Replies Last reply Reply Quote 0
      • Matt_SFM
        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

        DanHD 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
          • DanHD
            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?

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              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

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

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

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                37

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts