Skill : Application Packaging
Questions : 30
Type: Job Interview Questions

35 MOST ASKED APPLICATION PACKAGING INTERVIEW QUESTIONS AND ANSWERS PDF

Detail the Background mechanism of Merge Module?

If there are a number of applications that require a specifically configured component, it would be possible to create a merge module that installs and configures that component. That merge module could then be added to the installation packages of each product that required that particular component.
This saves the effort of having to individually add the necessary files, registry entries, and other components to every installation. It also saves time if updates are needed, as instead of updating the installations for all five applications, only the merge module is updated, and the installations only need to be rebuilt.

Name few Merge Module tables?
  • ModuleSignature,
  • ModuleComponents,
  • ModuleDependency,
  • ModuleExclusion,
  • ModuleIgnore,
  • ModuleSubstitution,
  • ModuleAdminUISequence,
  • ModuleAdminExecuteSequence,
  • ModuleConfiguration,
  • ModuleAdvtUISequence,
  • ModuleAdvtExecuteSequence,
  • ModuleInstallUISequence,
  • ModuleInstallExecuteSequence.
What is Merge Module?

Merge modules are a mechanism in Windows Installer that allows companies to prepackage and share standard component definitions. Merge modules are used to deliver shared code, files, resources, registry entries and setup logic to applications as a single compound file.

Where System Variables and User Variables are stored in the registries?

System Variables: HKLM\System\Current Control Set\Control\Session Manger\Environment
User Variables: HKCU\Environment

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)
What is File Association?

The Windows operating system recognizes file types and associates them with programs based on their file extension. A file that carries no extension or no associated program is called Orphaned.

What is ODBC & DSN and its types?

ODBC means Open Database Connectivity. The purpose of ODBC is to allow the user to access data from any application. The layer between the application and the DBMS called DSN.
System DSN (DSN will be available for all users)
User DSN (DSN will be available for that particular user)

in the MSI, which tables contain information about the service details?
  • Service Install (Service Details)
  • Service Control (Controlling the service during Installation & Un Installation)
Where is Service information stored?

Most of the Service information are stored under the windows registry have HKLM\System\CurrentControlSet\Name of the Service

What are Services & its types?

A windows service is a background process which is loaded by the Service Control Manager of the OS.
Win32 Service (Win32 services are the services which is running by the executable file installed by the Application).
System or Kernel Services (Kernel services are the services which are used by the OS to communicate to the hardware devices).

What are INI File & its format?

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

What are Shortcuts & Types?

Shortcuts are the entry points to the applications installed on the system which is normally points to a file:
Advertised (File should be Installed by the Application).
Non Advertised (File that is not part of Installation. It is also called Command Line shortcuts).

What is File Association?

The windows Operating System recognizes file types and associates them with programs bas ed on their files extens ion. A file that carries no extension or no associated program is called Orphaned.

What is Custom action?

The Microsoft Windows Ins taller provides many built- in actions for performing the ins tallation process. For som e cases the developer writes an action to execute his own installation is called Custom Actions.

What is self-healing?

When an MSI-based application is launched (by clicking on an advertised shortcut or file type association), Windows Installer checks the existence of key path items. If there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file or registry is missing), then the related feature is reinstalled. This process is also known as self-healing or self-repair.

What is Component?

Components are collections of resources that are always installed or removed as a unit from a user’s system. A resource can be a file, registry key, shortcut, or anything else that may be installed. Every component is assigned a unique component code GUID.

What is Feature?

Features are buckets for Components. Windows Installer configuration commands operate only on Features (installing, advertising, Uninstalling). Self-healing, installon- demand and user profile fix-up operate at the Feature level.

What is Product?

A single, installed, working program (or set of programs) is a product. A product is identified by a unique GUID (the ProductCode property). A product is not the same as a package: a single MSI package might install multiple different products. For example, an MSI might install French and English versions of a program, each of which is a different product.

Structure of MSI?
  • Products (Collection of Features)
  • Features (Collection of Components)
  • Components (Collection of files and Registries)
