9 Replies Latest reply on Dec 19, 2012 9:29 AM by Lawrence Garvin

    Where are attached files stored?

    dkeyser

      I'm attempting to install VNC across a large network and I'm running into an issue where the program gets downloaded and executed correctly but it never executes silently per the command line switches provided. Tested locally and the switches are correct. I can tell its reading the .inf file since all the selections are preselected the way I intend to install the software. I was thinking about bundling the .inf within the package but I'd need to tell the .exe where the .inf is in order to execute the silent install. Not to mention I will need to bundle the registry keys for the passwords into it eventually. So the question is, where are these additional files stored?

       

      As a side note I'm contemplating just pushing a batch file that will pull down the file, execute it with the .inf, run the reg import, and delete the mess afterwards. But I'm looking for something a little easier.

        • Re: Where are attached files stored?
          Lawrence Garvin

          Greetings Doug.

           

          All files transferred via WSUS to the Windows Update Agent are held in an update-specific installation source folder under %windir%\SoftwareDistribution\Download. The actual CAB file is copied into the ~\Download folder and extracted from there.

           

          Generally speaking, if the installer allows for relative pathname references in the command line parameters, then you should only need to indicate that it should use the current folder. It might also be that you need to specify that with dot-backslash notations to explicitly identify the local folder as the source, e.g. .\thisFile.inf.

           

          Finally, there is also an environment variable, %ModulePath% that can be specified that contains the fully qualified pathname of the installation source folder, if relative referencing cannot be used.

          1 of 1 people found this helpful
            • Re: Where are attached files stored?
              dkeyser

              I tried changing the files per your recommendations but now I can't get my test laptop to see the update. Before it would run but now it says it's all up to date no matter how I push the update from Patch Manager.

                • Re: Where are attached files stored?
                  Lawrence Garvin

                  That may be an accurate indication. What are the rules defined in the Installed Ruleset of the package? Are those rules true, or not? What are the rules defined in the Applicability Ruleset of the package? Are those rules true, or not. Whether a package is detected as NotInstalled, NotApplicable, or Installed is a completely separate discussion from the physical files contained within the package.

                    • Re: Where are attached files stored?
                      dkeyser

                      True and if that is the case we can move this to another thread.

                       

                      My rule states that if winvnc.exe does not exist in the c:\program files\uvnc bvba\UltraVNC\ directory then it is applicable. If it does exist it is installed. I have check my test laptop and that director nor the file exists. While viewing the active task I see it hang on wmi for quite some time before giving up. I've tested with wbemtest and I can connect via wmi to that laptop. May be a support request at this juncture.

                • Re: Where are attached files stored?
                  dkeyser

                  One more question about where these files are stored, are they deleted afterwards? It'd be a huge security breach if sensitive information were to be left behind for users to discover.

                    • Re: Where are attached files stored?
                      Lawrence Garvin

                      On the client-side, the files are normally deleted after the update is successfully installed. The ~\SoftwareDistribution\Download folder is auto-maintained by the WUAgent and files are deleted 10 days after they are no longer needed.

                       

                      Since they're stored in the %windir% folder tree, only Administrators would have access.

                       

                      However, in some instances it has been observed that the contents of the Download folder and the WUAgent datastore get 'out of sync'. When this happens, you can simply delete anything found in the Download folder that is >10 days old.

                      1 of 1 people found this helpful