Sunteți pe pagina 1din 11

Application Packaging

Demo
By
Avinash Jagarlamudi
MSI ,EXE. How MSI Works
Features of MSI
Types of MSI Upgrades
Tech Review
Windows Registry Tool regedit
RePackaging Using Adminstudio
Creating Customised Packages Using Vbscript and Powershell
Creating Packages in SCCM 2012
Creating SCCM Collections
Deploying Packages using SCCM 2012 Admin Console

Application Packaging Demo


Microsoft Windows Installer is a component of the Windows operating
system. Windows Installer provides a standard foundation for installing
and uninstalling software. Software manufacturers can create the setup of
their products to use Windows Installer to help make software installation,
maintenance, and uninstallation straightforward and easy.
MSI Consists of Products, features and Components and ends with .msi
Extension.
Installation of msi using cmd

Msiexec /i path of source of msi


Uninstalltion of msi
Msiexec /x path of source of msi

Application Packaging Demo


Application Packaging Demo
Application Packaging Demo
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 major
difference between packaging and re-packaging is that in packaging
the source files does not come in the form of package whereas 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 Demo


://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
Property Table
ALLUSERS = 0 Per User; 1 Per Machine; 2 Try Per Machine
first
ARP* - Configure Add/Remove Programs
INSTALLLEVEL Controls which features get installed
REBOOT = Force/Suppress/ReallySuppress
TRANSFORMS = Path to transforms
REINSTALLMODE = omus (reinstall files, registry, and
shortcuts); v recache msi
SOURCELIST Specify any number of network locations
(only used for new installs/advertisements)
User and Computer Variables
ComputerName, LogonUser, UserSID, AdminUser, System
Folders

Application Packaging Demo


Feature Logical portion of the product
Component Atomic piece of the installer (a file, a
directory, reg keys from a single hive, a mime type
registration, etc.)
FeatureComponent Maps atomic pieces to their
feature
Attributes bitmask that controls which whether
atomic unit is favored local, favored source, shared,
permanent
Conditions

Notes
Features have a parent/child relationships
A component can be mapped to multiple features

Application Packaging Demo


With legacy installations in the past, there
might be two applications using the same
file, but one might be designed to run on an
older version. This led to .DLL hell where
the installation of one application would
cause other applications to stop working.
Inevitably the process of rolling back or
uninstalling the program resulted in system
down time and - more severe cases - having
to rebuild the PC completely and reinstall all
your software.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsof
t\Windows\CurrentVersion\Uninstall
Registry Hives

S-ar putea să vă placă și