Menu

#765 WebSite won't uninstall if IIS is disabled

v2.0
closed
candle (347)
2012-09-15
2007-01-09
Chad
No

Our test team discovered that the action for removing a website fails if IIS gets disabled. We believe that uninstallation should always be allowed to proceed. Even if there is a failure, the uninstallation actions should make a best-effort to remove the product.

Repro steps:
1) Create a WIX file with the WebSite element.
2) Build the MSI.
3) Install the MSI.
4) Go to Add or Remove Programs
5) Click on Add/Remove Windows Components
6) Clear the check next to Application Server
7) Try to uninstall the MSI.
8) An error dialog will complain that, "World Wide Web Publishing Service (W3SVC) is either not installed or disabled. Please make sure that IIS is present on the computer."

Discussion

  • Chad

    Chad - 2007-01-09

    Logged In: YES
    user_id=1686847
    Originator: YES

    I am using version 2.0.3419.0 of candle.

     
  • Rob Mensching

    Rob Mensching - 2007-02-09

    Logged In: YES
    user_id=991639
    Originator: NO

    That error message does not come from the WiX toolset. On uninstall you will get prompted saying that IIS cannot be contacted (just like when installing without IIS installed). If you click the Ignore button, then the uninstall will continue.

    This isn't a superior user experience (the dialog is a little ugly) but is functional. We can improve the CustomAction behaviour further in WiX v3.

     
MongoDB Logo MongoDB