08-18-2021 09:10 AM
Hi,
I would like to set an executable application (LabVIEW built) as a startup in windows programmatically. Ideally I would like this to happen right after the installer installs the program on the system. I have found the NI knowledgebase about how to do this manually.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIRwCAO&l=en-IN
But, I want this to happen automatically with the installation process. I would like something like the posit install action. There is a "Run executable at the end of installation" option in installer properties in the LabVIEW project. Is there anyway this could be made use of?
Another option is to use the registry method described in the above link and create registry keys using the installer properties page. But in this case, how do I get the actual installation directory path that the user chooses while running installer?
Regards
Djac
Solved! Go to Solution.
08-18-2021 09:25 AM
Think this is what you're looking for. As far as running the executable automatically right after installation, don't know anything about that.
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
08-18-2021 09:32 AM
Thank you! That was pretty straight forward, but went unnoticed.