Rhino call from command line /noupdate switch

Hello Discourse!

We boot up rhino using the command line for headless and integration tests.
One issue we have is that at the end of rhino opening it will often suggest an update which prevents it closing when we ask it to! Is there a switch such as /noupdate that would prevent this?

Alternatively we can also turn off checking for updates, but the above solution would be more elegant

Kind Regards,

– cs

1 Like
1 Like

That could work! I’ve added some powershell below that can be used to this effect for anyone else who has this issue. Using a PreBuild and a PostBuild script for the project should work nicely.

# See Current Value(s)
Get-ItemProperty -Path HKCU:\Software\McNeel\McNeelUpdate\7

# Get the 'Enabled' Value specifically
(Get-ItemProperty -Path HKCU:\Software\McNeel\McNeelUpdate\7).Enabled

# Turn this value off
Set-ItemProperty -Path HKCU:\Software\McNeel\McNeelUpdate\7 Enabled False

# Turn this value on again
Set-ItemProperty -Path HKCU:\Software\McNeel\McNeelUpdate\7 Enabled True