Skill : Application Packaging
Questions : 30
Type: Job Interview Questions
35 MOST ASKED APPLICATION PACKAGING INTERVIEW QUESTIONS AND ANSWERS PDF
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.
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.
System Variables: HKLM\System\Current Control Set\Control\Session Manger\Environment
User Variables: HKCU\Environment
- 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)
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.
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)
- Service Install (Service Details)
- Service Control (Controlling the service during Installation & Un Installation)
Most of the Service information are stored under the windows registry have HKLM\System\CurrentControlSet\Name of the Service
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).
INI files are plain-text files that contain configuration information. “INI” stands for
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).
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.
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.
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.
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.
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.
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.
- Products (Collection of Features)
- Features (Collection of Components)
- Components (Collection of files and Registries)
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.
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.
- Installation on Demand
- Repair (Self-healing)
- Rollback (Transactional operations)
- Managed Shared Resources
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.
- CA DSM
- Altiris Client Management Suite
- Altiris Notification Server Console
- Microsoft Systems Management Server (SMS)
- Wise Package Studio
- Install Shield
- SMS Installer
- Wise for Windows Installer.
- Wise Package Studio.
- Install Shield.
- SMS Installer.
- WIX (It cannot be used for re-packaging).
- Visual Studio.
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.
- 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).
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.
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