Announcement

Collapse
No announcement yet.

Uninstall dialog keeps popping up about setup must update files or services...

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

  • Uninstall dialog keeps popping up about setup must update files or services...

    My software includes a service.

    In MSI Factory I create the service and then control it by starting it at Install and Stopping it and Removing it at Uninstall.


    But it seems like it is not stopping because I have the following dialog always popping up at uninstallation.


    How can I fix this?





  • #2
    I would check if I can find a hint in the uninstallation log file. MSI Factory creates a MSI package, and in my tests, I saw that the package has the expected information in the ServiceControl table, a 0x00A1 hex value:

    Click image for larger version

Name:	SCRN-2019-01-21-01.png
Views:	73
Size:	3.9 KB
ID:	302477

    msidbServiceControlEventStart (0x001) + msidbServiceControlEventUninstallStop (0x020) + msidbServiceControlEventUninstallDelete (0x080) = 0x00A1

    The package is processed by Windows Installer, and at this point something may go wrong, and it might be logged in the file. Try to run process your MSI with the "/x /lv logfile.txt" command line, and then check the logfile carefully for possible errors.

    Ulrich

    Comment

    Working...
    X