Script for 'silent' Client install for 8.03?

--- In vantage@yahoogroups.com, "russnewcomer" <rnewcomer@...> wrote:
>
> I do 8.00 installs using a batch file. While 8.03 might be different
> (haven't tested it), this may help form the basis for a batch fine you
> can use.

Here's my batch file for 8.03.404 installs. This could be improved a bit.

The PrereqsDir on the client contains the Crystal, Net, and WSE30
directories from the install DVD, which are required by the client
code. I've chosen to copy them from the ClientInstall directory
defined below and run the installs locally, but you could run the
installs from the network instead.

The OtherClientDir on the client side contains a 'backup' directory
which looks to contains just the default.mfgsys file. Not sure how
this is used, but a normal client install creates this. I copied it
to my server under the ClientInstall directory (which I created to
hold all of my pieces for this install script).

Of course this approach means that clients don't get the application
listed under Add/Remove Programs, but that seems like a minor issue.

There's an Icons directory in my scheme that contains the icons that I
want to show the users. I stick the non-default ones into a
"Databases" directory so that production users aren't tempted to use
the non-production databases accidentally, but they're still available
if needed.

I don't suppose anyone has cooked up a "real" MSI-based approach for
this? Or maybe at least some reliable tests to identify if the
prereqs are installed already so you don't waste time reinstalling them?

:: Set our variables. Adjust as appropriate for your environment.
set BaseDir=C:\Client803
set ClientDir=%BaseDir%\Client
set OtherClientDir=C:\Epicor\client803
set PrereqsDir=%BaseDir%\Prereqs
set AppName=Manufacturing by Epicor
set ServerBase=\\<servername>\epicor$
set ClientInstall=%ServerBase%\ClientInstall
set ClientSource=%ServerBase%\mfgsys803\client

:: Make the necessary directories
mkdir "C:\Documents and Settings\All Users\Desktop\%AppName%"
mkdir "C:\Documents and Settings\All Users\Start Menu\Programs\%AppName%"
mkdir %BaseDir%
mkdir %ClientDir%
mkdir %PrereqsDir%
mkdir %OtherClientDir%

:: Copy client prereqs, icons, and source files
xcopy "%ClientInstall%\Crystal\Epicor Crystal Reports 11 R2 .Net 3.0
Runtime.msi" "%PrereqsDir%" /Y /Q
xcopy "%ClientInstall%\Net\dotnetfx3.exe" "%PrereqsDir%" /Y /Q
xcopy "%ClientInstall%\WSE30\Microsoft WSE 3.0 Runtime.msi"
"%PrereqsDir%" /Y /Q
xcopy "%ClientInstall%\Icons" "C:\Documents and Settings\All
Users\Desktop\%AppName%" /E /Y /Q
xcopy "%ClientInstall%\Icons" "C:\Documents and Settings\All
Users\Start Menu\Programs\%AppName%" /E /Y /Q
xcopy "%ClientInstall%\Fonts\DWBar39.ttf" "C:\Windows\Fonts\" /Y /Q
xcopy "%ClientInstall%\backup" "%OtherClientDir%" /E /Y /Q
xcopy "%ClientSource%" "%ClientDir%" /E /Y /Q

:: Run prereqs installers silently
"%PrereqsDir%\dotnetfx3.exe" /q
msiexec /i "%PrereqsDir%\Epicor Crystal Reports 11 R2 .Net 3.0
Runtime.msi" /q
msiexec /i "%PrereqsDir%\Microsoft WSE 3.0 Runtime.msi" /q
:: Advertise MSI-based apps for all users.
msiexec /Jm "%PrereqsDir%\Epicor Crystal Reports 11 R2 .Net 3.0
Runtime.msi"
msiexec /Jm "%PrereqsDir%\Microsoft WSE 3.0 Runtime.msi"

:End
echo "All done!"
We are trying to get live on 8.0x in Jan. Have done 8.00 client
install with a registry/disk image deployment tool. Has anyone found
another way to get the 8.03 client install to run scripted
or 'automatically'? Seems like it would not take passing many
parameters {\\Servername or share-path & maybe client software path on
server, and client install path if not default} but Epicor Tech line
has "nothing on that". Thanks
Check out Autoit

http://www.autoitscript.com/autoit3/



Regards,

Stephen Edginton



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of jcmorton1
Sent: 22 November 2006 14:04
To: vantage@yahoogroups.com
Subject: [Vantage] Script for 'silent' Client install for 8.03?



We are trying to get live on 8.0x in Jan. Have done 8.00 client
install with a registry/disk image deployment tool. Has anyone found
another way to get the 8.03 client install to run scripted
or 'automatically'? Seems like it would not take passing many
parameters {\\Servername or share-path & maybe client software path on
server, and client install path if not default} but Epicor Tech line
has "nothing on that". Thanks





[Non-text portions of this message have been removed]
I do 8.00 installs using a batch file. While 8.03 might be different
(haven't tested it), this may help form the basis for a batch fine you
can use.


copy \\<ServerName>\epicor\ClientInstall\DWBar39.ttf c:\windows\fonts\ /y
mkdir "c:\Documents and Settings\All Users\Desktop\Vantage"
xcopy "\\<ServerName>\epicor\ClientInstall\Vantage Icons"
"c:\Documents and Settings\All Users\Desktop\Vantage" /E
mkdir c:\Client80
mkdir c:\Client80\Client
copy "\\g<ServerName>\epicor\ClientInstall\Crystal Reports 11 R2
Runtime.msi" c:\client80
cd\Client80
msiexec /i "C:\Client80\Crystal Reports 11 R2 Runtime.msi" /q
msiexec /J "C:\Client80\Crystal Reports 11 R2 Runtime.msi"
xcopy "\\<ServerName>\epicor\mfgsys80\client" "c:\client80\Client" /E /Q


RussN

>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of jcmorton1
> Sent: 22 November 2006 14:04
> To: vantage@yahoogroups.com
> Subject: [Vantage] Script for 'silent' Client install for 8.03?
>
>
>
> We are trying to get live on 8.0x in Jan. Have done 8.00 client
> install with a registry/disk image deployment tool. Has anyone found
> another way to get the 8.03 client install to run scripted
> or 'automatically'? Seems like it would not take passing many
> parameters {\\Servername or share-path & maybe client software path on
> server, and client install path if not default} but Epicor Tech line
> has "nothing on that". Thanks
>
>
>
>
>
> [Non-text portions of this message have been removed]
>