Discussion:
AX 2009 SP1 Client Silent Install
(too old to reply)
Alan Flanders
2009-03-06 00:21:01 UTC
Permalink
Hi,
Is there a way to install the AX 2009 SP1 client upgrade silently as there
is when installing the AX 2009 client?

Thanks,

Alan
Jensen
2009-03-09 11:11:02 UTC
Permalink
hi
i am using this in batch file (Ax2009_Client_Inst.cmd) for installing Ax
2009 client with sp1 silently

@Echo Installing Dynamicx Ax 2009 std
\\Shared_Folder\ax2009\DynamicsAX2009_std\Setup.exe
LogDir="C:\AxLog\Std\DynamicsSetupLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallClientUI=1 ConfigurePrerequisites=1 ClientAosServer=AOS_Server_Name
ClientLanguage=en-us ClientConfig=1 ClientHelpLanguages=en-us;nb-no
clientConfigFile="\\shared_folder\Ax2009\Ax2009_prod_USR.axc"

PING 127.0.0.1 -n 700 -w 1000 >NUL

@Echo Installing Dynamicx Ax 2009 sp1

\\Shared_Folder\ax2009\DynamicsAX2009_sp1\axupdate.exe
LogDir="C:\AxLog\SP1\DynamicsSetupLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallComponents=1

Hope this will be helpful :)


Jensen
Post by Alan Flanders
Hi,
Is there a way to install the AX 2009 SP1 client upgrade silently as there
is when installing the AX 2009 client?
Thanks,
Alan
Alan Flanders
2009-03-09 21:41:01 UTC
Permalink
Thank you. This allowed me to create a silent installer for the entire AX
client which will work no matter which version they are currently at. See
below.

Alan

@ECHO OFF
@ECHO Validating Install Package
@if exist "C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1PATCHUpdateLog.txt" goto INSTALLED
@if exist "C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1UpdateLog.txt" goto INSTALLSP1PATCH
@if exist "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\ax32.exe"
goto INSTALLSP1

@if exist "C:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc.exe" goto INSTALLAX

:NOTNETINSTALLED
@ECHO Installing .NET Framework 3.5
@START/w \\SERVER1\"Dynamics AX"\dotnetfx35.exe /q /norestart
:LOOPTRANS
@if not exist "C:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc.exe" goto LOOPTRANS

:INSTALLAX
@ECHO Starting installation
@START/w \\SERVER1\"Dynamics AX"\AX2009\"AX2009 setup"\Setup.exe
LogDir="C:\Program Files\Microsoft Dynamics AX\50\Client\Log\AX2009Log.txt"
SETUPLANGUAGE="en-us"
RUNMODE="JustClient" ConfigurePrerequisites="1" HIDEUI="1"
ACCEPTLICENSETERMS="1" CLIENTLANGUAGE="en-us"
CLIENTHELPLANGUAGES="en-us" CLIENTAOSSERVER="SERVER2:2714"
:LOOPTRANS2
@if not exist "C:\Program Files\Microsoft Dynamics
AX\50\Client\Bin\ax32.exe" goto LOOPTRANS2
@GOTO INSTALLSP1

:INSTALLSP1
@ECHO Starting installation of SP1
@START/w \\SERVER1\"Dynamics AX"\AX2009\"AX2009 SP1 Setup"\axupdate.exe
LogDir="C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1UpdateLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallComponents=1
:LOOPTRANS3
@if not exist "C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1UpdateLog.txt" goto LOOPTRANS3

:INSTALLSP1PATCH
@ECHO Starting installation of SP1 Kernel Patch
@START/w \\SERVER1\"dynamics ax"\AX2009\"AX2009 SP1 Hotfixes"\"Hotfix 963056
Kernel To Be Insalled"\axupdate.exe
LogDir="C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1PATCHUpdateLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallComponents=1
:LOOPTRANS4
@if not exist "C:\Program Files\Microsoft Dynamics
AX\50\Client\Log\SP1PATCHUpdateLog.txt" goto LOOPTRANS4
@GOTO COMPLETE

:COMPLETE
@ECHO Installation complete.
@GOTO END

:INSTALLED
@ECHO SP1 Client Already Installed
@GOTO END

:END
@PAUSE
Post by Jensen
hi
i am using this in batch file (Ax2009_Client_Inst.cmd) for installing Ax
2009 client with sp1 silently
@Echo Installing Dynamicx Ax 2009 std
\\Shared_Folder\ax2009\DynamicsAX2009_std\Setup.exe
LogDir="C:\AxLog\Std\DynamicsSetupLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallClientUI=1 ConfigurePrerequisites=1 ClientAosServer=AOS_Server_Name
ClientLanguage=en-us ClientConfig=1 ClientHelpLanguages=en-us;nb-no
clientConfigFile="\\shared_folder\Ax2009\Ax2009_prod_USR.axc"
PING 127.0.0.1 -n 700 -w 1000 >NUL
@Echo Installing Dynamicx Ax 2009 sp1
\\Shared_Folder\ax2009\DynamicsAX2009_sp1\axupdate.exe
LogDir="C:\AxLog\SP1\DynamicsSetupLog.txt" HideUI=1 AcceptLicenseTerms=1
InstallComponents=1
Hope this will be helpful :)
Jensen
Post by Alan Flanders
Hi,
Is there a way to install the AX 2009 SP1 client upgrade silently as there
is when installing the AX 2009 client?
Thanks,
Alan
Loading...