Create an XML file with this data:
<?xml version="1.0" ?> <AxaptaAutoRun exitWhenDone="true" version="6.2" logFile="C:\AxaptaAutorun.log"> <CompileIL incremental="true" /> </AxaptaAutoRun>
Then save it in a place that is accessible from the AOS service account. I saved it as "C:\IncrementalCIL.xml" on the AOS machine.
Then run this command, subbing in for your environment:
"C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" \\MyNetworkShare\AOS.axc -startupcmd=autorun_C:\IncrementalCIL.xml
Some notes about the XML. The version attribute must not be greater than your system's build, which can be found from calling xInfo::releaseVersion().
There are a TON more autorun features available, and you can use the following links or just dig into \Classes\SysAutoRun.
More information can be found at:
- https://msdn.microsoft.com/en-us/library/sysautorun.aspx
- https://msdn.microsoft.com/en-us/library/aa569641.aspx
Perfect post for programers. The amount of helpful information that one can grasp on this article is amazing. Thank you for sharing and i am in hope i will get to see more of the same on your blog.
ReplyDeleteI did only one project over this one. The overall mood on this site somehow isn't right, but never the less, you can find lot's of different jobs there, not just coding. Webdesign
ReplyDelete