Q&A: Windows Installer Basics:Part 2


General Questions

1.when repackaging a legacy scripted installation (setup.exe) through setup capture,why should you exclude the HKLM\software\microsoft\windows\currentversion\uninstall registry key if it is captured?

Every windows installer installation automatically creates its own values in this hive to support uninstallation

 2.How do you set permissions on a folder without editing the LockPermissions table directly?

            1.Write a custom action that executes to modify permission through the ACLs or Secedit.

          2.Use permission tab for the create folder object (wise studio) or

            Use properties of the folder (Installshield)

3.Which Custom action in MSI script (wise package studio)  can use for nested installation.

            Install MSI from Installation

4.Suppose Windows Installer installs package.msi ;package.msi has created a registry value, this registry value has been over writen by some other application later.Will the registry key that is a keypath to a component be  repaired when self healing is triggerd through the short cut?

            No, because regisrty value only are checked for selfhealing,not data in registry values.

5.Which process in re-packaging checks a windows installer database for consistance and compliance with microsoft best practices?

            Package Validation

6.In wise package studio which INI file contains exclusion list?

            Repackage.ini

7.What is the prefered method for customizing a vendor supplied MSI?

            Create Transforms for customizations.

8.What is the industry defenition of a clean machine

            Operating system and service packs only.

9.When you add a file to an installation that already exisits in another feature with the same file name ,which table the new file will be added to?

 Duplicate file

10.What is the best method to repackage Microsoft office.

            Use Microsoft resource kit to create transforms.

11.Which installation sequence do you use to place custom actions that must run in the System context?

            Execute Deffered

12.What is the best way to ensure all features of an MSI are installed during installation?

            Set ADDLOCAL=ALL

13.What effect does a custom action with the synchronous processing option selected have on the installation?

                Windows installer waits for the custom action to complete before continuing the main installation.

14.How will you identify public properties?

            They are all uppercase.

15.Which condition in custom action enable that custom action to run during uninstall?

            1.No condtion is necessary

            2.REMOVE=”ALL”

Advertisements

1 Response to “Q&A: Windows Installer Basics:Part 2”


  1. 1 Ryan August 2, 2013 at 5:00 pm

    Hi, i believe that i saw you visited my blog thus i got here to go back the prefer?
    .I am attempting to find issues to enhance my web site!I
    suppose its ok to make use of some of your ideas!
    !


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: