Scripted updates
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Solved] Scripted updates

6 Posts
2 Users
1 Reactions
504 Views
(@vfast)
Active Member Registered
Joined: 1 month ago
Posts: 3
Topic starter   [#996]

Hi

 

I'm trying to have a schedule task run weekly to update drivers. However SDIO 2.0.3 fails with "updates not initalised"

In script mode, get driverpacks <all|updates> fails with:

 
Error: get : Updates not initialisedDriver packs download failed

Running elevated this happens regardless of the order of checkupdates and init, and for both the all and updates arguments. The GUI on the same machine, same executable, same driver directory, correctly reports available driver pack updates. From command line the dns resolves, and ports are open.

 

At a loss exactly why it isn't working?

I am running 

drpdir Y:\drivers
indexdir C:\SDIO-local\indexes
logdir C:\SDIO-local\logs
extractdir C:\SDIO-local\tmp
activetorrent 1
logging on
verbose 8192
debug on
checkupdates
init
get driverpacks all
end

Run with:

 
SDIO_x64_R886.exe -script:C:\SDIO-local\t3.txt

 

 



   
Quote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2101
 

Nice to know someone is using the scripting 🙂

I seem to have run out of bits in the 32 bit number I was using to store the initialised state.  I'll get that fixed in the next release.

Also v2 is no longer using multiple torrents so you should remove the "activetorrent" line.



   
ReplyQuote
(@vfast)
Active Member Registered
Joined: 1 month ago
Posts: 3
Topic starter  

@glenn ok thanks. I will await patiently



   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2101
 

Posted by: @vfast
↑

@glenn ok thanks. I will await patiently

Give this version a shot.

https://www.glenn.delahoy.com/downloads/sdio/SDIO_2.0.4.887.zip

 



   
ReplyQuote
(@vfast)
Active Member Registered
Joined: 1 month ago
Posts: 3
Topic starter  

@glenn That has worked fine! Thank you. Might be worth revisiting documentation to align with current executable?



   
Glenn reacted
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2101
 

Good idea 😀



   
ReplyQuote
➤ Glenn's Page