dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.21k stars 661 forks source link

Error installing old version of dokan #1070

Closed hyh6611 closed 2 years ago

hyh6611 commented 2 years ago

Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.

Environment

Check List

Description

Hello developers, I installed the latest version of dokan on my computer, and then I found that my software only supports the lower version of dokan (Dokan Library 1.3.0.1000 Bundle), when I uninstalled the latest version of dokan, I Unable to install the old version (Dokan Library 1.3.0.1000 Bundle) dokan with error 0x80070643. 图片 图片

Logs

Dokan_Library_1.3.0.1000_Bundle_20220222102558.log

Liryna commented 2 years ago

Hey @hyh6611 ,

There is an additional installer log in C:\Users\YOUR_USER\AppData\Local\Temp that is needed here to find out what is happening.

hyh6611 commented 2 years ago

@Liryna Sorry dear devs, I searched my temp folder and I deleted everything that might be related, but when I install the version of Dokan Library 1.3.0.1000 Bundle again I still get a prompt, it tells I have a newer version on my computer, but I have uninstalled all versions of dokan

hyh6611 commented 2 years ago

Dokan_Library_1.3.0.1000_Bundle_20220222105928_000_Dokan_x64.msi.log Dokan_Library_1.3.0.1000_Bundle_20220222105928.log

Liryna commented 2 years ago

@hyh6611 Thanks for the logs. Do you remember which version 2 you installed exactly ?

hyh6611 commented 2 years ago

@Liryna Hello, dear developer, I remember that the two versions I installed were 2.0.3.1000 and Dokan Library 1.3.0.1000 Bundle.

hyh6611 commented 2 years ago

@Liryna Hello, I was wondering if my most advanced version was not uninstalled cleanly. But I searched many folders and found no residual files.

Liryna commented 2 years ago

@js69 I am struggling to get the v2 installer to work properly with the v1. I probably missed to change some GUID but I am not sure if they should all be changed or some should stay fixed 😄 . Would you be able to take a look ?

Like uninstalling v2 when v1 is installed just do nothing on my Win 10 x64

js69 commented 2 years ago

Can't look at it in detail at the moment but generally: product code changes with every version, upgrade code should only ever change if it is a software completely independent of all previous versions (i.e. no automatic update from v1.x to v2.x). For us it means all upgrade codes (UpgradeCodeXyy and BundleUpgradeCode) for v2.x need to be set once and then never change until e.g. v3.x. The SetAssemblyVersion tool changes the product code in version.xml but will not touch the upgrade codes.