Welcome to LAVA!
You can customize the installer with a spec file. If I remember correctly that also allows you to specify the installation directory.
Here is a KB article for how to create the spec file (scroll down to "customizing installation"): https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Ld6SAE&l=en-US