Silo - Tips - Application Packaging Interview Questions and Answers PDF
Silo - Tips - Application Packaging Interview Questions and Answers PDF
MSI => Microsoft Installer. It is an installation, in the form of a single file. It is actually a Databas e
that contains several tables (80+) each of this table contains instructions and set-up inform ation
ÿ Self Healing
ÿ Roll Back
ÿ Install on Demand
ÿ Advertisement
ÿ Source resiliency
3. What is component?
Collection of resources that are always installed or rem oved as a unit from a user system like files
and folders and regis tries
A Res ource in the component which is used to identify whether the com ponent is installed or not
0 => 0X0000
msidbComponent attributes local only
2 => 0X0002
msidbComponent Attributes Optional
4 => 0X0004\
msidbComponent Attributes Registry Key-path
8 => 0X0008
msidbComponent Attributes SharedDLL Count
Installer increments the shared dll count in the shared dll regis try.
If it is not set the installer increments the reference count only, if the reference count is already
exist.
16 => 0X0010
msidbComponent Attributes Permanent
This bit is set the value in the key-path colum n a key into the ODBC data source.
64 => 0X0040
msidbComponent Attributes Transitive
Installer does not ins tall or reinstall the component if key-path file or key-path regis try entry of the
component already exists.
256 =>0X0100
,
If the bit is not set , the component is regis tered as a32-bit component. If this is a 64-bit component
replacing 32-bit.
Registry disable reflection key on each key being acces sed by the component
If is available with windows installer version 4.0. The bit is ignored on 32-bit system ignored on the
64-bit version of windows XP..
v Acquisition: The Installer installs the feature and then progresses through the
action specified in the sequence tables of the installation database. This action query the
installation database and generates a script that gives a step by step procedure for
performing the installation .
v Execution: Install passes the information to process with elevated privileges and
run the script.
v Rollback: If an installation unsuccessful. The installer restores the original state of
the computer it generates the rollback script simultaneously to the script . installer saves
a copy of every file it deletes during the installation these files are kept in hidden system
directory.
Once installation is completed the rollback script and the saved files are deleted.
When we give feature name to ADDLOCAL property windows installer adds that feature.
11. Why more than one MSIEXEC run in the task manager while installing the MSI?
While a MSI getting ins talled, We see 3-4 MSIEXEC running in tas k manager, they are MSI server,
Client and Services and the 4th one will be seen when a cus tom action is getting installed
Red Components is an error component, When components is not satis fied the com ponent rules
then we got red component.
when component satisfies the component rules then only we resolve red com ponents .
Allows companies to prepackage and share standard components definitions, Merge modules are
used to deliver shared code, files, res ources, registry entries us ed setup logic to application as a
single com pound file.
Extens ion of merge modules is .msm.
Module Signature, Module Com ponent, Module Dependency, Module Exclusion, Module Admin UI
Sequence, Module Ignore, Module Sub Situation, Module Configuration.
Shared DLL component is a DLL file have common to the similar component/product is known as
shared DLL.
If we set component as permanent none of the component data are removed from the target, When
we un-install the component features .
22. Can a component have sub-component?
Sem i colum n-decimated lis t of network or URL source paths to the applications installation package.
This lis t is appended to the end of each us ers existing source lis t for the applications .
per user installation: HKCU\Software\Microsoft\Ins taller\Products\Source Lis t.
Yes, We can create merge module through Wise package studio and Installed studio.
MSI: Include multiple application allowing you to ins tall a suite of applications in a single step.
in this case , the installer should include merge modules for all components used any of the
included application
MSM: Snap Shot of a particular version of component .
30. What is Environment variable? Where environment variables stored in MSI tables?
Environment variables are the variables that are set by the Operating System and application
∑ User Variables(Available for that particular user)
Create Higher vers ion of the current (exis ting) version of a product
Types of upgrades:
Update(Small): Just we can add patches or Hot fix or Quick Fixes engineering. add
a few files possibly add some new content. But there is a limitation for the change that
can made to the feature component structure for the package. Only the package code has
been changed.
Minor Update: There is limitation for Changes, that change can be made to the
feature-component structure for the package. The package code and product version is
changed
It is also called as "service pack".
Major Update: There is no limitation for changes, That change can be made
feature-component structure for the package
The product code, product version and package code also changed.
Products:
Product is an application.
Single ins talled program (or program s), The product can identified by unique GUID. A product is not
sam e as package.
Features
Windows installer configuration command operates only on features(ins talling, uninstalling and
advertising), self healing, ins tall-on-demand and user profile fix-up operate at the feature level.
Components
Collection of resources that are always installed or rem oved as a unit from a user system like files
and folders and regis tries , Every Component as signed a unique com ponent GUID.
34. Where System Variables and User Variables are stored in the registries?
Windows services are a background process which is loaded by the control manager of the OS.
Properties are global variables, Microsoft windows ins taller us es during an installation.
Public: Ins taller can be us e internally and externally (can be changed during Runtime als o)
Ex: INSTALL LEVEL
Restricted Public: Installer can't be us ed internally and externally for security purpos e.
Ex: ALL USERS, REMOVE, REBOOT, REINSTALL MODE....
Through perm ission table or Secedit.exe or Subinacl.exe or through VB Script Using the CACLS,
XCACLS commands
39. What are the types Setup Capture in wise package studio/ Install shield?
Virtual capture: Creates clean virtual OS on your Com puter, and the installation is redirected in
the clean Virtual OS.
Smart Monitor: Watches the installation and records the changes the installations performs
Snap Shot : Scan the computer before and after the installations and records the difference
between the first scan and second scan.
Installation Monitor: Repackages watches lower level system activities and records related
changes made to the system by the setups program s.
Snap Shot: Scan the computer before and after the installations and records the difference
between the first scan and second scan.
A transform is a windows installer file with extension(.MST). It should be used along with a MSI to
custom ize or Change the ins tallation package without modifying the MSI. The installer can only apply
,
It means that the Application(MSI) is packaged by calling the exe(executable file ) inside the MSI
Patch is Streaming process for updating earlier vers ions of a windows installer setup package i.e
when you update only files that already exist in your ins tallation package. Only the Package Code is
changed.
The Package Code is a GUID identifying a particular Microsoft windows installer package. It
associates an .MSI file
App search action is used to search for exis ting version of products(files, regis try, ini..)
The windows Operating System recognizes file types and as sociates them with programs bas ed on
their files extens ion. A file that carries no extension or no associated program is called Orphaned.
Shortcuts are the entry points to the application 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 called command line
shortcuts.
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