maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

linux run installer, accept license with argument

Open fjallraven opened this issue 2 years ago • 5 comments

It would be great if we could auto accept Autodesk license with an argument "--confirm" If this is related: https://github.com/megastep/makeself/pull/100 It looks to have gone into makeself 2.3.1

Many thanks

fjallraven avatar Oct 26 '22 14:10 fjallraven

@fjallraven - I'm guessing that this would be for pipeline/undattended deployment scenarios?

tanant avatar Oct 26 '22 17:10 tanant

@fjallraven - I'm guessing that this would be for pipeline/undattended deployment scenarios?

Yes exactly that. I could not find any workaround, example extracting the rpm etc, but if you have any I'll be happy to try it!

fjallraven avatar Oct 27 '22 07:10 fjallraven

@fjallraven one option here would be to extract the package, and then run the RPM separately, not as simple as "--confirm" but this is a workaround for now. :)

to do that, you would first need to make the installer executable: # chmod +x ./MayaUSD_0.20.0_Maya2023.2_Linux.run

from then on, you can extract the packages: # ./MayaUSD_0.20.0_Maya2023.2_Linux.run --tar xvf

now you can install the rpm package, just like any other rpm package: rpm -iv --quiet --force ./MayaUSD2023-202210201313-b84fd36-0.20.0-1.x86_64.rpm

you might want to use different arguments on your rpm command, these are a sample. :)

santosg87 avatar Dec 07 '22 19:12 santosg87

Thank you @santosg87 That works well!

fjallraven avatar Jan 05 '23 09:01 fjallraven

glad to help! :)

moving this issue to the backlog for the time being as we discuss viability of fixing somewthing like this on the installer in the future.

santosg87 avatar Jan 11 '23 19:01 santosg87