+ Post New Thread
Page 4 of 9 FirstFirst 12345678 ... LastLast
Results 46 to 60 of 127
MIS Systems Thread, Deployment of SIMs in Technical; I think this is something I'm going to look into - thought will need to be via AutoIT since I ...
  1. #46

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,820
    Thank Post
    883
    Thanked 685 Times in 454 Posts
    Rep Power
    505

    Re: Deployment of SIMs

    I think this is something I'm going to look into - thought will need to be via AutoIT since I dont have access rights to edit staff GPO's

  2. #47
    Ravening_Wolf's Avatar
    Join Date
    Oct 2006
    Location
    Essex :(
    Posts
    290
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    18

    Re: Deployment of SIMs

    Is there any chance someone can document the SIMS MSI creation process for the Wiki please? I've gone through the previous threads but I really don't know which software I should be using, how to run the switches etc etc.

    I'd really like to make an MSI for deployment via GPO rather than a logon script too. Please....?

  3. #48
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    35

    Re: Deployment of SIMs

    I don't think it's a good idea to repackage SIMS into an MSI for several reasons.

    1 - It's .NET app, which can be awkward to repackage
    2 - SIMS release regular updates which would be difficult to keep on to of.
    3 - If SOLUS ran on a PC which had been installed from a repackaged MSI and it replaced some files, the MSI self repair may kick in and put back older files.

    For those reasons, I went down the route of wrapping the SIMS installers in and MSI. That appeared to work initially, but I later discovered that SIMSInfrastructureSetup.exe was not installing correctly because it wraps around the Microsoft .NET 1.1 installer, which is also MSI based. Doing a nested MSI install like this appears not to work. The MSI had appeared to work initially because all the PCs I used it on had .NET 1.1 installed anyway.

    I'm now at the point of doing the install from a startup script. Once I've tested my AutoIt script, I'll post it.

  4. #49
    Grommit's Avatar
    Join Date
    Sep 2006
    Location
    Weston-super-Mare
    Posts
    1,335
    Thank Post
    31
    Thanked 54 Times in 31 Posts
    Rep Power
    25

    Re: Deployment of SIMs

    Quote Originally Posted by ajbritton
    Quote Originally Posted by Grommit
    What about the SIMS folder Permissions to Domain Users with Modify Rights ?
    That's handled by SIMSPERM.BAT
    Does the SIMSPERM do folder modify rights ? really ?!?

  5. #50
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    35

    Re: Deployment of SIMs

    Quote Originally Posted by Grommit
    Quote Originally Posted by ajbritton
    Quote Originally Posted by Grommit
    What about the SIMS folder Permissions to Domain Users with Modify Rights ?
    That's handled by SIMSPERM.BAT
    Does the SIMSPERM do folder modify rights ? really ?!?
    Which folder are you referring to? SIMSPERM takes a single command line parameter which should be an NT/2K group (or user I suppose) and grants it the following permssions on the PC on which it is run;

    Full Control on
    %WinDir%\SIMS.INI
    %ProgramFiles%\SIMS (including all files/subfolders)
    %AllUsersProfile%\Start Menu\Programs\SIMS Applications (including all files/subfolders)

    Registry permissions on
    HKLM\Software\Classes
    HKLM\Software\Classes\Interface
    HKLM\Software\Classes\CLSID
    HKLM\Software\Classes\TypeLib

    SIMSPERM does this using SubInAcl

  6. #51
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    23

    Re: Deployment of SIMs

    we use a batch file on start up to install sims.

    if exist "c:\program files\sims\installed1" goto :eof ELSE
    @echo off
    net use q: \\servername\
    q:
    cls
    echo.********************************************* **********************************
    echo.********************************************* **********************************
    echo.**************Installing Sims Please wait for wait for*************************
    echo.***************this screen to close before continuing**************************
    echo.********************************************* **********************************
    echo.********************************************* **********************************

    q:\servername\SIMSInfrastructureSetup.exe -a {QuietMode}

    q:\servername\SIMSapplicationsetup.exe /s {QuietMode} {NoServerApps} [SIMSDirectory]="K:\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

    q:\servername\SIMSMAnualSetup.exe /s {QuietMode} {NoServerManuals} [SIMSDirectory]="K:\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

    q:\servername\SIMSAMPARKSetup.exe /s {QuietMode} {NoServerApps} [SIMSDirectory]="K:\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

    md "c:\program files\sims\installed1"

    xcopy q:\sims\connect.ini "c:\program files\sims\sims .net\" /h /y
    net use q: /d /y
    change "servername" to where ever the sims exe files are. and change "K:\sims\" to the drive mapped to access sims. i found i needed the extra "\" at the end becuase it kept asking for the connect.ini location.

    if anyone has an easier way of doing this let me know.

  7. #52
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,987
    Thank Post
    275
    Thanked 52 Times in 46 Posts
    Blog Entries
    2
    Rep Power
    48

    Re: Deployment of SIMs

    Thanks for posting that Tom.

    Do your machines update ok after installing in this way? My method is very similar - but simsload doesn't upgrade the machines. Not _so_ bad as we run the install again when we want the upgrade installing - so speeding things up a bit for staff.

    (I script the sims user group addition to the power user group as well.)

  8. #53
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    23

    Re: Deployment of SIMs

    well ours did upgrade on the newer version as the shortcut staff use have the simsload.exe in it. since the last update it looks like it isnt updating automatically i dont know why though, i wrote a batch file to look for the "c:\program files\sims\installed1" folder that i told my batch file to create and delete it so that next time the computer restart it just installs sims again but with the newer and updated exe files.

    It is a long winded way to go but i havnt been able to figure any other way to make this easier.

    im not sure about altering the sims users groups to be honest it was already set up and i just had to work around to get it all working properly.

  9. #54
    fooby's Avatar
    Join Date
    Dec 2005
    Posts
    351
    Thank Post
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    20

    Re: Deployment of SIMs

    Code:
    @echo off
    rem check for sims folder, we dont really need this check anyway
    if exist "c:\program files\sims" goto :itsthere ELSE
    :inst
    rem map a lovely drive
    net use q: \\tcc-admin\f\public\sims
    q:
    cls
    echo.*******************************************************************
    echo.*******************************************************************
    echo.***************** Installing SIMS.net... Please wait for **********
    echo.***************** this screen to close before continuing **********
    echo.*******************************************************************
    echo.*******************************************************************
    rem run setups
    rem i havent actually added the code to delete the sims folder, butits easy
    
    rem this should do it, maybe need the /s switch though
    del "c:\program files\sims\sims.net"
    
    q:\setups\SIMSInfrastructureSetup.exe -a {QuietMode}
    q:\setups\SIMSapplicationsetup.exe /s {QuietMode} {NoServerApps} [SIMSDirectory]="F:\public\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"
    q:\setups\SIMSMAnualSetup.exe /s {QuietMode} {NoServerManuals} [SIMSDirectory]="F:\public\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net" 
    q:\setups\SIMSAMPARKSetup.exe /s {QuietMode} {NoServerApps} [SIMSDirectory]="F:\public\SIMS\" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"
    xcopy q:\connect.ini "c:\program files\sims\sims .net\" /h /y
    rem run permissions fixer
    call q:\simsperm.bat tcc-nt4\staff
    
    goto :end
    :itsthere
    echo.*******************************************************************
    echo.******************************************************************* 
    echo.************** SIMS.net appears to be already installed *********** 
    echo.**************** Press Y to delete and reinstall this *************
    echo.******************************************************************* 
    echo.******************************************************************* 
    echo.
    choice /C YN /M "Press Y to delete and re-install SIMS.net, or N to cancel this installer."
    if errorlevel 2 goto :end
    if errorlevel 1 goto :inst
    rem choice was copied from windows server 2003  box here.
    
    :end
    echo SIMS.net installation cancelled.
    
    net use q: /d /y

    I hacked about with your cmd script and came up with this. This would not be logon / startup scripted and would be used to reinstall at the computers console while you are stood there.

    fooby

    P.S Simsperm.bat needs to be run from your sims server with the working directory set there, the file contains this.

    SIMSPerm.bat is called in my cmd script with the variable for my staff group here "tcc-nt4\staff" this would be different if your domain was "cheese" and the user group called "ham"... ie "cheese\ham"

    Code:
    @echo off
    
    if "%1" == "" goto :usage
    
    SubInAcl /FILE "%WINDIR%\SIMS.INI" /GRANT=%1=F
    
    SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes /GRANT=%1
    SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID /GRANT=%1
    SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface /GRANT=%1
    SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib /GRANT=%1
    
    if "%ALLUSERSPROFILE%" == "" goto :skip_simsapps
    SubInAcl /FILE "%ALLUSERSPROFILE%\Start Menu\Programs\SIMS Applications\*.*" /GRANT=%1=F
    SubInAcl /FILE "%ALLUSERSPROFILE%\Start Menu\Programs\SIMS Applications" /GRANT=%1=F
    SubInAcl /SUBDIRECTORIES "%ALLUSERSPROFILE%\Start Menu\Programs\SIMS Applications\*.*" /GRANT=%1=F
    SubInAcl /SUBDIRECTORIES "%ALLUSERSPROFILE%\Start Menu\Programs\SIMS Applications" /GRANT=%1=F
    goto :after_profile_warning
    
    :skip_simsapps
    echo. 
    echo ** WARNING: The Environment Variable for All Users Profiles is not set on this pc,
    echo **  cannot grant permissions for the SIMS Applications Program Folder.
    echo.
    
    
    :after_profile_warning
    
    
    if "%ProgramFiles%" == "" goto :skip_simsdir
    SubInAcl /FILE "%ProgramFiles%\SIMS\*.*" /GRANT=%1=F
    SubInAcl /FILE "%ProgramFiles%\SIMS" /GRANT=%1=F
    SubInAcl /SUBDIRECTORIES "%ProgramFiles%\SIMS\*.*" /GRANT=%1=F
    SubInAcl /SUBDIRECTORIES "%ProgramFiles%\SIMS" /GRANT=%1=F
    goto :after_simsdir_warning
    
    :skip_simsdir
    echo. 
    echo ** WARNING: The Environment Variable for the Program Files Folder is not set on this pc,
    echo **  cannot grant permissions to the SIMS Application Folder.
    echo.
    
    
    :after_simsdir_warning
    goto :end
    
    :usage
    echo.
    echo "Usage simsperm [domain]\<username>  or   simsperm [domain]\<user group>"
    echo.
    :end

  10. #55
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    23

    Re: Deployment of SIMs

    thanks for that i will have a look in to it.

    the only problem i have had with running the script is as its a silent install nothing happen on start up so i have had a few teacher turn there laptops off thinking it was crashed.

    For some reason the echo command doesnt actually show when you run it as a start up script.

    is there a way of making this show or is this set somewhere else.

  11. #56
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    23

    Re: Deployment of SIMs

    been working on a AutoIT script for deploying sims if you look in the script part of the forum there was a discussion. so if anyone is interested in the script it is up there or send me a message if you have any trouble.

  12. #57

    Join Date
    Apr 2007
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Deployment of SIMs

    Quote Originally Posted by ajbritton
    I've done my own AutoIt script which I'm hoping to test soon. If it's OK and anyone is interested then I'll post it. It's designed to be used as a GP assigned Startup Script and does the following...

    - Check for SIMS already installed. If not, then install SIMS (including running SIMSPERM.BAT)
    - Modify the SIMS.NET shortcut so that it just calls Pulsar.exe
    - Runs SIMSLOAD.EXE

    All the SIMS components (SIMSInfrastructureSetup, SIMSApplicationSetup & SIMSManualSetup) run silently but a simple progress bar is displayed to show the user that something is happening.
    I realise it has been a while since this was posted, but did you manage to get anywhere with this script?

  13. #58
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    35

    Re: Deployment of SIMs

    I have attached the script in it's present form. It's far from perfect.

    The configuration is stored in the INI file. The script contains a rudimentary GUI for modifying the settings. To access the GUI, run the script, answer 'NO' when asked if you want to run the script (!) then say 'YES' when asked if you want to configure it.

    To make the script run silently and do it's stuff, you need to add a command line parameter of '/s' or '/q' or '/silent' or '/quiet'.

    PS - My first go at GUI in AutoIT so it's not pretty.
    Attached Files Attached Files

  14. #59

    Join Date
    Apr 2007
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Deployment of SIMs

    Thanks for that, i shall have a look at my earliest opportunity.

  15. #60
    Ravening_Wolf's Avatar
    Join Date
    Oct 2006
    Location
    Essex :(
    Posts
    290
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    18

    Re: Deployment of SIMs

    I have had a go with the bat file documented above (I have modified it to suit my system setup) and it seems to run perfectly well when logged on. I have now added the bat to a GPO object to run at system shutdown but nothing happens - any ideas anyone?



SHARE:
+ Post New Thread
Page 4 of 9 FirstFirst 12345678 ... LastLast

Similar Threads

  1. [MS Office - 2010] Deployment happens how then??
    By soveryapt in forum Office Software
    Replies: 3
    Last Post: 12th August 2010, 02:32 PM
  2. VB Deployment (with DB)
    By Hightower in forum Coding
    Replies: 2
    Last Post: 26th April 2010, 09:52 AM
  3. OS Deployment
    By itgeek in forum O/S Deployment
    Replies: 3
    Last Post: 14th April 2010, 11:04 AM
  4. OS Deployment
    By Fatmas in forum How do you do....it?
    Replies: 9
    Last Post: 28th September 2009, 03:56 PM
  5. XP Deployment
    By edsa in forum How do you do....it?
    Replies: 23
    Last Post: 28th June 2007, 10:02 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •