Wednesday, 29 December 2010
Windows PowerShell
Powershels brings together resources for system administrators who are interested in learning about the Windows PowerShell command line and scripting environment.
Thursday, 18 November 2010
My Link
Please go through my linkedlin profile if you are interested
http://in.linkedin.com/in/arjunkumarapprepack
http://in.linkedin.com/in/arjunkumarapprepack
Saturday, 6 March 2010
Source Resiliency
Applications that rely on network resources for installation-on-demand are susceptible to source failures if the source location should change for any reason or become damaged. The Windows Installer provides source resiliency for features that are installed on-demand by using a source list. The source list contains the locations searched by the installer for installation packages. The entries in this list can be network locations, Uniform Resource Locators (URLs), or compact discs. If one of these sources fails, the installer can quickly and seamlessly try the next.
The application developer does not need to incorporate any special information into the installer package to ensure source resiliency. Once the application is installed, the installer has the behavior of adding the last successfully used source as an entry in the source list. By default, this source is the location from which the installer package is initially installed, and is the same as the SourceDir property.
A system administrator can change the source list by applying a transform or by changing the SOURCELIST property from the command line or in the Property table.
The installer begins searching for a source by checking the most recently used source location in the source list. If this search fails, the installer searches the list of network sources, then media sources, and finally URL sources. System administrators can change this search order using the SearchOrder system policy. If these searches fail, the installer may present a Browse Dialog so that the user can search for the source manually. The browse dialog box cannot be displayed if the user interface level is set to None. For details, see User Interface Levels.
Commonly, the installer should only display a browse dialog box if the current user is an administrator or if the installation does not require elevated privileges. An administrator can control the display of the browse dialog box to users with the DisableBrowse and AllowLockDownBrowse policies. An administrator also controls whether users can install applications from sources located on media by using the DisableMedia and AllowLockDownMedia policies. The use of these policies depends on the Windows Installer version.
The application developer does not need to incorporate any special information into the installer package to ensure source resiliency. Once the application is installed, the installer has the behavior of adding the last successfully used source as an entry in the source list. By default, this source is the location from which the installer package is initially installed, and is the same as the SourceDir property.
A system administrator can change the source list by applying a transform or by changing the SOURCELIST property from the command line or in the Property table.
The installer begins searching for a source by checking the most recently used source location in the source list. If this search fails, the installer searches the list of network sources, then media sources, and finally URL sources. System administrators can change this search order using the SearchOrder system policy. If these searches fail, the installer may present a Browse Dialog so that the user can search for the source manually. The browse dialog box cannot be displayed if the user interface level is set to None. For details, see User Interface Levels.
Commonly, the installer should only display a browse dialog box if the current user is an administrator or if the installation does not require elevated privileges. An administrator can control the display of the browse dialog box to users with the DisableBrowse and AllowLockDownBrowse policies. An administrator also controls whether users can install applications from sources located on media by using the DisableMedia and AllowLockDownMedia policies. The use of these policies depends on the Windows Installer version.
Process for Creating InstalShield Response file(iss)
Refer to attachment containing steps on how to create Response Files.
Process for Creating InstalShield Response file(iss)
Process for Creating InstalShield Response file(iss)
MSI Tables
Refer the attachment for description on MSI Tables
http://apppackaging.files.wordpress.com/2010/03/tables.doc
Application Packaging - Interview Questions - 2
- What is the use of Active Setup? Is it part of MSI or Operating System?
- What is the custom action which checks for the free space on the disk during MSI installation?
- What is Windows File Protection ? Where are Windows Protected files stored on the machine ?
- What is file versionining ? If a macine has DLL of version 2.0 and your application has same DLL with version 3.0, what happens to the file during installation ?
- What is the best way to upgrade the Window Protected Files ?
- How do you install 2 MSI’s. After installation of 1st MSI the machine has to reboot and upon start of the machine 2nd MSI installation has to be trigerred. Once installation of 2nd MSI is completed the User has to notified with a Message that 2 MSIs Installation has been completed. How do you perform the Task? ( If 1st MSI installation has failed then 2nd MSI installation shouldn’t happen)
- Can you create File System Services using MSI
- Have you ever created a Driver Package ? How do you manually register the Drivers ? What do you check for successful driver installation ?
- What are Hosts, Lmhosts files ? Do you include them in the package? How do you update these files if required by the application ?
- What are .ORA files ? What does they contain ?
- How do you extract Binary Information from MSI?
- What is the use of Merge Module? Have you ever created a Merge Module ? In what scenario merge modules needs to be created ? What the points to be kept in mind during Merge Module creation ?
- How do you create a Response File? Where the response file will be created ?
- How do you apply permissions ? What method do you follow ? Do you have idea on using CACLS, SUBINACLS, Security Templates(SecEdit), RegDacls…… etc
Few Packaging Interview Questions
- What are public properties
- What does SecureCustomProperties mean?
- What is component Isolation? When do you perform Component Isolation? What is the Advantage? What happens when you Isolate a component?
- What does AppSearch Table contain? What is the use of it? How is it related to Launch Conditions ?
- What is SelfReg table? Is it recommended to use SelfReg Entries ? What is the disadvantage of SelfReg Entries?
- What is the difference between the registration of DLL/OCX and an EXE ?
- How do you apply permissions using MSI Tables? What is the purpose of LockPermissions Table? What is the disadvantange of LockPermissions Table?
- How do you install 2 MSIs with same product code on a same machine ?
- What is Minor Upgrade , Major Upgrade ? When do you perform major upgrade ? What are the sequence of custom actions required for Upgrade process and what are the Ideal locations of those custom actions ?
- What are the different sequences present in MSI
- What is the difference between Execute Immediate and Execute Deffered?
- Why do you require custom actions ?
- Can a Component have sub-components ?
- Can a feature exist under a component ?
- What is the use of Install Level property
- What does ALLUSERS = 1,2, NULL mean?
- What are the different GUIDs present in MSI ?
- What happens if you use the command – msiexec /i [ProductCode] /qb ( does the application gets installed on the machine ?
- What is Advertizing? What is the advantage of Advertizing ? What are the MSI tables which support Advertizing?
- What the disadvantages of MSI
- What are the advantages of normal “setup.exe”
- What are the disadvantages of “setup.exe”
- How do add files to MSI or MST using Orca ?
- If you want to add a file using Orca, what are the MSI Tables you need to alter?
- What are ICE Errors ? If you have ICE does it affect the MSI Installation or application functionality ?
- How do you resolve ICE64 Error ?
Subscribe to:
Posts (Atom)