Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 10-04-2021, 09:55 PM   #1
verukins
Junior Member
verukins began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2021
Device: Kindle
Calibre silent installation and configuration

Hi all,
trying to silently install and configure calibre.

- Silent installation is easy thanks to the MSI
- configuration to the json files under C:\Users\<username>\AppData\Roaming to make it look/feel as desired is doable

Two things im having trouble with
- Is there a way to change to the default directory for configuration from <user profile>\appdata\roaming... i would like it to be machine rather than user-based. I haven't been able to find anything in the registry or MSI tables. Is this perhaps hard-coded ?
- Based on the above - preventing the first run wizard for running. This seems to check for the existence of C:\Users\<username>\AppData\Roaming - so i believe this is linked with the first question... but if someone else knows better - please let me know.
verukins is offline   Reply With Quote
Old 10-04-2021, 10:29 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/cus...ment-variables

as for the welcome wizard, it looks for a key ina config file called welcome_wizard_was_run
kovidgoyal is offline   Reply With Quote
Advert
Old 10-05-2021, 02:43 AM   #3
verukins
Junior Member
verukins began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2021
Device: Kindle
Ok - cool, thanks a lot of that.

I didn't even consider environment variables - as its a unusual method to provide silent install config... but in this instance- makes sense.

Will give it a crack.
verukins is offline   Reply With Quote
Old 10-17-2022, 05:15 PM   #4
begem0t
Junior Member
begem0t began at the beginning.
 
Posts: 6
Karma: 14
Join Date: Mar 2009
Device: smartphone
I'm not able to assign TARGETDIR during install. Any help with this?
begem0t is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Calibre configuration disappeared Bigo2 Calibre 6 11-10-2020 12:04 AM
Calibre need good configuration dedef Calibre 5 12-29-2019 04:47 PM
404 error. Server installation and configuration with SSL radioagent Server 1 06-30-2019 08:10 AM
Calibre Font Configuration Plug in aterry13 Plugins 4 03-03-2013 10:14 PM
Calibre configuration help! Iganius Calibre 5 06-25-2010 11:10 AM


All times are GMT -4. The time now is 10:22 AM.


MobileRead.com is a privately owned, operated and funded community.