bibikurosawa / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Feature Request: Silent install #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i would like the installer for my application that depends on dokan to
quietly install dokan. i've managed to get this done by putting dokan.dll,
dokan.sys and mounter.exe into the appropriate locations and then running
dokanctl.exe /i a. this works fine on windows xp and vista x86 but fails on
vista x64 ("mounter install failed", "driver install failed").

would it possible to add a silent install and a silent remove mode to the
dokan installer so i can use the proper intall package instead of this hack?

Original issue reported on code.google.com by jeremiah...@gmail.com on 21 Jun 2009 at 7:24

GoogleCodeExporter commented 9 years ago
please disregard this issue. msi installers provide the requested behavior (it 
seems)
automatically.

i ended up doing the following in my installer:

msiexec /i "$INSTDIR\DokanInstall64.msi" /q /l* "$INSTDIR/dokaninstall.log"
ARPSYSTEMCOMPONENT=1

that installs dokan (64-bit) without showing any ui and logs the results to
dokaninstall.log. the ARPSYSTEMCOMPONENT bit makes sure dokan doesn't show up in
add/remove programs (since it is a necessary sub-component, it can only be 
removed by
removing my app).

Original comment by jeremiah...@gmail.com on 26 Jun 2009 at 11:50

GoogleCodeExporter commented 9 years ago
Now that dokan is using NSIS, just run the following command to silent install 
dokan library:

dokaninstall_053.exe /S

Original comment by rami.abughazaleh@gmail.com on 28 Aug 2010 at 2:02

GoogleCodeExporter commented 9 years ago

Original comment by asa...@gmail.com on 30 Aug 2010 at 2:46

GoogleCodeExporter commented 9 years ago
running "dokaninstall_053.exe /S" does not silently install dokan.
especially in the case when dokan is already installed, when you run the above 
command, you get a dialog that says:

  "Please uninstall the previous version and restart your computer before running this installer"

where can i get the built MSI files so i can install silently with those?

Original comment by acalle...@appliedminds.com on 20 Sep 2010 at 8:23

GoogleCodeExporter commented 9 years ago
It seems that an msi setup installer is no longer being generated for dokan.

I have not tried it, but you should be able to run 
"$PROGRAMFILES32\Dokan\DokanLibrary\DokanUninstall.exe" to uninstall dokan.

You might need to pass it some parameters to silently uninstall and suppress 
the reboot message for exmaple.

Original comment by rami.abughazaleh@gmail.com on 20 Sep 2010 at 8:39