Hello. I have written mini bat file to help migrating from owncloud client to nextcloud. Maybe someone will help it usefull:
if exist "C:\Program Files (x86)\ownCloud\uninstall.exe" ("C:\Program Files (x86)\ownCloud\uninstall.exe" /S) else ( if exist "c:\Program Files\ownCloud\uninstall.exe" ( "c:\Program Files\ownCloud\uninstall.exe" /S) else exit )
md %LocalAppData%\Nextcloud\
copy %LocalAppData%\ownCloud\owncloud.cfg %LocalAppData%\Nextcloud\nextcloud.cfg
start Nextcloud-2.2.3.4-setup.exe /S
This script trying to find unistaller of owncloud client and if it finds, it will delete it quietly, after this script move config and start silent install of nextcloud client. If unistaller not found, script will exit. Note that installer file Nextcloud-2.2.3.4-setup.exe must remain in same dir where script have been executed.
You can get bat from my cloud
http://cloud.kasakoff.net/index.php/s/tbntMckWQqrCsxt
Also note that nextcloud client will not be automatically started after installing, you should start it manually, and also manually check switch to autorun client with windows. If you know install flags to enable it silently, please tell me how.
Sometimes nextcloud client ask for password after this script, sometimes not, I don’t know why. Also windows may ask you to confirm action when nextcloud client installing.
UPD (9 september): fixed script to work on 32 bit systems