Is it possible to call the unistaller, as an option (the second option would be: update), from the installer if the programm is already installed?

asked 31 Jul '15, 06:53

amlgm's gravatar image

accept rate: 0%

edited 31 Jul '15, 09:34

You can add the option using a <choiceparameter>:

     <description>Select the installation mode</description>
        <!-- Set upgrade mode in the project -->
             <compareText text="${installMode}" logic="equals" value="upgrade"/>

And the call the uninstaller if the option is "uninstall":

        <programArguments>--mode uanttended</programArguments>
             <compareText text="${installMode}" logic="equals" value="uninstall"/>

answered 03 Aug '15, 11:32

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 31 Jul '15, 06:53

Seen: 584 times

Last updated: 03 Aug '15, 11:32