Tuesday, April 8, 2008

Software Application Packaging Overview

Software Packaging also some times termed / called as Scripting is becoming more important to the business.

Software Packaging has many forms, basic form starts from generating a setup for installing the software on a PC or Computer.

Windows Installer plays an important role in stabilizing the installation of a sofware on a PC or computer and made the installation process Globally Unique by creating this technology. Also most frequently termed as generation of MSI's.

1 comment:

Generator said...

#1

Active Setup(Application Packaging)
----------------------------------
-----------------------------------
What, Why and How

What is Active Setup
============================
When a setup is being installed in system context and needs to write data into all the users who login to the machine.

Active Setup facilitates a way to write user specific data or settings.

Why Active Setup and why not advertised shorcuts or ...
============================
The most example is a silent installation in system context for Plug-in's or some user settings E.g: Outlook installation Configuration

How to do
============================
Create the registry following registry node in HLKM

HKLM\Software\Microsoft\Active Setup\Installed Components\((GUID))

GUID - as this is unique

and Following 2 keys along with values (values : based on your requirement)

Key #1
------

Key Name : StubPath
Key Type : REG_SZ
Value : ((Location or Command))

Key #2
------
Key Name : Version
Key Type : REG_SZ
Value : 1

How it Works
=============

On every login, the operating system checks for following two keys are exactly the same or not

HKLM\Software\Microsoft\Active Setup\Installed Components\((GUID))

HKCU\Software\Microsoft\Active Setup\Installed Components\((GUID))

So.. as we have create the StubPath registry in HLKM, the operating system will executing the command given the StubPath

Dont Forget
===========

Don't forget to create the

HKCU\Software\Microsoft\Active Setup\Installed Components\((GUID))

after your requirement is executed, if not , operating system will execute your command everytime the same user login