Jump to content

Recommended Posts

Posted
Or, @dhicks used to have some scripts

 

My current school doesn't use SIMS any more, but when it did we used this batch file for a silent SIMS and FMS install:

 

@echo off
echo Installing SIMS...
net use s: \\ks-sims\SIMS /PERSISTENT:no

echo ...local package...
\\ks-nas1\Software\dotNet\4.0\dotNetFx40_Full_x86_x64.exe /passive /norestart
\\ks-nas1\Software\SIMS\install.exe
copy "\\ks-nas1\Software\SIMS\connect.ini" "C:\Program Files\SIMS\SIMS .net"

echo ...with FMS...
S:\SIMS\Setups\FMSApplicationSetup.exe
mkdir "C:\Program Files\SIMS\Finance"
copy "\\ks-nas1\Software\FMS\FMSConnect.ini" "C:\Program Files\SIMS\Finance"
copy "\\ks-nas1\Software\FMS\FMSConnect.ini" "c:\WINDOWS\system32"
copy "\\ks-nas1\Software\FMS\FMSConnect.ini" "c:\Program Files\SIMS\SIMS .net"
echo Sims Directory=C:\Program Files\SIMS\FMSSQL>>C:\WINDOWS\sims.ini
copy "\\ks-nas1\Software\FMS\PDOXUSRS.NET" "C:\"

s:
cd S:\Setups
call simsperm.bat CAMELOT\KS-SEC-SIMS
SubInAcl /FILE "C:\PDOXUSRS.NET" /GRANT=CAMELOT\KS-SEC-SIMS=F
c:

 

On our system, "\\ks-nas1\Software" is simply a folder containing all our software installers. I seem to remember needing to get the FMSConnect.ini and PDOXUSRS.NET files from a working copy of FMS. KS-SEC-SIMS is a security group that everyone who is allowed to use SIMS is made a member of, you might have different / multiple security groups to deal with - just duplicate the simsperm and SubInAcl line for each security group.

  • Thanks 2
Posted

You can create a command line script to run FMSApplication Setup.exe with a /s parameter to silently install.

 

You would then need to do something similar to ensure that the workstation has the correct FMSConnect.ini and SIMS.ini files.

 

Mark

  • Thanks 2
Posted
Thanks for the help. The problem with Solus 3 will be setting it off in a task sequence.

 

You would just have S3 agent install via MDT\SCCM with a command to query the db for the GUID so it keeps the channels, s3 would then install SIMS and FMS.

Posted

Just been playing with and it wont work if i only use the FMSApplicationSetup.exe. I if manually run FMS inst it does work. Just need to figure out how to get that silently installing.

 

Thanks

Posted (edited)

We use this to do the lot:

 

@echo off

echo Set objFSO = CreateObject("Scripting.FileSystemObject")> CheckVer.vbs

echo Wscript.Echo objFSO.GetFileVersion(wscript.arguments(0))>> CheckVer.vbs

cscript /nologo CheckVer.vbs "C:\Program Files (x86)\SIMS\FMSSQL\Finance.exe" | find "6.152.281.0" > nul && goto :cleanup

psexec -accepteula -is \\%computername% psexec -isx cmd /c \\blahblah.local\driveshares\MSI\FMS\FMSApplicationSetup.exe {QuietMode} [sIMSDotNetDirectory]="C:\Program Files (x86)\SIMS\SIMS .net"

copy /y \\blahblah.local\driveshares\MSI\FMS\FMSConnect.ini "C:\Program Files (x86)\SIMS\FMSSQL"

\\blahblah.local\driveshares\MSI\FMS\idapi32cfg.exe -i "C:\Program Files (x86)\Common Files\Borland Shared\Bde\idapi32.cfg" \\blahblah.local\driveshares\MSI\FMS\Settings.txt

:cleanup

del CheckVer.vbs

 

Then I just change the version number to look for every time the FMS upgrade is run on the SIMS server. The psexec bit is only to display the setup onscreen so users know why startup is taking so long - risky but otherwise they just switch it off sometimes, especially when I've got a lot of things to push out this way.

Edited by Ephelyon
Posted

Just testing but i think this works

 

simsinfrastructuresetup.exe -a {QuietMode} {FMSWorkstation}

FMSApplicationSetup.exe /s {QuietMode}

Posted

Well, Settings.txt contains this:

 

DRIVERS\PARADOX\INIT\NET DIR = C:\Users\Public\Documents

 

Such that this is a writable location for end-users. It's a fix for a problem that I forget now.

  • 9 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...