keybase / keybase/keybase-issues
can't uninstall or reinstall Dokan
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
windows server 2016 datacenter
If I run the dokan installer with /uninstall, it completes without reporting any errors. If I then reboot and try to run the installer again, it fails with:
error 0x80070666 - another version of this product is already installed
dokan installer log:
`[2648:1098][2020-02-04T12:26:26]i001: Burn v3.11.1.2318, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Windows\Temp\{6D16F8D6-8DAD-4259-A459-9027DF08AAF2}\.cr\DokanSetup_redist.exe
[2648:1098][2020-02-04T12:26:26]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles6432Folder]Dokan\Dokan Library-1.2.2'
[2648:1098][2020-02-04T12:26:26]i000: Initializing numeric variable 'DevFilesCheckbox' to value '1'
[2648:1098][2020-02-04T12:26:26]i009: Command Line: '-burn.clean.room=C:\Users\jondiercks_adm\AppData\Local\Keybase\DokanSetup_redist.exe -burn.filehandle.attached=496 -burn.filehandle.self=492'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\jondiercks_adm\AppData\Local\Keybase\DokanSetup_redist.exe'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\jondiercks_adm\AppData\Local\Keybase\'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'WixBundleLog' to value 'C:\SESSIO~1\JONDIE~1\Dokan_Library_1.2.2.1000_Bundle_20200204122626.log'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'WixBundleName' to value 'Dokan Library 1.2.2.1000 Bundle'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'WixBundleManufacturer' to value 'Dokany Project'
[2648:2660][2020-02-04T12:26:26]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2648:2660][2020-02-04T12:26:26]i000: Setting version variable 'WixBundleFileVersion' to value '1.2.2.1000'
[2648:1098][2020-02-04T12:26:26]i100: Detect begin, 4 packages
[2648:1098][2020-02-04T12:26:26]i000: Setting version variable 'ADVAPIVERSION' to value '10.0.14393.2515'
[2648:1098][2020-02-04T12:26:26]i000: Setting version variable 'UCRTVERSION' to value '10.0.14393.2999'
[2648:1098][2020-02-04T12:26:26]i000: Setting version variable 'UCRTVERSION64' to value '10.0.14393.2999'
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'vcredist_2017_x64_installed' to value '1'
[2648:1098][2020-02-04T12:26:26]i000: Setting numeric variable 'vcredist_2017_x64_version' to value 1
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'vcredist_2017_x64_versionnumber' to value '14.22.27821'
[2648:1098][2020-02-04T12:26:26]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\RuntimeMinimum'
[2648:1098][2020-02-04T12:26:26]i000: Setting numeric variable 'vcredist_2017_x86_version' to value 1
[2648:1098][2020-02-04T12:26:26]i000: Setting string variable 'vcredist_2017_x86_versionnumber' to value '14.22.27821'
[2648:1098][2020-02-04T12:26:26]i000: Setting version variable 'WINTRUSTVERSION' to value '10.0.14393.2791'
[2648:1098][2020-02-04T12:26:26]i052: Condition 'vcredist_2017_x86_installed AND vcredist_2017_x86_version AND vcredist_2017_x86_versionnumber >= v14.11.25325' evaluates to false.
[2648:1098][2020-02-04T12:26:26]i052: Condition 'vcredist_2017_x64_installed AND vcredist_2017_x64_version AND vcredist_2017_x64_versionnumber >= v14.11.25325' evaluates to true.
[2648:1098][2020-02-04T12:26:26]i101: Detected package: vcredist_2017_x86.exe, state: Absent, cached: None
[2648:1098][2020-02-04T12:26:26]i101: Detected package: vcredist_2017_x64.exe, state: Present, cached: None
[2648:1098][2020-02-04T12:26:26]i101: Detected package: Dokan_x86.msi, state: Absent, cached: None
[2648:1098][2020-02-04T12:26:26]i101: Detected package: Dokan_x64.msi, state: Absent, cached: Complete
[2648:1098][2020-02-04T12:26:26]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ServicePackLevel >= 1)' evaluates to true.
[2648:1098][2020-02-04T12:26:26]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ((WINTRUSTVERSION >= v6.1.7601.18741 AND WINTRUSTVERSION < v6.1.7601.22000) OR WINTRUSTVERSION >= v6.1.7601.22948))' evaluates to true.
[2648:1098][2020-02-04T12:26:26]i199: Detect complete, result: 0x0
[2648:2660][2020-02-04T12:26:30]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[2648:1098][2020-02-04T12:26:30]i200: Plan begin, 4 packages, action: Install
[2648:1098][2020-02-04T12:26:30]w321: Skipping dependency registration on package with no dependency providers: vcredist_2017_x86.exe
[2648:1098][2020-02-04T12:26:30]i000: Setting string variable 'WixBundleLog_vcredist_2017_x86.exe' to value 'C:\SESSIO~1\JONDIE~1\Dokan_Library_1.2.2.1000_Bundle_20200204122626_000_vcredist_2017_x86.exe.log'
[2648:1098][2020-02-04T12:26:30]i052: Condition 'VersionNT64' evaluates to true.
[2648:1098][2020-02-04T12:26:30]w321: Skipping dependency registration on package with no dependency providers: vcredist_2017_x64.exe
[2648:1098][2020-02-04T12:26:30]i052: Condition 'NOT VersionNT64' evaluates to false.
[2648:1098][2020-02-04T12:26:30]i052: Condition 'VersionNT64' evaluates to true.
[2648:1098][2020-02-04T12:26:30]i000: Setting string variable 'WixBundleRollbackLog_Dokan_x64.msi' to value 'C:\SESSIO~1\JONDIE~1\Dokan_Library_1.2.2.1000_Bundle_20200204122626_001_Dokan_x64.msi_rollback.log'
[2648:1098][2020-02-04T12:26:30]i000: Setting string variable 'WixBundleLog_Dokan_x64.msi' to value 'C:\SESSIO~1\JONDIE~1\Dokan_Library_1.2.2.1000_Bundle_20200204122626_001_Dokan_x64.msi.log'
[2648:1098][2020-02-04T12:26:30]i201: Planned package: vcredist_2017_x86.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[2648:1098][2020-02-04T12:26:30]i201: Planned package: vcredist_2017_x64.exe, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2648:1098][2020-02-04T12:26:30]i201: Planned package: Dokan_x86.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2648:1098][2020-02-04T12:26:30]i201: Planned package: Dokan_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[2648:1098][2020-02-04T12:26:30]i299: Plan complete, result: 0x0
[2648:1098][2020-02-04T12:26:30]i300: Apply begin
[2648:1098][2020-02-04T12:26:30]i010: Launching elevated engine process.
[2648:1098][2020-02-04T12:26:30]i011: Launched elevated engine process.
[2648:1098][2020-02-04T12:26:31]i012: Connected to elevated engine.
[27A4:2578][2020-02-04T12:26:31]i358: Pausing automatic updates.
[27A4:2578][2020-02-04T12:26:31]i359: Paused automatic updates.
[27A4:2578][2020-02-04T12:26:31]i360: Creating a system restore point.
[27A4:2578][2020-02-04T12:26:31]i362: System restore disabled, system restore point not created.
[27A4:2578][2020-02-04T12:26:31]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{926ca734-e343-434b-904d-e8b372e32c97}, options: 0x7, disable resume: No
[27A4:2578][2020-02-04T12:26:31]i000: Caching bundle from: 'C:\Windows\Temp\{D0D3EB68-2BB3-4A5C-979B-05933333CBB2}\.be\DokanSetup.exe' to: 'C:\ProgramData\Package Cache\{926ca734-e343-434b-904d-e8b372e32c97}\DokanSetup.exe'
[27A4:2578][2020-02-04T12:26:31]i320: Registering bundle dependency provider: {5F030BFA-CE6E-408A-9694-F593B319DBBE}, version: 1.2.2.1000
[27A4:2578][2020-02-04T12:26:31]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{926ca734-e343-434b-904d-e8b372e32c97}, resume: Active, restart initiated: No, disable resume: No
[27A4:26FC][2020-02-04T12:26:31]i305: Verified acquired payload: vcredist_2017_x86.exe at path: C:\ProgramData\Package Cache\.unverified\vcredist_2017_x86.exe, moving to: C:\ProgramData\Package Cache\370583C380C26064885289037380AF7D8D5F4E81\vc_redist.x86.exe.
[27A4:26FC][2020-02-04T12:26:31]i304: Verified existing payload: Dokan_x64.msi at path: C:\ProgramData\Package Cache\{65A3A964-3DC3-0102-0002-190308152204}v1.2.2.1000\Dokan_x64.msi.
[27A4:2578][2020-02-04T12:26:31]i301: Applying execute package: vcredist_2017_x86.exe, action: Install, path: C:\ProgramData\Package Cache\370583C380C26064885289037380AF7D8D5F4E81\vc_redist.x86.exe, arguments: '"C:\ProgramData\Package Cache\370583C380C26064885289037380AF7D8D5F4E81\vc_redist.x86.exe" /norestart /q /chainingpackage ADMINDEPLOYMENT'
[27A4:2578][2020-02-04T12:26:32]e000: Error 0x80070666: Process returned error: 0x666
[27A4:2578][2020-02-04T12:26:32]e000: Error 0x80070666: Failed to execute EXE package.
[2648:1098][2020-02-04T12:26:32]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[2648:1098][2020-02-04T12:26:32]i319: Applied execute package: vcredist_2017_x86.exe, result: 0x80070666, restart: None
[2648:1098][2020-02-04T12:26:32]e000: Error 0x80070666: Failed to execute EXE package.
[27A4:2578][2020-02-04T12:26:32]i351: Removing cached package: vcredist_2017_x86.exe, from path: C:\ProgramData\Package Cache\370583C380C26064885289037380AF7D8D5F4E81\
[27A4:2578][2020-02-04T12:26:32]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{926ca734-e343-434b-904d-e8b372e32c97}, resume: None, restart: None, disable resume: No
[27A4:2578][2020-02-04T12:26:32]i330: Removed bundle dependency provider: {5F030BFA-CE6E-408A-9694-F593B319DBBE}
[27A4:2578][2020-02-04T12:26:32]i352: Removing cached bundle: {926ca734-e343-434b-904d-e8b372e32c97}, from path: C:\ProgramData\Package Cache\{926ca734-e343-434b-904d-e8b372e32c97}\
[27A4:2578][2020-02-04T12:26:32]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{926ca734-e343-434b-904d-e8b372e32c97}, resume: None, restart initiated: No, disable resume: No
[2648:1098][2020-02-04T12:26:32]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No
`
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository files or tests are named; start by reproducing the uninstall and reinstall sequence on Windows Server 2016 and inspect the Dokan installer log, especially the Visual C++ redistributable step returning 0x80070666. Done means the installer can uninstall Dokan and then reinstall it successfully without reporting that another product version is already installed.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100