Util: Folder Compare Tool

I have recently developed a python utility to compare files with same name stored in the root of two folders.

Few Usage of the tool:

  • Validating the dynamic reports before and after migration of database
  • Validating the text files between two servers after sync.
  • Validating the text files between two version of application.

The python scripts can be download from http://sourceforge.net/projects/pyfoldercompare/

FAQ: TIPS: WINDOWS: How to find all the process details for a particular executable using command line

wmic process where name=”cmd.exe” get executablepath,Com


 Caption CommandLine                   ExecutablePath
 cmd.exe "C:\Windows\system32\cmd.exe" C:\Windows\system32\cmd.exe
 cmd.exe "C:\Windows\system32\cmd.exe" C:\Windows\system32\cmd.exe
 cmd.exe "C:\Windows\system32\cmd.exe" C:\Windows\system32\cmd.exe

RPM Interview Questions

Q: How to install packages with all the dependency packages if all the packages are available at a common repository?
Ans : rpm –ivh  –aid packagename.

Q: How to check, where a particular package installed it’s configuration files.
Ans : rpm –qc packagename.

Q: How to check the change log of the installed package.
Ans : rpm -q –changelog packagename.

Q: How to check, where a particular package installed it’s doc files.
Ans : rpm -qd packagenme

Q: How to check all the files installed by package?
Ans : rpm -q –filesbypkg packagename

Q: How to check the version of files installed by a package
Ans : rpm -qi packagename

Q: How to check the dependencies for a particular packages i.e. Required libraries packages etc.
Ans : rpm -q -R packagename.

Q: How to upgrade the packages which are already installed on to the linux box.
Ans : rpm -F install options packagename.

Q: What is the command to update only the rpm database.
Ans : rpm -i –justdb packagename

Q: What is the command to check whether a particular package installation would be successful but would not actually install the package.
Ans : rpm -ivh –test packagename

Q: How to check that a particular file belong to which package
Ans : rpm -qf filename

Q: How to list files in  a package
Ans : rpm -ql packagename

Q: How to verify whether the files installed by package are intact or been tampered/corrupted.
Ans : rpm -qs packagename

Q: What is the command to create a new RPM Database
Ans : rpm –initdb

Q: What is the command to rebuild the RPM Database
Ans : rpm –rebuilddb

FAQ: Valid OS Tag Values in an OSD File.

Target OS OSD Tag Value Minimal AppV Client
Windows NT VALUE=”WinNT”/> 4.1
Windows 2000 VALUE=”Win2K”/> 4.1
Windows 2000 Server VALUE=”Win2KSvr”/> 4.1
Windows 2000 Terminal Server VALUE=”Win2KTS”/> 4.1
Windows XP VALUE=”WinXP”/> 4.1
Windows XP x64 VALUE=”WinXP64″/> 4.6 x64
Windows Server 2003 VALUE=”Win2003Svr”/> 4.1
Windows Server 2003 Terminal Server VALUE=”Win2003TS”/> 4.1
Windows 2003 Terminal Server x64 VALUE=”Win2003TS64″/> 4.6 x64
Windows Vista VALUE=”WinVista”/> 4.2
Windows Vista x64 VALUE=”WinVista64″/> 4.6 x64
Windows 2008 Terminal Server VALUE=”Win2008TS”/> 4.5
Windows 2008 Terminal Server x64 VALUE=”Win2008TS64″/> 4.6 x64
Windows 7 VALUE=”Win7″/> 4.5 sp1
Windows 7 x64 VALUE=”Win764″/> 4.6 x64
Windows 2008 R2 Terminal Server x64 VALUE=”Win2008R2TS64″/> 4.6 x64

QA: MSI Interview: Explain the difference between Property and PROPERTY

Q: Explain the difference between Property and PROPERTY


  1. Public Property:

Public properties can be changed anytime by a user, system or admin on the command line while installing, by applying a transform or by interacting with the authored user interface (Installation Interface)

They are always in upper case

  1. Private Property:

The installer uses then internally and their values are initialized in the installation database (msi) or set by the values determined by the OS.

Private property names must always include lowercase letters. (Thanks Alek for correcting)

App-V Interview Questions

  1. What is App-V Sequencing
  2. What is VFS sequencing
  3. What is MNT Sequencing
  4. What is SystemGuard
  5. What are the protocols supported for streaming
  6. What is active upgrade
  7. Which applications can be sequenced.
  8. How to manage exclusion list
  9. Can network shortcut applications be sequenced
  10. Can host files be sequenced
  11. Define the normal upgrade process
  12. What precautions are needed while sequencing
  13. How reboots are handled while sequencing
  14. Can all types of services be sequenced
  15. Why application is launched more than once while sequencing.
  16. How much disk space is required on sequencing machine
  17. Which hardware component be updated to get better performance in sequencing process.
  18. What is a suite and how we can create them
  19. What is the difference between update and active upgrade
  20. What is the difference between suite and dynamic suite
  21. Why only Q drive is necessary for sequencing can we have any other also.
  22. Name few disadvantages of using SCCM server for deploying App-V Applications
  23. Name few advantages of using SCCM server for deploying App-V Applications

Download the Alpha Version of the App-V Interview Questions from http://sourceforge.net/projects/softgridhelper/files/Documentations/

FAQ: AppV : Can I stream application if it was sequenced on other OS

Short Answer is Yes & No.

Long Answer: If the application was sequenced on WinXP and streamed on Vista then there is more chances for the application to work but reverse is not recommended.

Also if the application when physically installed does not work then even the virtualized application will also not work.

FAQ: App-V: How to use the custom Exclusion List while Sequencing

Steps to create the custom exclusion list.

  1. Launch the AppV sequencer.
  2. Goto Tools -> Options
  3. Select “Exclusion Items” tab
  4. Add new exclusion items using “New Button”
  5. When all the exclusion items are added then press “Save As Default” button
  6. Copy the default.sprj file from “C:\Program Files\Microsoft Application Virtualization Sequencer\” or the folder where the sequencer was installed to some network share from where it can be accessed later.

Using the custom exclusion list

  1. Copy the saved default.sprj file to “C:\Program Files\Microsoft Application Virtualization Sequencer\” before launching the Sequencer.
  2. When launched the sequencer will take the exclusion list from the default.sft file.