Showing posts with label Interview Questions. Show all posts
Showing posts with label Interview Questions. Show all posts

Wednesday, May 4, 2011

MSI FAQ: 11. How do you install 2 MSI packages, after installation of 1st MSI the machine has to reboot and upon start of the machine 2nd MSI installation has to be triggered? Once installation of 2nd MSI is completed the User has to notify with a Message that 2 MSI Installation has been completed. How do you perform the Task? ( If 1st MSI installation has failed then 2nd MSI installation shouldn’t happen)


There are multiple ways to achieve the above task. I will list two methods and I will recommend the first method as its easy, simple, less error prone and has more changes of compliance with company policy.
Method 1: Use Corporate Package Distribution System such as CA DSM (not sure about SCCM)
     Create two normal packages and then import them in CA DSM, Set the reboot after installation on the install procedure of the first package. (DO NOT LET MSI reboot itself)
     In CA DSM create a policy with install procedures of both the packages.
Isn’t is simple. What happens that when the procedure is deployed on the package first package is installed and then CA DSM reboots the machine, once the machine comes back online then the second package is installed. If the installation of first package fails then CA DSM will not install the second package. :)
Method 2: Use of Active Setup
     Create package B, add the created package in the files section of package A. Set REBOOT property to Force.
     Set active setup in package A, in the stub section add the details to silently install package B.

NOTE: PLEASE FOR GOD SAKE, do not create a nested msi or create a script which will install the msi files.

Thursday, October 7, 2010

MSI Interview Questions. Ver: 0.0.1 Beta 4

Hello all,
I have updated the MSI Interview Questions, the updated document can be downloaded from http://sourceforge.net/projects/mayadeploy/files/FAQ/FAQ%20on%20MSI%20packaging%20and%20repackaging_0.0_1Beta4.pdf/download.
Enjoy solving the last 3 questions.
As always the questions & answers might be wrong.
:) so please correct me if that is the case :) .
Enjoy,
Mayank Johri

Alpha 1 Version of App-V Interview Questions

Dear All,
My first try to consolidate all the app-v interview questions. http://sourceforge.net/projects/softgridhelper/files/Documentations/AppV%20Interview%20Questions_Ver_0.0.1Alpha1.pdf/download
As always your comments and suggestions are most welcome.
Enjoy,
Mayank Johri

Sunday, July 25, 2010

FAQ: MSI Interview

I am posting the first draft of FAQ of MSI packaging & repackaging. It can be downloaded from here

Friday, November 6, 2009

Friday, October 9, 2009

MSI Interview Questions


  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.