AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.08.2009, 13:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Dianne Siebold: Automate the AX Checklist
Источник: http://blogs.msdn.com/dsiebold/archi...checklist.aspx
==============

Sometimes you stumble upon something that has been around for a long time but you never knew about, so when you do find out about it, it’s like making a whole new discovery. This is how I felt when I found out you could automate the checklist that must be completed after you install Dynamics AX.



This automation can be a real time-saver if you are doing multiple AX installations. For instance, if you’re doing AX development and you have separate test and dev environments that you update on a regular basis.



First off, I tested this in AX 2009, but the functionality is available in 4.0 as well. Essentially, you create an XML configuration file and then run AX from the command line and point to that configuration file. The configuration file contains elements that correspond to the steps in the checklist.



Here’s the config file that I used to test with. As you can see, this file specifies



· That the application should be compiled

· That the license file should be loaded from the specified path

· That the sample data should be imported from the specified path

· That the database should be synchronized



















So the first thing you do is install Dynamics AX. Then, you write your config file with the settings you need. Then, run AX on the command line and specify the config file with this command:



Ax32.exe -StartupCmd=AutoRun_c:\Configuration.XML



My sample config file shows only a subset of what you can do with the config file. You can add users, add companies, run an XPO, run code from the AOT, etc. See the SysAutoRun Class help on MSDN for more options.




<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">One final note - the config file above specifies version 4.0. That will still work with version 2009, as long as the version number specified is
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dianne Siebold: Dynamics AX Goes Green Blog bot DAX Blogs 0 05.08.2009 10:05
Dynamics AX: In the spot light: Dianne Siebold's WebLog Blog bot DAX Blogs 0 17.09.2008 20:05
Dianne Siebold: Summer Reading - Dynamics AX Books Blog bot DAX Blogs 0 17.07.2008 06:16
Dianne Siebold: Limit MSDN Search to AX Content Only (4.0) Blog bot DAX Blogs 0 16.02.2008 04:41
Dianne Siebold: Yahoo Group for Dynamics AX Blog bot DAX Blogs 0 16.10.2007 08:23

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 02:19.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.