InstallShield partially removes program after cancelling its removal



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I've got an Installscript MSI project that's behaving a bit oddly.



Following a successful installation, if I launch the installation file again, I get a pop-up with a question:



"Do you want to completely remove the selected application and all of its features?"



This, of course, is the expected behaviour.



If I select "No", the "InstallShield Wizard Completed" dialog is displayed, and it notifies me that "The wizard was interrupted before [the application] could be completely installed."



Again, this is all within expected behaviour.



The unexpected bit is that after closing this dialog, the application is partially removed from my machine. The installed files and registry keys are still present, but it no longer appears in Windows' "Apps & features", and if I run the installation file again it starts a new installation, as if the application had never been installed.



I tired enabling maintenance mode, but to no avail. Cancelling the maintenance dialog triggers the same partial removal.



Any clue what's going on here, or ideas to fix this?










share|improve this question






























    0















    I've got an Installscript MSI project that's behaving a bit oddly.



    Following a successful installation, if I launch the installation file again, I get a pop-up with a question:



    "Do you want to completely remove the selected application and all of its features?"



    This, of course, is the expected behaviour.



    If I select "No", the "InstallShield Wizard Completed" dialog is displayed, and it notifies me that "The wizard was interrupted before [the application] could be completely installed."



    Again, this is all within expected behaviour.



    The unexpected bit is that after closing this dialog, the application is partially removed from my machine. The installed files and registry keys are still present, but it no longer appears in Windows' "Apps & features", and if I run the installation file again it starts a new installation, as if the application had never been installed.



    I tired enabling maintenance mode, but to no avail. Cancelling the maintenance dialog triggers the same partial removal.



    Any clue what's going on here, or ideas to fix this?










    share|improve this question


























      0












      0








      0








      I've got an Installscript MSI project that's behaving a bit oddly.



      Following a successful installation, if I launch the installation file again, I get a pop-up with a question:



      "Do you want to completely remove the selected application and all of its features?"



      This, of course, is the expected behaviour.



      If I select "No", the "InstallShield Wizard Completed" dialog is displayed, and it notifies me that "The wizard was interrupted before [the application] could be completely installed."



      Again, this is all within expected behaviour.



      The unexpected bit is that after closing this dialog, the application is partially removed from my machine. The installed files and registry keys are still present, but it no longer appears in Windows' "Apps & features", and if I run the installation file again it starts a new installation, as if the application had never been installed.



      I tired enabling maintenance mode, but to no avail. Cancelling the maintenance dialog triggers the same partial removal.



      Any clue what's going on here, or ideas to fix this?










      share|improve this question
















      I've got an Installscript MSI project that's behaving a bit oddly.



      Following a successful installation, if I launch the installation file again, I get a pop-up with a question:



      "Do you want to completely remove the selected application and all of its features?"



      This, of course, is the expected behaviour.



      If I select "No", the "InstallShield Wizard Completed" dialog is displayed, and it notifies me that "The wizard was interrupted before [the application] could be completely installed."



      Again, this is all within expected behaviour.



      The unexpected bit is that after closing this dialog, the application is partially removed from my machine. The installed files and registry keys are still present, but it no longer appears in Windows' "Apps & features", and if I run the installation file again it starts a new installation, as if the application had never been installed.



      I tired enabling maintenance mode, but to no avail. Cancelling the maintenance dialog triggers the same partial removal.



      Any clue what's going on here, or ideas to fix this?







      installshield installscript installscript-msi






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 '18 at 12:44









      Stein Åsmul

      23.1k1458123




      23.1k1458123










      asked Nov 15 '18 at 17:01









      IdanDeIdanDe

      2115




      2115






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I have also faced this issue when long back I was working on InstallShield scripting.




          The unexpected bit is that after closing this dialog, the application
          is partially removed from my machine. The installed files and registry
          keys are still present, but it no longer appears in Windows' "Apps &
          features",




          Have you implemented the uninstall script functions in your installscript for uninstalling or updating the installation? You may look into these functions and verify the logic for those particular features or components.




          and if I run the installation file again it starts a new installation,
          as if the application had never been installed.




          In the installer folder, where you have your installshield setup.exe, you have TEMP folder in that folder you have "Installation.ini" file, there it tracks the instances it has installed with that particular name.
          So it might be because installshield is removing the entry from installation.ini file and when you are trying to install the same package again you are able to do this.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53324489%2finstallshield-partially-removes-program-after-cancelling-its-removal%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I have also faced this issue when long back I was working on InstallShield scripting.




            The unexpected bit is that after closing this dialog, the application
            is partially removed from my machine. The installed files and registry
            keys are still present, but it no longer appears in Windows' "Apps &
            features",




            Have you implemented the uninstall script functions in your installscript for uninstalling or updating the installation? You may look into these functions and verify the logic for those particular features or components.




            and if I run the installation file again it starts a new installation,
            as if the application had never been installed.




            In the installer folder, where you have your installshield setup.exe, you have TEMP folder in that folder you have "Installation.ini" file, there it tracks the instances it has installed with that particular name.
            So it might be because installshield is removing the entry from installation.ini file and when you are trying to install the same package again you are able to do this.






            share|improve this answer



























              0














              I have also faced this issue when long back I was working on InstallShield scripting.




              The unexpected bit is that after closing this dialog, the application
              is partially removed from my machine. The installed files and registry
              keys are still present, but it no longer appears in Windows' "Apps &
              features",




              Have you implemented the uninstall script functions in your installscript for uninstalling or updating the installation? You may look into these functions and verify the logic for those particular features or components.




              and if I run the installation file again it starts a new installation,
              as if the application had never been installed.




              In the installer folder, where you have your installshield setup.exe, you have TEMP folder in that folder you have "Installation.ini" file, there it tracks the instances it has installed with that particular name.
              So it might be because installshield is removing the entry from installation.ini file and when you are trying to install the same package again you are able to do this.






              share|improve this answer

























                0












                0








                0







                I have also faced this issue when long back I was working on InstallShield scripting.




                The unexpected bit is that after closing this dialog, the application
                is partially removed from my machine. The installed files and registry
                keys are still present, but it no longer appears in Windows' "Apps &
                features",




                Have you implemented the uninstall script functions in your installscript for uninstalling or updating the installation? You may look into these functions and verify the logic for those particular features or components.




                and if I run the installation file again it starts a new installation,
                as if the application had never been installed.




                In the installer folder, where you have your installshield setup.exe, you have TEMP folder in that folder you have "Installation.ini" file, there it tracks the instances it has installed with that particular name.
                So it might be because installshield is removing the entry from installation.ini file and when you are trying to install the same package again you are able to do this.






                share|improve this answer













                I have also faced this issue when long back I was working on InstallShield scripting.




                The unexpected bit is that after closing this dialog, the application
                is partially removed from my machine. The installed files and registry
                keys are still present, but it no longer appears in Windows' "Apps &
                features",




                Have you implemented the uninstall script functions in your installscript for uninstalling or updating the installation? You may look into these functions and verify the logic for those particular features or components.




                and if I run the installation file again it starts a new installation,
                as if the application had never been installed.




                In the installer folder, where you have your installshield setup.exe, you have TEMP folder in that folder you have "Installation.ini" file, there it tracks the instances it has installed with that particular name.
                So it might be because installshield is removing the entry from installation.ini file and when you are trying to install the same package again you are able to do this.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 15 '18 at 17:36









                ironmanironman

                13939




                13939





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53324489%2finstallshield-partially-removes-program-after-cancelling-its-removal%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Use pre created SQLite database for Android project in kotlin

                    Darth Vader #20

                    Ondo