• MSI FAQ 16

    Posted on July 30, 2012 by in MSI Interview Q’s

    The following are Frequently Asked Questions duirng an interview for Application Packaging Position:
    The question and answers are being collected from Various MSI blogs and Articles. My effort is confined to collecting as much material as possible from various sources and publishing it at once place.

    S No.

    Questions

    Answers

    151

    What is Environment Variable & its types?  • Environment Variables are the variables that are set by the Operating System &  Application.
    System Variable (Available for all users)
    User Variable (Available for that particular user)

    152

     What is Active Directory?

     

     Deploying applications through the Active Directory is done through the use of group policies, and therefore applications are deployed either on a per user basis or on a per computer basis.

    153

     How to register the DLL manually?

     By using the command line option “regsvr32”. For example

    regsvr32 Dll name For Register the Dll
    • regsvr32 /u For Unregistered the Dll
    • regsvr32 /s For Silent register 

    154

     What are INI File & its format?

     INI files are plain-text files that contain configuration information. “INI” stands for initialization.
    [Section]
    Keyname=value

    155

     What are the default Environment settings?

    ALLUSERSPROFILE — C:\Documents and Settings\All Users
    APPDATA — C:\Documents and Settings\current User\Application Data
    CommonProgramFiles — C:\Program Files\Common Files
    COMPUTERNAME — System Name
    ComSpec — C:\Windows\system32\cmd.exe
    HOMEDRIVE — C:
    HOMEPATH — C:\Documents and Settings\Current User
    ProgramFiles — C:\Program Files
    SystemDrive — C:
    SystemRoot — C:\Windows
    TEMP — C:\Documents and Settings\Local Settings\Temp
    TMP — C:\Documents and Settings\Local Settings\Temp
    USERNAME — Current User
    USERPROFILE — C:\Documents and Settings\Current User
    Windir — C:\Windows

    156

     What is “C:\Windows\CSC” folder ?

    The CSC (Client Side Cache) folder is where Windows keeps the information about offline folders.
    This folder location can be changed to some other location by editing the registry key “DatabaseLocation” under
    the following node.
    HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache
    Tips to clear this cache:
    Set the following registry key and restart the computer.
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSC\Parameters]
    “FormatDatabase”=dword:00000001

    157

     How to register Fonts using batch file.  

    copy the fonts files in %windir%\fonts folder and then update the registry using reg.exe command, the keypath to update is “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts”.

    158

     In which table files are stored

     

     None, they can either be outside of the msi file in the form of CAB file or as separate files. Internal CAB files are (or can be) stored inside the MSI database, which is a COM structured storage file; the files don’t appear in any table.

    159

     What file types can not be extracted using Admin Installation from a properly created MSI.  INI files cannot be extracted as they are stored in INI table.

    160

     What is Single Package Authoring  The development of a dual-purpose Windows Installer 5.0 package for installation on Windows 7 and Windows Server 2008 R2 is referred to as single package authoring.
    Be Sociable, Share!
      Post Tagged with , ,

    Written by

    View all articles by

    Email : [email protected]

    Leave a Reply