Announcement

Collapse
No announcement yet.

[SF6]Uninstall only several packages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SF6]Uninstall only several packages

    How to uninstall only several packages in my uninstallation procedure ?
    I've the impression that it have not been implemented (?!?)
    I hope I am mistaken because SF is a powerful tool

  • #2
    Re: [SF6]Uninstall only several packages

    Hi,

    Perhaps you could describe your problem in more detail. When you say "packages" do you mean the packages created in Setup Factory or different (separate) installations? Why would you only want to uninstall certain packages? Do you want to leave certain files on your user's system? Or do you want to give them a choice when they run your uninstallation?

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: [SF6]Uninstall only several packages

      I saw that this question was never answered, and I have a question along the same lines. I have a Installation with multiple packages (each being an application), but the reason why they are combined into one Setup Program is because the packages share common installation procedures (i.e. 2 out of 10 packages may share a dll, or other files, etc.). So during the Uninstall, I want the show the Package Screen to the user asking him to select which Packages to uninstall based on what he already installed on the system. Is that possible? Thanks in advance for your help.

      Comment


      • #4
        Re: [SF6]Uninstall only several packages

        Related Post:
        Check out "Uninstall Features" post by Vortex in the Suggest New Features board.

        LochWar

        http://www.indigorose.com/ubbthreads...o=0&fpart=

        Comment


        • #5
          Re: [SF6]Uninstall only several packages

          Ok.. Let's say that I take that approach suggested in that article, and create "SETUP B" to aid in uninstallation process of "SETUP A". But that raises the following issue:

          Issue:
          I want to trigger "SETUP B" when the user tries to uninstall the "SETUP A" from Control Panel. Assuming I add code to RUN "SETUP B" in the Uninstall section of the "SETUP A", and then issue the "Abort Setup" command, so that Uninstall for "SETUP A" does not remove all components as it is designed to do, it will still leave the application name in the "Add Remove Programs" in Control Panel.. How do remove that entry from there?

          There should be an easier solution that what is suggested. Can anyone help?

          Thanks again,
          Praveen

          Comment


          • #6
            Re: [SF6]Uninstall only several packages

            I have several packages in the main install program, for which during uninstallation I want the user to chose which package to uninstall. In the earlier posts I was told to write a separate uninstall program and turn off the Uninstall option in the main setup program. All that is fine, but by doing so it no longer shows up as an entry in the "Add Remove Programs" in Control Panel. My customer is expecting to see something there and trigger the uninstall from there... How do I do this?? Are there any reg hacks? Please help!

            Comment


            • #7
              Re: [SF6]Uninstall only several packages

              What I did was create a "Wrapper" or main package that then calls the individual Setup packages. I even have three "third party" setup packages that are called in this manner. When you do it this way, each one has it's own "uninstall" entry in the add/remove programs Control Panel applet. You can then turn off the Uninstall for the "wrapper" package and all of the sub-packages will take care of their own uninstall entry.

              If you need to, set the sub-packages to be "silent" installs and use the wrapper package to gather all the user entered information and pass said information via registry/files/parameters when it calls the individual sub-packages.

              If you do it correctly, the user doesn't get any screens from the sub-packages and/or doesn't realize it is a different setup program.

              Set %ShowActionProgressDlg% to FALSE to turn off the "wrapper" package screen before you launch the sub-package. Set it to TRUE to turn the wrapper screen back on.

              Remember to use "/W" on the command line for the SUF packages so they won't return immediately and check the "Wait for program to finish running before continuing" box on the "Execute File" dialog.

              Hope that helps,
              LochWar

              Comment

              Working...
              X