~ Mayank Johri’s Tips ~

October 9, 2009

MSI Interview Questions

Filed under: MSI — mayankjohri @ 1:59 pm
Tags: ,
  1. Explain the difference between Property and PROPERTY
  2. Describe the process flow of an installation in terms of the User Interface, Immediate and Deferred sequences
  3. What are the ADDLOCAL and ADDSOURCE properties?
  4. What is the difference between installations using ALLUSERS=””, ALLUSERS=1 and ALLUSERS=2 option?
  5. Advertised vs non-advertised shortcuts, what’s the difference?
  6. Maximum how many files you can add in msi?
  7. ProductCode, PackageCode, UpgradeCode, Explain them
  8. Explain Backend mechanism of Self repair
  9. Suppose you’re in an environment where you can’t use advertisement, explain how you would go about setting userspecific settings
  10. What is the impact of leaving COM information in a generic registry component as apposed to in each relevant component
  11. How many sequences are there in an MSI
  12. Please sketch the entire process of creating a package, from the software request up to package delivery
  13. How many different sequance tables are there in an MSI
  14. Difference between dll/ocx and exe registraction
  15. How we can make two applications with same GUID to install on the same machine?
  16. How we create the small,minor and major upgrade?
  17. what is the disadvantage of using lock permissions table
  18. What are secure custom properties
  19. What is the difference between Repair and Self healing?
  20. What is entry point for MSI?
  21. What should be the condition of a custom action if we want to run it during installation and uninstallation ?
  22. Difference between Run, Run Once, Active Setup
  23. Use of INSTALLLEVEL Property
  24. Self-Heal (advertised shortcut) Vs Install on Demand (product Advertising)
  25. Self-Heal Vs Repair
  26. Per-user installation Vs Per-machine installation
  27. The reason why during a repair, bringing back missing files to System Folders is possible for a standard user who actually does not have a write permission to these folders.
  28. What are your thoughts and experiences for patching .msi files? What approaches have worked the best? What hasn’t worked? Why?
  29. Describe a methodology for populating the user’s profile with Windows Installer functionality. That one was funny because the interviewer was looking for Active Setup which I didn’t consider to be specific to Windows Installer.
  30. How do you configure an installation for an application that requires administrative privileges to work if the end user is not a local machine administrator?
  31. Have you ever had to modify a .msi directly without a graphic interface? Which tables did you modify and why?
  32. Describe the most difficult project you have worked on. What was the problem? How did you solve it? What did you learn?
  33. What tools are in your “packaging toolkit?”
  34. Have you had to edit permissions?
  35. How would you change permissions on files and registry entries?
  36. What are the differences between the lock permissions table and external tools for editing?
  37. How would you populate components from a machine-based installation to a user profile?
  38. What tools do you regularly use asides from your primary tool (WPS or IS or etc…) in the process of creating a package?
  39. An example of a condition you would use, and what it would be useful for.
  40. If you were to receive a vendor MSI, how would you repackage it to comply with company standards?
  41. Do you recommed modifying vendor MSIs? Why/why not?
  42. What are the advantages of using MSIs?
  43. Explain to me what self healing is and how you can leverage it for user specific files/registries
  44. Besides self-healing, what other options do you have for creating user specific files/registries and under what scenarios would you use those?
  45. How would you troubleshoot an application that does not run on a locked down environment but does run as administrator?
  46. When would you use Setup Capture and what kind of clean up would you performed on a captured MSI?
  47. Have you created merge modules? Why?
  48. What is the purpose of Validation and how do you handle ICE errors on vendor MSIs?
  49. Walk me through the entire packaging process from request to deployment you’ve been exposed to in previous roles.

November 21, 2007

Adding the Shortcuts to StartMenu

Filed under: MSI, wix — mayankjohri @ 10:53 pm

1. Create a new Directory in “Setup Files” and set the ID as “ProgramMenuFolder”  and set Name as “Programs”.

2.  Create a new Directory under this directory and set ID as “ProgramMenuDir”.

3. In the shortcut set the Directory as “ProgramMenuDir”

May 15, 2007

Adding Network shortcuts in MSI packages

Filed under: MSI, Windows — mayankjohri @ 12:33 pm
Tags: ,

Steps

  1. Create a property eg. INSTDIR in Property table
  2. Populate it with the network directory
  3. Create a property eg SHORTCUT1 in Property table /* IF not using Wise
  4. Polulate it with the full UNC path along with the executable name  /* IF not using Wise.
  5. Create a shortcut using the shortcut under the shortcut table
  6. Update the WkDir coloum in Shorcut table with INSTDIR (no NOT add brakets [] before and after INSTDIR).

Blog at WordPress.com.