Announcement

Collapse
No announcement yet.

Enable/Disable Uninstall Creation via Code during Installation

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

  • Enable/Disable Uninstall Creation via Code during Installation

    I have an install that by default creates an uninstall. Is there a way I can, via script, disable the creation of the uninstall - that would include the uninstall file(s) and registration of the program in the control panel.

    I'll be doing this based on certain user-selected options.

    My scenario? Installer can install/update application and database. User may choose to run it to ONLY install/update the database. In that case, I don't want to generate an uninstall.

    Thanks.

    Greg

  • #2
    You can use ​
    Code:
    ​_InstallStages["CreateUninstall"] = false;
    ​ ​in the On Pre Install event script or earlier to prevent the creation of the uninstall.

    Ulrich

    Comment

    Working...
    X