7 Replies Latest reply on Apr 8, 2009 5:27 AM by Chunick

    Director and Vista

    Scotty T.H.

      Hi all,

      Does anyone know of any bugs when playing Director MX04 movies on Vista machines? ...or with the BuddyAPI and FileIO Xtras on Vista machines?

      Cheers.

        • 1. Re: Director and Vista
          Sean_Wilson Adobe Community Professional

          No "bugs" that I know of, aside from pilot error in misunderstanding the UAC and limited user issues. As long as you're careful about where you chose to place user-created files you shouldn't have any problems, but perhaps you could explain what your projector does and if it interacts with the local file system at all.

          • 2. Re: Director and Vista
            Scotty T.H. Level 1

            Hi Sean,

            I create a folder and copy files into this folder either in Program Files for PC or Applications for Mac. Works well for Windows 2000 to XP and Mac OSX.

            A client using Vista is having difficulty but is unclear as to exactly what is happening. I'm thinking it may simply be permissions.

             

             

             

            This is code I use to detect the platform and create the folder:




              if the platform contains "Mac" then
                filePath = baSysFolder("apps") & gFolder
              end if


              if the platform contains "Windows" then
                filePath = baSysFolder("program files") & gFolder
              end if

             

             

            This is the code I use to save files into the folder:

             

            CDdrive = (the moviePath) & "FileDir" 
             
              set copyFrom = CDdrive  
              set copyTo = field ("SaveTo")
              cursor 4
              set checkStatus = baXCopy(copyFrom, copyTo, "*.*", "Always", false)
              if checkStatus = 0 then
                delete line 1 of member "ExField"
              end if

            • 3. Re: Director and Vista
              Sean_Wilson Adobe Community Professional

              Scotty T.H. wrote:


              I'm thinking it may simply be permissions.

               

              I think you're probably right. You can test with Buddy API whether you are running on Vista (and thence if your user is limited and virtualised) and decide what to do based on this. You can also embed a manifest file into your projector that is supposed to elevate its privileges.

              1 person found this helpful
              • 4. Re: Director and Vista
                Scotty T.H. Level 1

                How do I test for Vista and how do I embed a manifest file to elevate the projectors privileges? This would be a great help!

                • 5. Re: Director and Vista
                  Sean_Wilson Adobe Community Professional

                  You'd test for Vista using baVersion("os") and/or baVersion("nt"), and Gary has a TN about manifest files here

                  1 person found this helpful
                  • 6. Re: Director and Vista
                    Scotty T.H. Level 1

                    Thanks a bunch. You've been very helpful.

                    Cheers

                    • 7. Re: Director and Vista
                      Chunick Level 3

                      Just make sure that if your app has any preference files, etc. that you write to for your program that you copy/save those files to the AppData folder for Vista. It will be the one associated to the current user, ie. C:\Users\<User Name>\AppData\ either in the 'Local' or 'Roaming' folder... the newest version of buddyAPI can probably get that folder for you.