What is a MSI?

MSI is Microsoft Windows Installer. It is an installation, in the form of a single file. It is actually a database that contains several tables (80+). Each of these tables contains instructions and set-up information.

MSI Installation Mechanism (Background Mechanism)?

Acquisition: The Installer first installs the feature and then progresses through the actions specified in the sequence tables of the installation database. These actions query the installation database and generate a script that gives a step-by-step procedure for performing the installation.
Execution: The installer passes the information to a process with elevated privileges and runs the script.



Rollback: If an installation is unsuccessful, the installer restores the original state of the computer. When the installer processes the installation script, it simultaneously generates a rollback script. In addition to the rollback script, the installer saves a copy of every file it deletes during the installation. These files are kept in a hidden,system directory. Once the installation is complete, the rollback script and the saved files are deleted.

Benefits of the Windows Installer?
  • Advertising
  • Installation on Demand
  • Repair (Self-healing)
  • Rollback (Transactional operations)
  • Managed Shared Resources
What is Windows Installer?

Windows Installer (previously known as Microsoft Installer) is a built-in Operating System service for Installing and Managing Applications. It provides a standard method for developing, customizing, installing and updating applications. It is an engine for the installation, maintenance, and removal of software on modern Microsoft Windows systems. The installation information, and often the files themselves, are packaged in installation packages, loosely relational databases structured as OLE COM Structured Storages and commonly known as MSI files, from their default file extension. Windows Installer contains significant changes from its predecessor, Setup API. New features include a GUI framework and automatic generation of the uninstallation sequence. It is positioned as an alternative to stand-alone executable installer frameworks such as older versions of InstallShield and Wise Package Studio (later versions of both supports Windows Installer) and NSIS.

Name few Deployment tools?
  • Radia
  • CA DSM
  • Altiris Client Management Suite
  • Altiris Notification Server Console
  • Microsoft Systems Management Server (SMS)
Name few MSI Re-Packaging tools?
  • Wise Package Studio
  • Install Shield
  • SMS Installer
  • Marimba.
Name few MSI Packaging tools?
  • Wise for Windows Installer.
  • Wise Package Studio.
  • Install Shield.
  • SMS Installer.
  • Marimba.
  • WIX (It cannot be used for re-packaging).
  • Sharpdevelop.
  • Visual Studio.
Why repackaging is required & what are the problems in Legacy Installation?

Most common reasons for Re-packaging are as follows:

  • Customized Installation.
  • Reduce Support Costs.
  • Self Repair.
  • Source Resiliency.
  • Unattended Install.
  • The problems with Legacy Installations.
  • High Support Costs.
  • Fragile Installs & uninstalls.
  • Difficult & labor Intensive to deploy.
What are the steps of Repackaging?
  • Review the packaging requirements (User Requirement Review).
  • Analyze the vendor package (Tech Review).
  • Repackage the application (Setup capture).
  • Customize the package (Scripting).
  • Test the package (Testing & UAT).
  • Release the package to end users (Deployment).
What is Application Repackaging?

Repackaging (Customized Installation) is the process of capturing the changes made by an Installation Program (Package) and it is customized to support company standards and distribution methods.
It is not necessary to do setup capture to call it repackaging, even creating must files or is files can be called application repackaging.

What is Application Packaging?

Process of creating an installer for an application is called application packaging. Usually in it binary files provided by developers are packaged to form a package. The Main difference between packaging and re-packaging is that the source files does not come in the form of package in packaging where as in re-packaging they come in a form of a package, which might be MSI or legacy package (such as executable, batch files, etc).

Application Packaging Interview Questions For Experienced, Application Packaging Interview Questions With Answers, Application Packaging Interview Questions And Answers Sample, Application Packaging Interview Questions And Answers Pdf, Interview Questions And Answers On Application Packaging, Latest Application Packaging Interview Questions And Answers, Application Packaging Latest Interview Questions And Answers Pdf, Interview Questions And Answers For Application Packaging, Application Packaging Interview Questions And Answers For Experienced

.