6 Replies Latest reply on Mar 31, 2008 9:11 PM by danpixley

    How do you uninstall programs with SWD?

    Apprentice

       

      How do you create an uninstall distribution package for a package that was distributred through LANDDesk, and built with the Package Builder?  I am having trouble figuring this one out for a Firefox SWD package that was built using the Package Builder.  Under "Install/Uninstall Options" for the distribution package, I selected the "Uninstall" radio button.  I tried using the same package that was biult by the package builder for the Firefox Install package as the main file.  Do I have to build a separate package?  How is this done?

       

       

       

       

       

      Thanks,

       

       

      Dan

       

       

        • 1. Re: How do you uninstall programs with SWD?
          zman Master

          So was the Package Builder Package a snapshot or is it a wrapper for the Firefox Install program? I believe the uninstall option only works when a snapshot is used.  If a wrapper you will need to script it using the uninstall string.

          • 2. Re: How do you uninstall programs with SWD?
            Apprentice

             

            It was a snapshot, I believe.  Also, we have LDMS 8.7 SP5.

             

             

             

             

             

            Thanks,

            Dan

             

             

            • 3. Re: How do you uninstall programs with SWD?
              zman Master

               

              So it sounds like you are on the correct path. When you distribute the scheduled uninstall task what errors are you seeing. Should work as long as the same package was used.  Also, I would only use snapshots as a last resort, too many issues and other better ways to distribute.

               

               

               

               

               

               

               

               

               

               

               

              • 4. Re: How do you uninstall programs with SWD?
                Apprentice

                 

                Here is the log file:

                 

                 

                Processing package : Firefox 2.0.0.12 Uninstall

                Mon, 31 Mar 2008 18:21:25 File (
                server\Mozilla Firefox 2.0 Uninstall.exe) is cached locally

                Mon, 31 Mar 2008 18:21:26 Downloading file
                server\Mozilla Firefox 2.0 Uninstall.exe (adolClHb8XcxBuiQRctWTQ==, 8)

                Mon, 31 Mar 2008 18:21:26 Downloading file 1 of 1 from '\server\Mozilla Firefox 2.0 Uninstall.exe'

                Mon, 31 Mar 2008 18:21:27 ClientThread

                Mon, 31 Mar 2008 18:21:27 PackagePath:     http://\\server\Mozilla Firefox 2.0 Uninstall.exe

                Mon, 31 Mar 2008 18:21:27 PackageGUID:     []

                Mon, 31 Mar 2008 18:21:27 PackageParam:   

                Mon, 31 Mar 2008 18:21:27 File is cached, the local location 'C:\Program Files\LANDesk\LDClient\sdmcache\server\Mozilla Firefox 2.0 Uninstall.exe' will be used

                Mon, 31 Mar 2008 18:21:27 Installing 'C:\Program Files\LANDesk\LDClient\sdmcache\server\Mozilla Firefox 2.0 Uninstall.exe' with the following options ' /An /All'

                Mon, 31 Mar 2008 18:21:27 InstallProc returned 209

                Mon, 31 Mar 2008 18:21:27 AiExitCode = 209

                Mon, 31 Mar 2008 18:21:27 processing of package is complete, result -1917845295 (0x8db000d1 - code 209)

                 

                 

                • 5. Re: How do you uninstall programs with SWD?
                  zman Master

                   

                  I think 209 means uninstall not found. There could be a couple of different issues here. One that we see in our shop with uninstalls is:

                   

                  1. Package is built

                  2. Package is distributed

                  3. Ooops found an issue.

                  4. Package is rebuilt

                  5. Package is distributed.

                  Everytime a package is built the guid is changed so it may be a mismatched guid - install and uninstall have to be the exactly the same.

                  1 of 1 people found this helpful
                  • 6. Re: How do you uninstall programs with SWD?
                    Apprentice

                    That was the problem.

                     

                     

                     

                     

                     

                    Thanks for your help, zman.

                     

                     

                     

                     

                     

                     

                     

                    Dan