MartinT Posted June 27, 2012 Posted June 27, 2012 Does anyone know how to either get the main SIMS setup application SIMSInst.exe or the four individual installations SIMSInfrastructureSetup.exe, SIMSApplicationSetup.exe, SIMSAMPARKSetup.exe, SIMSManualSetup.exe to each install silently? I am having to respond to dialogues when deploying via MDT.
sted Posted June 27, 2012 Posted June 27, 2012 try this you need a working setup to nick ini files from though and put on server if exist "C:\Program Files (x86)\SIMS\SIMS .net\pulsar.exe" goto _end if exist "C:\Program Files\SIMS\SIMS .net\pulsar.exe" goto _end net use s: \\admin-srv\SIMSroot$ /user:domain\auser theirpassword /persistent:yes "s:\sims\Setups\SIMSInfrastructureSetup.exe" /S "s:\sims\Setups\SIMSApplicationSetup.exe" /S "s:\sims\Setups\SIMSManualSetup.exe" /S "s:\sims\Setups\SIMSAMPARKSetup.exe" /S if exist "c:\Program Files (x86)" goto _x64 :_x86 copy "\\server\packages$\Sims\connectx86.ini" "c:\Program Files\sims\sims .net\connect.ini" /y copy "\\server\packages$\Sims\simsx86.ini" "c:\windows\sims.ini" /y goto _end :_x64 copy "\\server\packages$\Sims\connectx64.ini" "c:\Program Files (x86)\sims\sims .net\connect.ini" /y copy "\\server\packages$\Sims\simsx64.ini" "c:\windows\sims.ini" /y goto _end :_end rem pause 2
MartinT Posted June 27, 2012 Author Posted June 27, 2012 Thanks, sted. I almost had it right but you've helped me get the sims.ini and connect.ini files sorted.
Mcshammer_dj Posted June 27, 2012 Posted June 27, 2012 isn't there now a SIMScentralserver.exe that copies something to the sims .net folder??
garethEds Posted March 12, 2013 Posted March 12, 2013 try this you need a working setup to nick ini files from though and put on server if exist "C:\Program Files (x86)\SIMS\SIMS .net\pulsar.exe" goto _end if exist "C:\Program Files\SIMS\SIMS .net\pulsar.exe" goto _end net use s: \\admin-srv\SIMSroot$ /user:domain\auser theirpassword /persistent:yes "s:\sims\Setups\SIMSInfrastructureSetup.exe" /S "s:\sims\Setups\SIMSApplicationSetup.exe" /S "s:\sims\Setups\SIMSManualSetup.exe" /S "s:\sims\Setups\SIMSAMPARKSetup.exe" /S if exist "c:\Program Files (x86)" goto _x64 :_x86 copy "\\server\packages$\Sims\connectx86.ini" "c:\Program Files\sims\sims .net\connect.ini" /y copy "\\server\packages$\Sims\simsx86.ini" "c:\windows\sims.ini" /y goto _end :_x64 copy "\\server\packages$\Sims\connectx64.ini" "c:\Program Files (x86)\sims\sims .net\connect.ini" /y copy "\\server\packages$\Sims\simsx64.ini" "c:\windows\sims.ini" /y goto _end :_end rem pause I'm seeing a weird issue with this script - I'm getting 'Access Denied' when trying to copy the files across. Is there anything we can do to force the copy of files over to the correct location? Gareth
sted Posted March 12, 2013 Posted March 12, 2013 it sounds like its not running in admin context and uac is being a pita. depends which files though
ricki Posted March 12, 2013 Posted March 12, 2013 HI Dont forget to map the correct drive to the sims share and then when the program is installed it unmaps the drive. You need this because the computer does not normally have a mapped drive and your admin server will insist that you have the correct credentials to log on as the computers local system account will not authenticate as a user is not logged in. Richard
Rawns Posted March 12, 2013 Posted March 12, 2013 Is now a good time to drop in the term "SOLUS 3"? 1
garethEds Posted March 13, 2013 Posted March 13, 2013 Is now a good time to drop in the term "SOLUS 3"? Yes but it isn't supported by our LEA yet. How does this work with MDT? Gareth
garethEds Posted March 14, 2013 Posted March 14, 2013 it sounds like its not running in admin context and uac is being a pita. depends which files though Okay - the first part of the script it working well. It installs SIMS. The second part where it decides which OS and which files to copy over are not working. I've elevated the script in MDT to run with Domain Admin privs but I am given access denied messages when trying to write to the machine hard drive. Gareth
garethEds Posted March 18, 2013 Posted March 18, 2013 Does anyone know how to run an elevated command file in MDT? This is the issue with the SIMS script above. The script is installing SIMS without any issues but when it comes to copying the files across I am getting 'Access Denied' messages. I've entered the Administrator credentials into the task sequence but it isn't working. Not come across this issue before. Am I running the script too soon (just after the Application install task)? Are my elevated privs wrong? Banging my head now with this. Gareth
sted Posted March 18, 2013 Posted March 18, 2013 depends who ou are logged in as by default mdt logs in as local administrator so no uac issues if youve changed that to say dmmain admin then thats my guess. If its just the file copy do it as a startup script if not exist c:\yada yada yada copy \\server\ yada yada yada /y
dany2010 Posted March 22, 2013 Posted March 22, 2013 Had the same thought as sted. The install task (the bit that works) uses the credentials that you added to the script (domain admin) but the copy task will try to use the local administrator account which unless that password matches your domain administrators password will not work. What you could do is try putting the .ini files into the "\admin-srv\SIMSroot$" (your s drive) and then change copy "\\server\packages$\Sims\connectx86.ini" "c:\Program Files\sims\sims .net\connect.ini" /y to copy "s:\connectx86.ini" "c:\Program Files\sims\sims .net\connect.ini" /y and the same with the rest. This will then copy the ini files from the mapped s drive which is logged in. 1
garethEds Posted March 22, 2013 Posted March 22, 2013 @dany2010 - Am trying this now. Will let you know how it goes. Gareth
dany2010 Posted March 22, 2013 Posted March 22, 2013 (edited) I've just been looking to this also as its one of the last things that we dont deploy. Dont think, although could be wrong. the script installs .net framework 4 like the installer does. it seems to run too quick. You need to make sure you either run the command after it has installed the msi if you deploy .net 4 from the network useing GPO or after all the windows updates have been completed. The next thing we have to deploy is sims discover. Edited March 22, 2013 by dany2010
sted Posted March 22, 2013 Posted March 22, 2013 it dosent i build dot net 4 into base images so not an issue
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now