This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Advantages Of Packaging (creating Msi Packages)? |
Answer»
|
|
| 2. |
What Is The Logical Structure Of Package? |
|
Answer» A PACKAGE describes the installation of a full product (Windows Installer does not handle dependencies between products) and is universally identified by a GUID. A product is made up of components, grouped into features. Components: A component is the minimal part of a product—each component is treated by Windows Installer as a unit: the install developer cannot, for example, use a condition to specify to install just part of a component. Components can contain files,groups of files, directories, COM components, registry keys, shortcuts, and other data. The end user does not directly INTERACT with components. Components are identified globally by GUIDs, thus the same component can be shared among several features of the same package or multiple packages, ideally through the use of merge modules (although, for this to work correctly, different components should not share any sub-components). Key paths: A key path is a specific file, registry key, or ODBC data source that the package author specifies as critical for a given component. Because a file is the most common type of key path, the term key file is commonly used. A component can contain at most one key path; if a component has no EXPLICIT key path, the component's destination directory is taken to be the key path. When an MSI-based application is launched, Windows Installer checks the existence of these critical files or registry keys (that is, the key paths). If there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file is missing), then the related feature is re-installed. This process is also known as self-healing or self-repair. No two components should use the same key path. Features : A feature is a hierarchical group of components—a feature can contain any number of components and other features (a feature contained in another feature is called a "subfeature"). Most installation programs display a "custom setup" dialog box at run time, from which the end user can SELECT which features to install or remove. The package author defines the product features. A word-processing program, for example, might provide features for the main program executable, the program's help files, and optional spelling CHECKER and stationery modules. A package describes the installation of a full product (Windows Installer does not handle dependencies between products) and is universally identified by a GUID. A product is made up of components, grouped into features. Components: A component is the minimal part of a product—each component is treated by Windows Installer as a unit: the install developer cannot, for example, use a condition to specify to install just part of a component. Components can contain files,groups of files, directories, COM components, registry keys, shortcuts, and other data. The end user does not directly interact with components. Components are identified globally by GUIDs, thus the same component can be shared among several features of the same package or multiple packages, ideally through the use of merge modules (although, for this to work correctly, different components should not share any sub-components). Key paths: A key path is a specific file, registry key, or ODBC data source that the package author specifies as critical for a given component. Because a file is the most common type of key path, the term key file is commonly used. A component can contain at most one key path; if a component has no explicit key path, the component's destination directory is taken to be the key path. When an MSI-based application is launched, Windows Installer checks the existence of these critical files or registry keys (that is, the key paths). If there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file is missing), then the related feature is re-installed. This process is also known as self-healing or self-repair. No two components should use the same key path. Features : A feature is a hierarchical group of components—a feature can contain any number of components and other features (a feature contained in another feature is called a "subfeature"). Most installation programs display a "custom setup" dialog box at run time, from which the end user can select which features to install or remove. The package author defines the product features. A word-processing program, for example, might provide features for the main program executable, the program's help files, and optional spelling checker and stationery modules. |
|
| 3. |
Difference Between Run, Run Once, Active Setup? |
|
Answer» Active Setup: It is USED when your application requires installation of components such as FILES or registry keys on a per-user basis, but application has no advertised entry points or other triggers to initiate the installation process. Run: The Run key is processed after every logon, either by the Explorer shell, if it is present, or by First Boot Agent (FBA), if a custom shell, Command shell, or Task MANAGER Shell is used. If FBA processes this key, it does so after every logon, not during first boot as it normally would. Typically, this flag is used to load Systray APPLICATIONS, launch services in executables, hide autostart applications, or hide background processes Run Once: The RunOnce key is processed only once, by FBA, after Plug and Play device enumeration and DLL REGISTRATION processing have completed. The values of this registry key are deleted from the registry after it is processed, so that it will not run again. Typically, this flag is used when a reboot is required, such as for a DLL or OCX registration, or for cleaning up a setup or an uninstall. Active Setup: It is used when your application requires installation of components such as files or registry keys on a per-user basis, but application has no advertised entry points or other triggers to initiate the installation process. Run: The Run key is processed after every logon, either by the Explorer shell, if it is present, or by First Boot Agent (FBA), if a custom shell, Command shell, or Task Manager Shell is used. If FBA processes this key, it does so after every logon, not during first boot as it normally would. Typically, this flag is used to load Systray applications, launch services in executables, hide autostart applications, or hide background processes Run Once: The RunOnce key is processed only once, by FBA, after Plug and Play device enumeration and DLL registration processing have completed. The values of this registry key are deleted from the registry after it is processed, so that it will not run again. Typically, this flag is used when a reboot is required, such as for a DLL or OCX registration, or for cleaning up a setup or an uninstall. |
|
| 4. |
What Is The Difference Between Repair And Self Healing? |
|
Answer» Self Heal and Repair are two different concepts in Windows Installer which people many times consider to be the same thing however there is difference in these two. Self Heal is triggered by advertised shortcuts, or other advertising information in the package which eventually Repairs the application. When the application is LAUNCHED by advertised SHORTCUT, it checks for all the key paths of the Current FEATURE, if any of the key paths is missing it will launch Repair. Note that if there are multiple features then it will not check the missing key paths of the other features, but only the feature of which the advertised shortcut is launched. Repair of an MSI can be triggered by: • Repair button in Add/Remove PROGRAMS • Giving the command line msiexec /f{other option} {MSI name} • Self Heal by advertised shortcut or other advertising information • Active setup Once the repair of the package is triggered, EVEN with Self Heal, then the whole of the MSI is reinstalled. Then it does not see that only the feature which triggered the self heal should be repaired, but the whole MSI, by which I mean, all its features are reinstalled. Self Heal and Repair are two different concepts in Windows Installer which people many times consider to be the same thing however there is difference in these two. Self Heal is triggered by advertised shortcuts, or other advertising information in the package which eventually Repairs the application. When the application is launched by advertised shortcut, it checks for all the key paths of the Current Feature, if any of the key paths is missing it will launch Repair. Note that if there are multiple features then it will not check the missing key paths of the other features, but only the feature of which the advertised shortcut is launched. Repair of an MSI can be triggered by: • Repair button in Add/Remove programs • Giving the command line msiexec /f{other option} {MSI name} • Self Heal by advertised shortcut or other advertising information • Active setup Once the repair of the package is triggered, even with Self Heal, then the whole of the MSI is reinstalled. Then it does not see that only the feature which triggered the self heal should be repaired, but the whole MSI, by which I mean, all its features are reinstalled. |
|
| 5. |
Use Of Installevel Property? |
|
Answer» The INSTALLLEVEL property is the initial level at which features are selected “ON” for INSTALLATION by default. A FEATURE is INSTALLED only if the VALUE in the Level field of the Feature table is LESS than or equal to the current INSTALLLEVEL value. The installation level for any installation is specified by the INSTALLLEVEL property, and can be an integral from 1 to 32,767. The INSTALLLEVEL property is the initial level at which features are selected “ON” for installation by default. A feature is installed only if the value in the Level field of the Feature table is less than or equal to the current INSTALLLEVEL value. The installation level for any installation is specified by the INSTALLLEVEL property, and can be an integral from 1 to 32,767. |
|
| 6. |
Explain The Difference Between Property And Property? |
|
Answer» PROPERTY: PRIVATE Properties in MSI (Properties that cannot be CHANGED during RUNTIME). PROPERTY: Public Properties (Properties that can be changed during runtime). Property: Private Properties in MSI (Properties that cannot be changed during runtime). PROPERTY: Public Properties (Properties that can be changed during runtime). |
|
| 7. |
What Are The Addlocal And Addsource Properties? |
|
Answer» ADDLOCAL: It will install the components (file resources) associated with the FEATURE locally on the CLIENT the package is installed on. ADDSOURCE: The files will be “installed” on the source MEANING where the MSI is ORIGINALLY located. There will actually not be any installation of files into the folder but they must exists as “external UNCOMPRESSED”. ADDLOCAL: It will install the components (file resources) associated with the feature locally on the client the package is installed on. ADDSOURCE: The files will be “installed” on the source meaning where the MSI is originally located. There will actually not be any installation of files into the folder but they must exists as “external uncompressed”. |
|
| 8. |
What Is Dll Cache Folder? |
|
Answer» It is the folder in which MICROSOFT Windows stores PROTECTED SYSTEM files. It is the folder in which Microsoft Windows stores protected system files. |
|
| 9. |
What Is Transaction Processing? |
|
Answer» One or more operations processed together as a single indivisible WHOLE CALLED a transaction. All the constituent operations must succeed for the transaction to succeed, otherwise all the operations are rolled back to the original state. Windows Installer 4.5 includes SUPPORT for installing multiple packages using transaction processing. The packages are CHAINED together and processed as a single transaction. If one or more of the packages in the transaction cannot be installed successfully or if the end USER cancels the installation, the Windows Installer initiates rollback for all of the packages to restore the system to its earlier state. One or more operations processed together as a single indivisible whole called a transaction. All the constituent operations must succeed for the transaction to succeed, otherwise all the operations are rolled back to the original state. Windows Installer 4.5 includes support for installing multiple packages using transaction processing. The packages are chained together and processed as a single transaction. If one or more of the packages in the transaction cannot be installed successfully or if the end user cancels the installation, the Windows Installer initiates rollback for all of the packages to restore the system to its earlier state. |
|
| 10. |
For Which Type Of Packages Admin Install Fail? |
|
Answer» Any MSI which INSTALLS files based on selection, be it from COMMAND line, System Search or SELECTED OPTIONS while installing. Any MSI which installs files based on selection, be it from command line, System Search or selected options while installing. |
|
| 11. |
What Is Admin Install And Command For It? |
|
Answer» The Windows Installer can perform an administrative installation of an application or product to a network for USE by a workgroup. An administrative installation installs a source image of the application onto the network that is similar to a source image on a CD-ROM. Users in a workgroup who have access to this administrative image can then install the product from this source. A user must FIRST install the product from the network to run the application. The user can choose to run-from-source when he installs and the installer uses most of the product's file directly from the network. Administrators can run an administrative installation from the command line by USING the /a command line option. The ADMIN action is the top-level action USED to INITIATE an administrative installation. When this action is executed the installer calls the actions in the AdminExecuteSequence and AdminUISequence tables to perform the administrative installation. Syntax: Msiexec /a package The Windows Installer can perform an administrative installation of an application or product to a network for use by a workgroup. An administrative installation installs a source image of the application onto the network that is similar to a source image on a CD-ROM. Users in a workgroup who have access to this administrative image can then install the product from this source. A user must first install the product from the network to run the application. The user can choose to run-from-source when he installs and the installer uses most of the product's file directly from the network. Administrators can run an administrative installation from the command line by using the /a command line option. The ADMIN action is the top-level action used to initiate an administrative installation. When this action is executed the installer calls the actions in the AdminExecuteSequence and AdminUISequence tables to perform the administrative installation. Syntax: Msiexec /a package |
|
| 12. |
What Is Advertisement And Command For Advertisement? |
|
Answer» It MEANS that, the Availability of an application to users or others with out actually the FULL Installation. There are TWO TYPES of Advertising. Assigning: An Application appears (shortcuts, files & registries) to a user or others, when an Application is “ASSIGNED”. When the user tries to open, it is installed upon demand. Publishing: No Entry points appear to a user or others, when an Application “published” to the group. It is activated only if the group Application activates the published Application i.e. Installation on Demand. Syntax Ø msiexec /j [{u|m}] package Parameters Ø /j : Advertises a product. It means that, the Availability of an application to users or others with out actually the full Installation. There are two types of Advertising. Assigning: An Application appears (shortcuts, files & registries) to a user or others, when an Application is “assigned”. When the user tries to open, it is installed upon demand. Publishing: No Entry points appear to a user or others, when an Application “published” to the group. It is activated only if the group Application activates the published Application i.e. Installation on Demand. Syntax Ø msiexec /j [{u|m}] package Parameters Ø /j : Advertises a product. |
|
| 13. |
What Are The Disadvantage/drawbacks Of Msi? |
|
Answer» Resiliency: Resiliency can be inconsistent with repackaged applications because the repackager UTILITY may not fully understand the component dependencies or what the key paths of the application should be. Therefore, an application may be packaged into one LARGE feature that gets entirely reinstalled if a component keypath is missing. If it were broken up into multiple smaller features it would enable a more manageable resiliency. COM/ActiveX Registration: Component Object Model (COM) and ActiveX controls may not be PROPERLY registered. Prior to Windows Installer, COM and ActiveX registration was a black box. Except for the exported functions DLLRegisterServer and DLLUnregister server, COM and ActiveX controls offered very few hints of their registration process. RegSvr32.exe was responsible for calling the previously mentioned functions and then the DLL was responsible for registering itself. There is no utility that can view a DLL, an OCX, or an EXE and figure out what goes on inside DllRegisterServer and DllUnregisterServer for that file. There are standard registry entries that most COM and ActiveX controls register, such as HKCRCLSID, HKCRProgID, and HKCRTypeLib. Information on COM registration may or may not get entered into the APPROPRIATE MSI tables by the repackager. Shortcuts: Shortcuts may not be created as Windows Installer descriptor shortcuts, which enable resiliency. Legacy setup shortcuts were .lnk files that pointed to an executable in most cases. Sometimes when the repackager runs, all it knows is that an .lnk file was copied to a directory. For example, a legacy Setup.exe INSTALLED a shortcut to C:WindowsProfilesUser1Desktop. The repackager would copy the .lnk file directly to the directory listed previously. Therefore, the repackager is not actually copying a Windows Installer shortcut, but rather it is copying a file without any resiliency capabilities included. Isolated Components: The only way to take advantage of isolated components is to author a new MSI package. Repackagers currently do not support this feature. Application Removal:When uninstalling a repackaged application, it is possible that the AllUsers profile. Resiliency: Resiliency can be inconsistent with repackaged applications because the repackager utility may not fully understand the component dependencies or what the key paths of the application should be. Therefore, an application may be packaged into one large feature that gets entirely reinstalled if a component keypath is missing. If it were broken up into multiple smaller features it would enable a more manageable resiliency. COM/ActiveX Registration: Component Object Model (COM) and ActiveX controls may not be properly registered. Prior to Windows Installer, COM and ActiveX registration was a black box. Except for the exported functions DLLRegisterServer and DLLUnregister server, COM and ActiveX controls offered very few hints of their registration process. RegSvr32.exe was responsible for calling the previously mentioned functions and then the DLL was responsible for registering itself. There is no utility that can view a DLL, an OCX, or an EXE and figure out what goes on inside DllRegisterServer and DllUnregisterServer for that file. There are standard registry entries that most COM and ActiveX controls register, such as HKCRCLSID, HKCRProgID, and HKCRTypeLib. Information on COM registration may or may not get entered into the appropriate MSI tables by the repackager. Shortcuts: Shortcuts may not be created as Windows Installer descriptor shortcuts, which enable resiliency. Legacy setup shortcuts were .lnk files that pointed to an executable in most cases. Sometimes when the repackager runs, all it knows is that an .lnk file was copied to a directory. For example, a legacy Setup.exe installed a shortcut to C:WindowsProfilesUser1Desktop. The repackager would copy the .lnk file directly to the directory listed previously. Therefore, the repackager is not actually copying a Windows Installer shortcut, but rather it is copying a file without any resiliency capabilities included. Isolated Components: The only way to take advantage of isolated components is to author a new MSI package. Repackagers currently do not support this feature. Application Removal:When uninstalling a repackaged application, it is possible that the AllUsers profile. |
|
| 14. |
What Is Product Code? |
|
Answer» The Product CODE is a GUID IDENTIFYING a PARTICULAR Application or product. The Product Code is a GUID identifying a particular Application or product. |
|
| 15. |
What Is Package Code? |
|
Answer» The Package Code is a GUID IDENTIFYING a PARTICULAR Microsoft Windows Installer package. It ASSOCIATES an .MSI FILE. The Package Code is a GUID identifying a particular Microsoft Windows Installer package. It associates an .MSI file. |
|
| 16. |
What Is Orca Tool & What Is The Purpose And Advantages? |
|
Answer» Microsoft utility to VIEW, update, VALIDATE MSI & MST FILES. Microsoft utility to view, update, validate MSI & MST files. |
|
| 17. |
What Are The Other Tools Which Are Used During The Testing & Finding Solving The Issues In The Application Packaging? |
| Answer» | |
| 18. |
What Is Active Directory? |
|
Answer» Deploying APPLICATIONS through the ACTIVE DIRECTORY is done through the use of group policies, and therefore applications are DEPLOYED either on a PER user basis or on a per computer basis. Deploying applications through the Active Directory is done through the use of group policies, and therefore applications are deployed either on a per user basis or on a per computer basis. |
|
| 19. |
What Is Intellimirror? |
|
Answer» Intelli Mirror management technologies are a set of POWERFUL features for change and configuration management. It ensures that USERS’ data, SOFTWARE, and personal settings are available when they MOVE from one computer to another, and persist when their computers are CONNECTED to the network. Intelli Mirror management technologies are a set of powerful features for change and configuration management. It ensures that users’ data, software, and personal settings are available when they move from one computer to another, and persist when their computers are connected to the network. |
|
| 20. |
What Is Lock Down Environment? |
|
Answer» Software restriction policies provide administrators with a POLICY-driven mechanism to identify software running on computers in a domain, and CONTROL its ability to EXECUTE. This policy can be used to block malicious scripts, help lockdown a COMPUTER, or prevent unwanted APPLICATIONS from running. Software restriction policies provide administrators with a Policy-driven mechanism to identify software running on computers in a domain, and control its ability to execute. This policy can be used to block malicious scripts, help lockdown a computer, or prevent unwanted applications from running. |
|
| 21. |
What Is Wrapper Msi? |
|
Answer» When an EXECUTABLE is wrapped within an MSI then that msi is CALLED WRAPPER msi. When an Executable is wrapped within an MSI then that msi is called wrapper msi. |
|
| 22. |
What Is Elevated User & How To Create It? |
|
Answer» If the user having the privileges of MSI FEATURES (Windows Installer) is called as ELEVATED User You can create through “gpedit.msc” in the run COMMAND or registry keys HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller TYPE: DWORD Key: Always Install Elevated Value: 1 If the user having the privileges of MSI features (Windows Installer) is called as Elevated User You can create through “gpedit.msc” in the run Command or registry keys HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller Type: DWORD Key: Always Install Elevated Value: 1 |
|
| 23. |
What Is Group Policy (gpo) & How To Set It? |
|
Answer» ADMINISTRATORS use Group Policy to DEFINE options for managing, configuration of servers, desktops, and groups of users. It is used to set policies across a GIVEN SITE, domain, or range of organizational units. Use “gpedit.msc” in the run command to set the policy. Administrators use Group Policy to define options for managing, configuration of servers, desktops, and groups of users. It is used to set policies across a given site, domain, or range of organizational units. Use “gpedit.msc” in the run command to set the policy. |
|
| 24. |
What Is Software Distribution? |
|
Answer» One of the more critical aspects to MANAGING a WINDOWS environment is the ability to deploy NEW applications, updates, upgrades & patches. Distributing new or updated SOFTWARE is called as Software Distribution. One of the more critical aspects to managing a Windows environment is the ability to deploy new applications, updates, upgrades & patches. Distributing new or updated software is called as Software Distribution. |
|
| 25. |
What Are The Types Of Deployment (software Distribution)? |
Answer»
|
|
| 26. |
What Is Conflict Management? |
|
Answer» When two or more APPLICATIONS install the same system files (DLLs, .VBXs, and .OCXs), Windows registry, and other ITEMS. To detect, Conflict MANAGEMENT should be use and for resolve the SOFTWARE conflicts, Application Isolation CONCEPT should be use. When two or more applications install the same system files (DLLs, .VBXs, and .OCXs), Windows registry, and other items. To detect, Conflict Management should be use and for resolve the software conflicts, Application Isolation concept should be use. |
|
| 27. |
What Is The Latest Version Of Wise Package Studio & Install Shield Admin Studio? |
|
Answer» Will change with time. |
|
| 28. |
What Is The Latest Version Of Windows Installer? |
|
Answer» The LATEST VERSION of WINDOWS INSTALLER is 4.5 The latest version of Windows Installer is 4.5 |
|
| 29. |
What Is The Use Of Msi Assembly Tables? |
|
Answer» It is USED for the REGISTRATION of .NET ASSEMBLY FILES It is used for the registration of .Net Assembly files |
|
| 30. |
What Is Isolated Component, Why We Are Using And Its Types? |
|
Answer» It MEANS that to prevent overwriting of previous VERSIONS of SHARED components, and ensures that other applications do not overwrite your VERSION of shared components. a) MANIFEST file concept It means that to prevent overwriting of previous versions of shared components, and ensures that other applications do not overwrite your version of shared components. a) Manifest file concept |
|
| 31. |
What Is App Search? |
|
Answer» App Search ACTION is used to search for EXISTING versions of PRODUCTS (Files, Registry, INI, Directory & Component) App Search action is used to search for existing versions of products (Files, Registry, INI, Directory & Component) |
|
| 32. |
What Is Launch Condition? |
|
Answer» Launch CONDITION is USED to check system requirements on the destination COMPUTER. Launch Condition is used to check system requirements on the destination computer. |
|
| 33. |
What Are The Types Of Scheduling Options In The Custom Actions And What Is The Use? |
Answer»
|
|
| 34. |
What Are The Types Of Processing Options In The Custom Actions And What Is The Use? |
|
Answer» A) Synchronous: Windows Installer runs the custom action SYNCHRONOUSLY to the main installation. It WAITS for the custom action to complete successfully before continuing the main installation. b) Synchronous, ignore EXIT code: Windows Installer runs the custom action synchronously to the main installation. It waits for the custom action to complete before continuing the main installation; the action can be either success or fail. c) A synch, wait at END of sequence: Windows Installer runs the custom action simultaneously with the main installation. At the end it waits for the exit code from the custom action before continuing. d) A synch, no wait: Windows Installer runs the custom action simultaneously with the main installation. It doesn’t wait for completion of the custom action and doesn’t check the exit code ALSO. A) Synchronous: Windows Installer runs the custom action synchronously to the main installation. It waits for the custom action to complete successfully before continuing the main installation. b) Synchronous, ignore exit code: Windows Installer runs the custom action synchronously to the main installation. It waits for the custom action to complete before continuing the main installation; the action can be either success or fail. c) A synch, wait at end of sequence: Windows Installer runs the custom action simultaneously with the main installation. At the end it waits for the exit code from the custom action before continuing. d) A synch, no wait: Windows Installer runs the custom action simultaneously with the main installation. It doesn’t wait for completion of the custom action and doesn’t check the exit code also. |
|
| 35. |
What Is The Difference Between “deferred In System Context / Deferred In User Context”? |
| Answer» | |
| 36. |
What Is The Difference Between “immediate Execute / Deferred Execute”? |
Answer»
|
|
| 37. |
What Are The Types Of In Script Options In The Custom Actions? |
|
Answer» a) Immediate Execution Immediate custom actions, can be sequenced anywhere within any of the sequence tables. It has access to the installation database (read & set installation properties, modify feature & component states, add temporary columns, rows, and tables). B) Deferred Execution – User Context Deferred custom actions can only be sequenced between the Install Initialize and Install Finalize actions in execute sequence tables. It doesn’t have access to the installation database. Deferred custom actions are not executed immediately. Instead they are scheduled to run LATER during the execution script. The execution script isn't PROCESSED until the Install Execute, Install Execute Again, or Install Finalize action is run. If the Current User doesn’t have the elevated privileges (Custom actions make changes in the system DIRECTLY), the custom actions should run in Deferred Execution in User Context only. c) Rollback only This Action should be executed during the Installation of the Rollback script or if the Installation is Unsuccessful. d) COMMIT only This Action should be executed during the Installation of the Commit script. e) Deferred Execution – System Context Deferred custom actions can only be sequenced between the Install Initialize and Install Finalize actions in execute sequence tables. It doesn’t have access to the installation database. Deferred custom actions are not executed immediately. Instead they are scheduled to run later during the execution script. The execution script isn't processed until the Install Execute, Install Execute Again, or Install Finalize action is run. If the Current User have the elevated privileges (Custom actions make changes in the system directly), then it should run in Deferred Execution in System Context only. a) Immediate Execution Immediate custom actions, can be sequenced anywhere within any of the sequence tables. It has access to the installation database (read & set installation properties, modify feature & component states, add temporary columns, rows, and tables). b) Deferred Execution – User Context Deferred custom actions can only be sequenced between the Install Initialize and Install Finalize actions in execute sequence tables. It doesn’t have access to the installation database. Deferred custom actions are not executed immediately. Instead they are scheduled to run later during the execution script. The execution script isn't processed until the Install Execute, Install Execute Again, or Install Finalize action is run. If the Current User doesn’t have the elevated privileges (Custom actions make changes in the system directly), the custom actions should run in Deferred Execution in User Context only. c) Rollback only This Action should be executed during the Installation of the Rollback script or if the Installation is Unsuccessful. d) Commit only This Action should be executed during the Installation of the Commit script. e) Deferred Execution – System Context Deferred custom actions can only be sequenced between the Install Initialize and Install Finalize actions in execute sequence tables. It doesn’t have access to the installation database. Deferred custom actions are not executed immediately. Instead they are scheduled to run later during the execution script. The execution script isn't processed until the Install Execute, Install Execute Again, or Install Finalize action is run. If the Current User have the elevated privileges (Custom actions make changes in the system directly), then it should run in Deferred Execution in System Context only. |
|
| 38. |
What Are The Types Of Sequences In The Custom Actions? |
| Answer» | |
| 39. |
What Are The Types Of Custom Actions? |
Answer»
|
|
| 40. |
What Is Custom Action? |
|
Answer» The Microsoft Windows INSTALLER PROVIDES many built-in actions for performing the installation process. For some cases the developer writes an ACTION to execute his own installation is called CUSTOM action. The Microsoft Windows Installer provides many built-in actions for performing the installation process. For some cases the developer writes an action to execute his own installation is called custom action. |
|
| 41. |
How Many Transforms Can Be Supplied In The Command Line? |
|
Answer» There is no RESTRICTION on the NUMBERS of transforms which can be supplied in the COMMAND LINE. There is no restriction on the numbers of transforms which can be supplied in the command line. |
|
| 42. |
How Many Transform Can Be Created For One Vendor Msi? |
|
Answer» There is no RESTRICTION on the numbers of TRANSFORMS which can be created for one Vendor MSI. There is no restriction on the numbers of transforms which can be created for one Vendor MSI. |
|
| 43. |
What Are The Types Of Transform? |
|
Answer» a) Embedded transform Embedded transforms are stored inside the .msi file of the package. b) Secured transform Secured transforms are stored LOCALLY on the user's COMPUTER in a LOCATION where, on a secure file system, the user does not have write access. Such transforms are cached in this location during the installation or advertisement of the package. During subsequent installation-on-demand or maintenance installations of the package, the installer uses the cached transforms. c) Unsecured transform Transforms that have not been secured are CALLED unsecured transforms. To apply an unsecured transform, pass the transform file names in the TRANSFORMS property or command line STRING during the installation. a) Embedded transform Embedded transforms are stored inside the .msi file of the package. b) Secured transform Secured transforms are stored locally on the user's computer in a location where, on a secure file system, the user does not have write access. Such transforms are cached in this location during the installation or advertisement of the package. During subsequent installation-on-demand or maintenance installations of the package, the installer uses the cached transforms. c) Unsecured transform Transforms that have not been secured are called unsecured transforms. To apply an unsecured transform, pass the transform file names in the TRANSFORMS property or command line string during the installation. |
|
| 44. |
What Is Transform? |
|
Answer» A transform is a WINDOWS installer file with the EXTENSION (.MST). It should be used along with a MSI to CUSTOMIZE or change the installation package without modifying the MSI. The installer can only APPLY TRANSFORMS during an installation. A transform is a windows installer file with the extension (.MST). It should be used along with a MSI to customize or change the installation package without modifying the MSI. The installer can only apply transforms during an installation. |
|
| 45. |
What Is Installation On Demand? |
|
Answer» When a USER or application activates an ADVERTISED FEATURE or product, the installer PROCEEDS with installation of the needed components. When a user or application activates an advertised feature or product, the installer proceeds with installation of the needed components. |
|
| 46. |
What Is Advertised Feature & Component? |
|
Answer» If a Feature or Component is advertised, only the INTERFACES REQUIRED for loading and launching the APPLICATION are installed to the user or others. If a user ACTIVATES an advertised interface the installer then proceeds to install the NECESSARY Components & Features. If a Feature or Component is advertised, only the interfaces required for loading and launching the application are installed to the user or others. If a user activates an advertised interface the installer then proceeds to install the necessary Components & Features. |
|
| 47. |
What Is Advertisement? |
|
Answer» It means that, the Availability of an application to USERS or others with out actually the full Installation. There are two types of Advertising Assigning : An Application appears (SHORTCUTS, files & registries) to a user or others, when an Application is “assigned”. When the user TRIES to open, it is installed upon demand. Publishing : No Entry POINTS appear to a user or others, when an Application “published” to the group. It is activated only if the group Application activates the published Application i.e. Installation on Demand. It means that, the Availability of an application to users or others with out actually the full Installation. There are two types of Advertising Assigning : An Application appears (shortcuts, files & registries) to a user or others, when an Application is “assigned”. When the user tries to open, it is installed upon demand. Publishing : No Entry points appear to a user or others, when an Application “published” to the group. It is activated only if the group Application activates the published Application i.e. Installation on Demand. |
|
| 48. |
How To Disable Arp (add/remove Programs) Details During The Insallation Through Command Line, Tell Some Arp Properties? |
|
Answer» msiexec /i <MSI> ARPSYSTEMCOMPONENT=1 FOLLOWING entries are various ARP properties: a) ARPAUTHORIZEDCDFPREFIX msiexec /i <msi> ARPSYSTEMCOMPONENT=1 Following entries are various ARP properties: a) ARPAUTHORIZEDCDFPREFIX |
|
| 49. |
How To Install Only One Particular Feature During The Installation Through Command Line? |
|
Answer» msiexec /i <MSI> ADDLOCAL=<Feature Name> msiexec /i <msi> ADDLOCAL=<Feature Name> |
|
| 50. |
How To Give Permission For Files, Folders & Registry Keys Through Vb Script & What Is The Syntax? |
|
Answer» We can give permission for files & folders through VB Script by using the CACLS & XCACLS commands:
E.g. “cacls c:myfile.txt /E /G <user name>: F” We can give permission for files & folders through VB Script by using the CACLS & XCACLS commands: E.g. “cacls c:myfile.txt /E /G <user name>: F” |
|