Deploy Dokany via Microsoft Store

99 views
Skip to first unread message

Tim Parth

unread,
Aug 3, 2020, 7:01:11 AM8/3/20
to Dokan
Hi all,

I've built a UWP-app for the Microsoft Store that successfully works together with dokany. The only problem left is that I need to install Dokany together with the Store-App using APPX-Packages.

Does anybody know a way how to do this? 

Or asked the other way round - does it "last" to only deploy the "dokan1.dll" into the SystemFolder and to put the dokan1.sys into the drivers-folder? Would that be enough to consider it "installed" or would I need the other files menthioner here, too? https://github.com/dokan-dev/dokany/wiki/Installation
I'm thinking about simply placing them there from my app if they are not there yet, but I'm not sure if there has to be done more to install the Dokany-Driver but I assume there is.

Thank you!

Kind regards,

TopperDEL

Adrien JUND

unread,
Aug 3, 2020, 7:35:24 AM8/3/20
to do...@googlegroups.com
Hi,

Copie of the files will not be enough. You will need to register the driver and start it. There is different ways to do:

Using the driver inf file. Maybe such type of packages support driver installation. 

Or if you can run a command, you can use dokan control that is calling :

Or Can you use the msi?

In case that possible, you can also contribute an appx package for dokan if that exist as dependency. 

Best regards 
Liryna 


--
You received this message because you are subscribed to the Google Groups "Dokan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dokan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dokan/581ed664-8796-4e5c-8217-20d1ce623669o%40googlegroups.com.

Tim Parth

unread,
Aug 3, 2020, 8:18:38 AM8/3/20
to Dokan

Hi Liryna,

 

thank you for your quick reply! Unfortunately it seems there is no way to install a driver from a normal Microsoft Store App. An I even cannot force the installation of an external MSI-package.

 

I need that driver installed in the system, right? There is no way of starting it only if my app runs by manually starting/installing it?

The mount.c-file you’ve referenced – how would I be able to call it? My app – though being a sandboxed UWP-app – has a Full-Trust-WIN32-app attached to it (to show some info in the task try) – so technically I can do everything on the user-computer. So if there is a way to install the driver from the WIN32-part of my app, that might be the way to go. I just don’t know where to start.

 

I already tried to deploy the Dokany-Redit-MSI from my app – that technically worked, but Microsoft did not approve it for the store as my app is then seend as just an installer for another app. And I would not be able to uninstall dokany if my app gets uninstalled.

 

Thank you!

 

Regards,

 

Tim

To unsubscribe from this group and stop receiving emails from it, send an email to do...@googlegroups.com.

Adrien JUND

unread,
Aug 3, 2020, 11:47:36 AM8/3/20
to do...@googlegroups.com
Thanks for the explanation.

Unfortunately there is no way to make it run like a simple app. The drive is a core component. 

Seems like using mount.c or have the same logic in your app would be the only way but might not be the sable one. As you might face issues like how to remove the driver and such. I do not know much about such packages enough to give more recommendations.

Best regards 
Liryna 

To unsubscribe from this group and stop receiving emails from it, send an email to dokan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dokan/c0fb3df3-bd73-4f39-9139-763b6fdeceddo%40googlegroups.com.

Tim Parth

unread,
Aug 4, 2020, 2:31:26 AM8/4/20
to Dokan

I’ll try to install the dokan service from my full trust app – let’s see if that works. Otherwise I need the user to download and install dokan manually and leave the app unusable until it is installed.

 

Thank you Liryna!

 

Kind regards,

 

Tim

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages