Please explain
a) how exactly you are installing the package. Are you installing the driver to the system by calling InstallDriver() method or installer DLL?
b) what you mean by "didn't see the virtual drive". Where do you expect to see it? Do you check the result that the methods return?

a) I make a setup project with VS2008 and I include the required dll,
when the application start, I use
CallbackFileSystem.InstallDriver(drivarName, mGuid, ref reboot);

and when closing my application I call
CallbackFileSystem.UninstallDriver(mGuid, ref Reboot);

b) I did'nt see it in the Windows Explorer.
always reboot return true ??
It is a fresh machine. (No Debug) application log some data like the Storage created successfully,
mount Media = 5000, Point added successfully, Drive name is Z:

It's not a good idea to install/uninstall the driver from your application each time it's run. While it's possible, in some case you can end up with necessity to reboot the system after installing or uninstalling the driver. Installation/deinstallation should be done by the installer.

If Reboot is set to true, then you *must* reboot, otherwise the driver won't work.

I read the documentation and I didn't find any help.
Your documentation is hard to understand.

As I mentioned before, I creat a simple setup application using VS2008,
In the Detected Dependencies folder, there is a refrence to CBFSNet.dll and its path is C:\Program Files\EldoS\Callback File System\dotNET\NET_20\32bit\CBFSNet.dll.
Also I add the following files to the setup application:
- cbfs.sys
- cbfsinst.dll
- microsoft_vc90_crt_x86.msm
- msvcm90.dll
- VSMntNtf.dll
- VSNetRdr.dll

In the properties there is a Register Property.
with some predefined values: vsdrfDoNotRegister, vsdrfCOM, vsdrfCOMRelativePath, vsdrfCOMSelfReg and vsdrfFont.

1) You need to deploy the driver (cbfs.sys) and install it on the target system using CallbackSystem.InstallDriver() method OR using the installer DLL and it's InstallDriver function. The choice is yours.

2) You need to deploy CBFSNet.dll as described in documentation.

What *exactly* in documentation requires more commenting? Please tell me what part of documentation is not clear for you and we will attempt to extend that topic.

1) You need to deploy the driver (cbfs.sys) and install it on the target system using CallbackSystem.InstallDriver() method OR using the installer DLL and it's InstallDriver function. The choice is yours.

I understand the first part:
1) You need to deploy the driver (cbfs.sys) and install it on the target system using CallbackSystem.InstallDriver() method.

but the second part is confusing me:
OR using the installer DLL and it's InstallDriver function. The choice is yours.
Can you clearify the second choice?

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.