cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Simon_Yang
Level 6

Uninstall hangs in Vista.

I created an MSI basic project. In a subfolder of my install folder, I had 50000 small files. Everytime when I unintall it on Vista, Windows Installer hangs. From uninstall log, I saw it pended on action InstallValidate. Below is uninstall log:

=== Logging started: 6/30/2008 15:11:48 ===
Action start 15:11:48: INSTALL.
Action start 15:11:48: ProgramFilesFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4.
Action ended 15:11:48: ProgramFilesFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4. Return value 1.
Action start 15:11:48: SystemFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4.
Action ended 15:11:48: SystemFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4. Return value 1.
Action start 15:11:48: CommonFilesFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4.
Action ended 15:11:48: CommonFilesFolder.3D7EE81C_0DF7_41FC_9D93_26CE02C6EFA4. Return value 1.
Action start 15:11:48: ISSetupFilesExtract.
1: Starting to extract setup files
1: Getting SUPPORTDIR property :
1: Extracting SetupFiles to: C:\Users\admin\AppData\Local\Temp\{E0B45ED5-66D4-4EF1-B2AB-DAC701AC9CD2}
1: Getting ISSetupFile table view
1: Executing ISSetupFile table view
1: Extracting Setup File:
1: C:\Users\admin\AppData\Local\Temp\{E0B45ED5-66D4-4EF1-B2AB-DAC701AC9CD2}\License.rtf
1: Setting SUPPORTDIR property to: C:\Users\admin\AppData\Local\Temp\{E0B45ED5-66D4-4EF1-B2AB-DAC701AC9CD2}
1: Setting ISSETUPFILESCOMPLETED property
Action ended 15:11:49: ISSetupFilesExtract. Return value 1.
Action start 15:11:49: AppSearch.
Action ended 15:11:49: AppSearch. Return value 0.
Action start 15:11:49: FindRelatedProducts.
Action ended 15:11:49: FindRelatedProducts. Return value 0.
Action start 15:11:49: UninstallControl.
Action ended 15:11:49: UninstallControl. Return value 1.
Action start 15:11:49: ValidateProductID.
Action ended 15:11:49: ValidateProductID. Return value 1.
Action start 15:11:49: SetReboot.
Action ended 15:11:49: SetReboot. Return value 1.
Action start 15:11:49: CostInitialize.
Action ended 15:11:49: CostInitialize. Return value 1.
Action start 15:11:49: FileCost.
Action ended 15:11:49: FileCost. Return value 1.
Action start 15:11:49: IsolateComponents.
Action ended 15:11:49: IsolateComponents. Return value 0.
Action start 15:11:49: SetlConfigDir.
Action ended 15:11:49: SetlConfigDir. Return value 1.
Action start 15:11:49: SetInstallDir.
Action ended 15:11:49: SetInstallDir. Return value 1.
Action start 15:11:49: CostFinalize.
Action ended 15:11:49: CostFinalize. Return value 1.
Action start 15:11:49: SetODBCFolders.
Action ended 15:11:49: SetODBCFolders. Return value 0.
Action start 15:11:49: StopDser.
Action ended 15:11:49: StopDser. Return value 1.
Action start 15:11:49: MigrateFeatureStates.
Action ended 15:11:49: MigrateFeatureStates. Return value 0.
Action start 15:11:49: InstallValidate.

This behavior never happened in WinXP.
Anyone has idea about this?
Thanks in advance!
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

InstallValidate is a standard Windows Installer action. One task that it performs is checking to see if any files included in the install/uninstall are in use. With 50,000 files, this may take quite a while (on Vista, more is involved than what would appear to be a simple in-use check, possibly due to the changes for the Restart Manager support).

Since this action is built in to Windows Installer, we do not have any control over how it operates, nor can we determine exactly why it is taking so long. You may try contacting Microsoft for further assistance with this behavior.
0 Kudos
Simon_Yang
Level 6

Thanks for reply!
0 Kudos