Archive

Archive for the ‘service-is-it-managing’ Category

How to comprehensively identify your software packages using the MS-Installer infrastructure

  1. Problem:
    1. Some packages may have built-in checks which prevent installation. The built-in error messages may be difficult to interpret (even if you speak foreign languages).
    2. Some built-in checks may be erroneous.
    3. Product name and version may be difficult to identify.
    4. Etc.
  2. Solution: Take advantage of the features of the MS Installer infrastructure.
    1. If necessary (setup file does not come as an MSI file), try to unpack your setup file (7zip alone will work in many cases. There are more advanced free  extractors available on the web).
    2. with the the unpacked MSI’s
      1. run with the “/log” parameter  and to generate and examine the log file for more speaking (an English!) installation errors.
      2. Open  with MS-Orca to examine the software package properties: image.
      3. Right-click and “copy cell” : image
      4. Esp. note the following:
        1. “Make”
          1. Productname (base, qualified) variants
        2. “Model”
          1. GUID for Upgradecode (e.g. {00140000-0028-0000-1000-0000000FF1CE})
          2. Productname
        3. “Year”:
          1. GUID for Productcode ({90140000-0028-0804-1000-0000000FF1CE})
          2. ProductVersion
      5. you can edit your MSI with MS-Orca (better be sure what you are doing).
    3. you can compare this installer package with what you already have installed in the registry
      1. use a registry search tool
      2. you have to search the registry for the compressed GUIDs, to compress, use this: https://thomasplagwitz.com/tag/guid/.

Protected: Sanako Study 1200 Network Share Permissions

2012/11/07 Enter your password to view comments.

This content is password-protected. To view it, please enter the password below.

Sanako Study 1200 StudentRecorder.exe install in the LRC

Here is the screencast recording I made during local installation: . It includes the install option “static classroom” and (near the end) our classroom name.

No audio on listening stations and group rooms, and workaround

  1. Symptom: Headsets work (test feedback by putting microphone near headset speakers), but audio files from internet do not play with sound. 
  2. Cause: having to support 2 different kinds of headsets (USB with built-in soundcard versus traditional analog) in one PC software image.
  3. The workaround
    1. for temp staff is to start / run / sndvol32.exe and up the low volume sliders here: 20120912_153937
    2. for permanent staff is to unfreeze any computers that have been missed previously20120912_154121 and put this script into the all users startup folder now: 20120912_154205
  4. The solution: standardize on USB headsets when you get a chance.

More ways of making minor changes to a domain-joined, deepfrozen computer lab image

  1. Re-imaging a domain-joined, deep-frozen Windows XP language lab using Symantec Ghost and Deepfreeze can be a drawn-out process.
  2. Minor fixes can be achieved by unfreezing and using a Symantec-Ghost file task and a script that loads  the default user registry hive – here is how:
  3. sTempHive = """HKEY_USERS\Test"""
    
    '//vista and up: sDefaultUserHive = """%USERPROFILE%\..\Default\NTUSER.DAT"""
    
    sDefaultUserHive = """%USERPROFILE%\..\Default User\NTUSER.DAT"""
    
    sSName = oUtility.ScriptName
    
    set oShell = WScript.CreateObject ("Wscript.Shell")
  4. and alters it before freezing the lab again. Here are some examples of such fixes:
    1. change the default keyboard (after users logs in):
      oLogging.CreateEntry sSName & ": Setting US-International as Default Keyboard Layout",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Keyboard Layout\Substitutes\"
      
      oshell.RegWrite Regpath & "00000409", "00020409", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Default Keyboard Layout setting",LogTypeError
      
        ZTIProcess=60
      
        Exit Function
      
      End If
      
      
      
    2. change visibility of the developer tab in the ribbon of MS-Word:
      oLogging.CreateEntry sSName & ": Setting MS-Word Developer Toolbar to show",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Software\Microsoft\Office\14.0\Word\Options\"
      
      oshell.RegWrite Regpath & "DeveloperTools", "1", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update S-word developer tools settings",LogTypeError
      
        ZTIProcess=40
      
        Exit Function
      
      End If
      
      
      
    3. change the SDL-Trados licensing server IP:
      oLogging.CreateEntry sSName & ": Setting Default User Trados license server",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Software\Trados\Shared\Licence"
      
      oshell.RegWrite Regpath & "Licence_file", "27000@10.18.189.231", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Default User Trados license server setting",LogTypeError
      
        ZTIProcess=35
      
        Exit Function
      
      End If
      
      
      
      oLogging.CreateEntry sSName & ": Setting Default User Screensaver timeout settings",LogTypeInfo
      
      RegPath = "HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager"
      
      oshell.RegWrite Regpath & "Trados_License_File", "27000@10.18.189.231;27000@xlcs4sbynj1www", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Screensaver to timeout settings",LogTypeError
      
        ZTIProcess=30
      
        Exit Function
      
      End If
      
      
      
  5. On Ghost:
    1. We create a Ghost file task that points to the wsf file with the current changes we want to implement:
    2. imageimage 
      1. image To apply other changes, just change the filename of your script , e.g.: clip_image001
    3. to apply to other computers, just change the target in the ghost task.
  6. Output:
    1. image
    2. These scripts use the ZTIUtility.vbs from the MDT.
      1. You may have to update the location: <script language="VBScript" src="ZTIUtility.vbs"/>.
      2. For a while, the logging success made me believe I I had accessed the ntuser.dat and had run into registry permission settings loading it. In fact, I just did not resolve to the XP path of the ntuser.dat. Take advantage of the the logging facilities that come with MDT: Here are your logs on the client: image.
      3. Read the logs with TRACE32, part of the SMS 2003 Toolkit 2.
  7. Result: Provided the client has been cleanly frozen, and the domain user has no profile created before on this machine, and his profile is based on the altered default user profile, his HKCU will inherit the changes: image image

How to peek inside your MSI files with LessMSI

In spite of a few typos in the (generally very helpful) descriptions (and the pun at the cost of poor Victor), this seems a very useful tool that gives you an overview of what you are embarking on when installing software, like so:

image

image

LessMSI allows you can even extract individual files to investigate further:

imageMoreover, it is extremely easy to install using chocolatey after which it is going to be in your PATH, to be called as “LessMSI.bat”.

Yes, Chrome, you too can display my RSS feeds nicely…

… if you install this extension made by Google themselves (who, I think,  should include this RSS feed display extension in the default Chrome distribution):

image

image

No comparison with Internet-Explorer’s feed display, but much legible than the XML code display Chrome defaults to:

image

If students have no mp3 audio on LRCRoomCoed433a Listening Stations

Problem: A Student that took the French Respondus Lockdown browser on PC 43, when playing to listening comprehension files,  had no audio on her headset (except for her microphone input was played back for her. The test is single attempt only, and lockdown browser prevents us from troubleshooting.

Cause: Master volume for Wave and SW Synth on lrcroomcoed433b back to 0, like so:

Workaround: plug in one of the black headsets (USB) temporarily (plugging in another brown headset did not resolve the issue).

Solution: None currently: even when the Respondus lockdown browser is not running, Deepfreeze will not allow making changes, and changes in the current user profile will not affect users whose profiels gets created upon login (which is all student users). Longterm: Don’t try to run identical software images on different hardware configurations. Not as longterm: Autoit FTW?