Jump to content

Deploy image with SIMS.NET already installed, as part of the image


Recommended Posts

Posted

Hello All,

 

I'm in the process of re-creating out build images at work...

 

We currently don't use SOLUS to deploy SIMS.NET, we use the SIMS.INST.exe to install SIMS, however, this is a manual process...

 

I've managed to setup zero touch deployment by using scripts and Windows Image Manager, to eit config files and create a unattend.xml file, and it skips all the setup process and creates the admin account, re-enables the Administrator account (as this gets disabled via sysprep), then just logs on, picks up the naming convention from FOG, restarts the machine, and changes it's name, then joins the domain and adds it to the correct OU... anyway, happy days...

 

My question/problem that I'm facing is...

 

I'm wanting a way to install SIMS without having to go on to each teacher machine and run that sims.inst file, as that's a manual process and takes more time, at the same time, as I've said above, we don't have SOLUS setup or configured. Would it be possible to install SIMS as part of the image, then it's already installed on the machine, or is there a way that I can set a 'runonce' script to install SIMS via cmd, only once it's joined the domain - the problem is, we're a MAT school, and have a blueprint across all the schools as they're all the same type of school, so I'm not allowed to change any group policies, or add/edit anything.

 

So, basically, just to sum up, I'm wanting to know if it's better to bake SIMS into my image for all staff machines, or run a script manually on each teacher machine to install it?

 

Thanks in advanced.

 

Dan :)

Posted

Is this Install batch script any good? It will install SIMS, Discover and sort of SIMS Perms so that staff can update SIMS the old fashioned way.

 

"Source\SIMSInfrastructureSetup.exe" -a {QuietMode}
"Source\SIMSapplicationsetup.exe" /s {QuietMode} {NoServerApps} [sIMSDirectory]="s:\SIMS\" [sIMSDotNetDirectory]="C:\Program Files (x86)\SIMS\SIMS .net"
"Source\SIMSMAnualSetup.exe" /s {QuietMode} {NoServerManuals} [sIMSDirectory]="s:\SIMS\" [sIMSDotNetDirectory]="C:\Program Files (x86)\SIMS\SIMS .net" 
"Source\SIMSAMPARKSetup.exe" /s {QuietMode} {NoServerApps} [sIMSDirectory]="s:\SIMS\" [sIMSDotNetDirectory]="C:\Program Files (x86)\SIMS\SIMS .net"

del "C:\WINDOWS\sims.ini"
del "c:\program files (x86)\sims\sims .net\connect.ini"
if not exist "c:\program files (x86)\sims\sims .net\connect.ini" copy "Source\connect.ini" "c:\program files (x86)\sims\sims .net"
if not exist "C:\WINDOWS\sims.ini" copy "Source\Configuration Files x64\sims.ini" "C:\WINDOWS\"

del "c:\program files\sims\sims .net\sims.ini\QuickLetterTemplate.doc"
if not exist "c:\program files (x86)\sims\sims .net\QuickLetterTemplate.doc" copy "Source\QuickLetterTemplate.doc" "c:\program files (x86)\sims\sims .net"

"source\SubInAcl.exe" /FILE %WINDIR%\SIMS.INI /GRANT=domain\group=F
"source\SubInAcl.exe" /SUBDIRECTORIES "C:\Program Files (x86)\SIMS\*.*" /GRANT=domain\group=F
"source\SubInAcl.exe" /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes /GRANT=domain\group
"source\SubInAcl.exe" /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID /GRANT=domain\group
"source\SubInAcl.exe" /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface /GRANT=domain\group
"source\SubInAcl.exe" /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib /GRANT=domain\group

del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\SIMS Applications\Update and Run SOLUS.lnk"


msiexec.exe /i "Discover\Source\Setups\SIMSDiscoverClient.msi" /quiet

if exist "C:\Program Files (x86)\SIMS\Discover Client\Discover.Administrations.Desktop.exe.config" del "C:\Program Files (x86)\SIMS\Discover Client\Discover.Administrations.Desktop.exe.config"
if exist "C:\Program Files (x86)\SIMS\Discover Client\Discover.DataEngine.dll.config" del "C:\Program Files (x86)\SIMS\Discover Client\Discover.DataEngine.dll.config"
if exist "C:\Program Files (x86)\SIMS\Discover Client\Discover.Designer.Desktop.exe.config" del "C:\Program Files (x86)\SIMS\Discover Client\Discover.Designer.Desktop.exe.config"
if exist "C:\Program Files (x86)\SIMS\Discover Client\Discover.SIMS.Configuration.exe.config" del "C:\Program Files (x86)\SIMS\Discover Client\Discover.SIMS.Configuration.exe.config"
if exist "C:\Program Files (x86)\SIMS\Discover Client\Discover.SIMS.EntityModel.dll.config" del "C:\Program Files (x86)\SIMS\Discover Client\Discover.SIMS.EntityModel.dll.config"
if exist "C:\ProgramData\Discover\Discover.Designer.Desktop.exe.local.config" del "C:\ProgramData\Discover\Discover.Designer.Desktop.exe.local.config"

copy "Discover\FPHS Config Files\Discover.Administrations.Desktop.exe.config" "C:\Program Files (x86)\SIMS\Discover Client"
copy "Discover\FPHS Config Files\Discover.DataEngine.dll.config" "C:\Program Files (x86)\SIMS\Discover Client"
copy "Discover\FPHS Config Files\Discover.Designer.Desktop.exe.config" "C:\Program Files (x86)\SIMS\Discover Client"
copy "Discover\FPHS Config Files\Discover.SIMS.Configuration.exe.config" "C:\Program Files (x86)\SIMS\Discover Client"
copy "Discover\FPHS Config Files\Discover.SIMS.EntityModel.dll.config" "C:\Program Files (x86)\SIMS\Discover Client"
copy "Discover\FPHS Config Files\Discover.Designer.Desktop.exe.local.config" "C:\ProgramData\Discover"

REM Return exit code to SCCM
exit /B %EXIT_CODE%

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...