cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
enGenius
Level 4

Uninstall Hangs

Project Type: Install Script

When I click the cancel button during the Installation Dialogue (or move data event):
1. I am prompted with "Are you sure want to exit?".
2. After clicking yes
3. The UninstallingFile and UninstalledFile events are called.
4. The Finish Dialogue is displayed

However the process hangs. The Finish Dialogue does not go away. I am forced to manually kill the setup.exe process.

What can I do to debug or resolve this issue?
Labels (1)
0 Kudos
(1) Reply
enGenius
Level 4

I found what caused the issue. I was deploying a feature which contained a .msm package for SQLSMO deployment. If the user cancled the install during the installation phase of the setup, the uninstall could not procress the SQLSMO .msm package. I simply removed the .msm and its feature replacing it with a call to an .msi file to install SQLSMO.
0 Kudos