MSI卸载不会删除某些文件

时间:2014-01-28 13:35:45

标签: visual-studio-2010 windows-installer installshield

我正在为我正在开发的解决方案创建一个安装程序,我正在使用visual studio安装程序和InstallShield(用于添加自定义操作)来编辑msi。当我尝试卸载产品时,某些exe文件不会被删除,但它们与删除的文件具有相同的属性。顺便说一句,对于所有组织者,永久选项设置为false。任何帮助表示赞赏

这是日志文件的一部分

MSI (c) (F8:10) [14:17:46:128]: Doing action: FileCost
Action 14:17:46: FileCost. Computing space requirements
Action start 14:17:46: FileCost.
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: MsiAssembly 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: RemoveFile 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: MoveFile 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: DuplicateFile 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: Shortcut 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: Class 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: Extension 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: TypeLib 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: IniFile 3: -2147287038 
MSI (c) (F8:10) [14:17:46:129]: Note: 1: 2262 2: ReserveCost 3: -2147287038 
Action ended 14:17:46: FileCost. Return value 1.

MSI (s) (F8:78) [14:17:52:107]: Doing action: CostFinalize
Action 14:17:52: CostFinalize. Computing space requirements
Action start 14:17:52: CostFinalize.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _D386B34206DC430BB7C8FC35EE7CD517 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _BB8F0E85E8EB46D3B75E324685843D5B property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Out\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Out'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _DC0312A155324971A559AC1EDBFB020D property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Completed\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Completed'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _50114DEFC61246278E4FBF3E7FE6D8BF property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Error\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Error'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _3FC9D2DC44CA49E9A27ACB5A1AE062B1 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Temp\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Temp'.
MSI (s) (F8:78) [14:17:52:108]: PROPERTY CHANGE: Modifying _3F75608690DC4D06BB5E127E1BF68E47 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\In\'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\In'.
MSI (s) (F8:78) [14:17:52:109]: PROPERTY CHANGE: Modifying _9F53607884AD446C9F6CA9D8A00AA91F property. Its current value is 'C:\Program Files (x86)\InterAct ES\Bin\'. Its new value: 'C:\Program Files (x86)\InterAct ES\Bin'.
MSI (s) (F8:78) [14:17:52:109]: Note: 1: 2262 2: Condition 3: -2147287038 
MSI (s) (F8:78) [14:17:52:109]: PROPERTY CHANGE: Modifying _9F53607884AD446C9F6CA9D8A00AA91F property. Its current value is 'C:\Program Files (x86)\InterAct ES\Bin'. Its new value: 'C:\Program Files (x86)\InterAct ES\Bin\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _D386B34206DC430BB7C8FC35EE7CD517 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _3F75608690DC4D06BB5E127E1BF68E47 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\In'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\In\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _3FC9D2DC44CA49E9A27ACB5A1AE062B1 property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Temp'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Temp\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _50114DEFC61246278E4FBF3E7FE6D8BF property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Error'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Error\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _DC0312A155324971A559AC1EDBFB020D property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Completed'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Completed\'.
MSI (s) (F8:78) [14:17:52:110]: PROPERTY CHANGE: Modifying _BB8F0E85E8EB46D3B75E324685843D5B property. Its current value is 'C:\Program Files (x86)\InterAct ES\IAOutlook\Out'. Its new value: 'C:\Program Files (x86)\InterAct ES\IAOutlook\Out\'.
MSI (s) (F8:78) [14:17:52:110]: Target path resolution complete. Dumping Directory table...
MSI (s) (F8:78) [14:17:52:110]: Note: target paths subject to change (via custom actions or browsing)
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: TARGETDIR    , Object: C:\Program Files (x86)\InterAct ES\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: WindowsFolder    , Object: C:\Windows\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: INSTALLDIR   , Object: C:\Program Files (x86)\InterAct ES\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: ProgramMenuFolder    , Object: C:\Users\HediNaily\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: DesktopFolder    , Object: C:\Users\HediNaily\Desktop\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _9F53607884AD446C9F6CA9D8A00AA91F    , Object: C:\Program Files (x86)\InterAct ES\Bin\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _603BE8AC6CBF4B45A8A357ABE3D72FE7    , Object: C:\Program Files (x86)\InterAct ES\Res\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _D386B34206DC430BB7C8FC35EE7CD517    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _3F75608690DC4D06BB5E127E1BF68E47    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\In\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _3FC9D2DC44CA49E9A27ACB5A1AE062B1    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\Temp\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _50114DEFC61246278E4FBF3E7FE6D8BF    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\Error\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _4BFE245203E14C3CA0DE6AD466BBE645    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\InProgress\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _DC0312A155324971A559AC1EDBFB020D    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\Completed\
MSI (s) (F8:78) [14:17:52:110]: Dir (target): Key: _BB8F0E85E8EB46D3B75E324685843D5B    , Object: C:\Program Files (x86)\InterAct ES\IAOutlook\Out\
MSI (s) (F8:78) [14:17:52:110]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\Bin\IAOutlookMonitor.exe' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:111]: Disallowing uninstallation of component: {D41F027D-4BDD-A7F1-A210-7FA300376514} since another client exists
MSI (s) (F8:78) [14:17:52:111]: Disallowing uninstallation of component: {14435CD0-B5A7-0BC2-5994-728FF0CB28DD} since another client exists
MSI (s) (F8:78) [14:17:52:111]: Disallowing uninstallation of component: {2D5F4F86-4E18-3DE2-22A6-B0C0C2CD6E41} since another client exists
MSI (s) (F8:78) [14:17:52:111]: Disallowing uninstallation of component: {2D5F4F86-4E18-3DE2-22A6-B0C0C2CD6E41} since another client exists
MSI (s) (F8:78) [14:17:52:112]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\In\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:112]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\Temp\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:112]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\Error\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:112]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\Completed\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:113]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\Out\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (F8:78) [14:17:52:113]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\InterAct ES\IAOutlook\' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
Action ended 14:17:52: CostFinalize. Return value 1.
        Action 14:18:17: RemoveFiles. Removing files
    MSI (s) (F8:78) [14:18:17:057]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=175000)
    MSI (s) (F8:78) [14:18:17:057]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\InterAct ES\Bin\)
    MSI (s) (F8:78) [14:18:17:057]: Executing op: FileRemove(,FileName=IAOutlookMonitor.exe,,ComponentId={52C4741B-8A8C-03CF-F66A-5A5ABA54A703})
    RemoveFiles: File: IAOutlookMonitor.exe, Directory: C:\Program Files (x86)\InterAct ES\Bin\
    MSI (s) (F8:78) [14:18:17:059]: Verifying accessibility of file: IAOutlookMonitor.exe
    MSI (s) (F8:78) [14:18:17:075]: Executing op: ActionStart(Name=RemoveFolders,Description=Removing folders,Template=Folder: [1])
    Action 14:18:17: RemoveFolders. Removing folders
...

1 个答案:

答案 0 :(得分:0)

记录卸载并通读它。您可能具有引用计数和/或组件规则违规,导致Windows Installer将文件保持在谨慎状态。