We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

confounded
Posts: 4
Joined: Mon Oct 21, 2019 12:30 pm

Issue with uninstall of web server project

Hi there,

I am trying to silently uninstall a web server (allowing multiple instances) project silently and am running into an issue.

I store my app pool name and product code in the registry and then in a powershell script search for them and pass them into the uninstaller using msiexec. For example

Code: Select all

msiexec SITE_NAME="sitename", APP_POOL_NAME="apppool1" /x {product code I found in registry} /qn /L*V logname.log
I also pass in the app pool name and site name so I can manually remove the site files and app pool using a powershell custom action in the uninstaller.

So most of it seems to work but the uninstaller itself actually fails with a strange error.

Code: Select all

MSI (s) (E4:7C) [17:20:38:768]: Note: 1: 1725
MSI (s) (E4:7C) [17:20:38:768]: Product: Test Web Server -- Removal failed.

MSI (s) (E4:7C) [17:20:38:768]: Windows Installer removed the product. Product Name: Test  Web Server. Product Version: 19.2.7.0. Product Language: 2057. Manufacturer: manufacturer_name. Removal success or error status: 1603.

MSI (s) (E4:7C) [17:20:38:768]: Attempting to delete file C:\WINDOWS\Installer\1947915c.mst
MSI (s) (E4:7C) [17:20:38:771]: Deferring clean up of packages/files, if any exist
MSI (s) (E4:7C) [17:20:38:771]: Attempting to delete file C:\WINDOWS\Installer\1947915c.mst
MSI (s) (E4:7C) [17:20:38:771]: Unable to delete the file outside of the engine. LastError = 2
MSI (s) (E4:7C) [17:20:38:771]: MainEngineThread is returning 1603
MSI (s) (E4:60) [17:20:38:773]: RESTART MANAGER: Session closed.
MSI (s) (E4:60) [17:20:38:773]: No System Restore sequence number for this installation.
=== Logging stopped: 28/10/2019  17:20:38 ===
MSI (s) (E4:60) [17:20:38:776]: User policy value 'DisableRollback' is 0
MSI (s) (E4:60) [17:20:38:776]: Machine policy value 'DisableRollback' is 0
MSI (s) (E4:60) [17:20:38:776]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (E4:60) [17:20:38:776]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E4:60) [17:20:38:776]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E4:60) [17:20:38:777]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (E4:60) [17:20:38:777]: Destroying RemoteAPI object.
MSI (s) (E4:C4) [17:20:38:777]: Custom Action Manager thread ending.
MSI (c) (1C:D8) [17:20:38:778]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (1C:D8) [17:20:38:779]: MainEngineThread is returning 1603
=== Verbose logging stopped: 28/10/2019  17:20:38 ===
I am a bit confused and any help would be greatly appreciated.

Thanks.
Robert.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Issue with uninstall of web server project

Hi Robert,

In order to find why this fails, please send us a full uninstall log to support at advancedinstaller dot com.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”