Pages

Thursday, 5 July 2012

AppV 5.0 - No WinXP Support

Microsoft has removed WinXP as TargetOS in AppV 5, hence if AppV support for XP has to be there in any organization environment, they have to stick to AppV version 4.6SP1


Screenshot of TargetOSes in AppV 5




Wednesday, 4 July 2012

InstallAnyWhere response file generation Commands



To generate response file and perform installation/uninstallation for InstallAnyWhere setups, use following commands:


For creation of Response File: Setup.exe -r C:\FolderName\FileName.properties


Silent Installation using Response file

Installation Command using response file: Setup.exe -i silent -f FileName.Properties


Silent Uninstallation using response file



.Properties file can be found in the same location where uninstallation EXE is present, which can be used for silent uninstallation as follows:


C:\Program Files\AppName\UninstallFolder\Uninstall.exe -i silent -f UninstallFileName.Properties



InstallAnyWhere Silent installation Commands



To install/uninstall installanywhere setup with default options, use following silent switches:


For Installation: Setup.exe -i silent
For Uninstallation: C:\Program Files\AppName\UninstallFolder\Uninstall.exe -i silent



Tuesday, 3 July 2012

Get MSI property value using VBScript



Following script displays the INSTALLDIR property value present inside MSI



Dim objWshShell, str
set objWshShell = CreateObject("WScript.Shell")
str = Session.Property("INSTALLDIR")
MsgBox(str)
set objWshShell = nothing


MSI Property Precedence


The installer sets properties using the following order of precedence. A property value in this list can override a value that comes after it and be overridden by a value coming before it in the list. 


1. Properties specified by the operating environment. 


2. Public properties set on the command line. 


3. Public properties listed by the AdminProperties property set during an administrative installation. 


4. Public or private properties set during the application of a transform. 


5. Public or private property that set by authoring the Property table of the .MSI file.



Monday, 2 July 2012

Differences between WindowsXP and Windows7



WindowsXP: User profiles are stored in C:\Documents and Settings
Windows7: User profiles are stored in C:\Users


WindowsXP: All Users Profile is stored in C:\Documents and Settings\All Users location
Windows7: All Users profile is stored in C:\ProgramData location


WindowsXP: User Account Control is absent
Windows7: User Account Control is present to avoid unwanted changes to System locations


WindowsXP: No Session Zero isolation
Windows7: Session Zero isolation present. Please refer to following URL for more information on Session Zero isolation
http://windowsteamblog.com/windows/b/developers/archive/2009/10/01/session-0-isolation.aspx




Friday, 29 June 2012

Application Packaging Interview Questions - Scripting

Following are questions related to Scripting in Application Packaging

VBScripting



  • What is On Error Resume Next
  • What is Option Explicit
  • What are different objects available in VBScripting?
  • What object is used to perform operations on Files/Folders?

WiseScripting


  • How to get environment variable value into a variable?
  • How to add/edit/remove registries?
  • function to delete Files?
  • How to check if OS is 32bit or 64bit ?
  • can we execute VBscript inside Wisescript?
  • how to pass values from VBScript to WiseScript?
  • How to execute MSI using WiseScript?
  • How to check if MSI installation using Wisescript is successful or failure?
  • How to display a message while MSI installation is happening using WiseScript?
  • How to check if a process is running using WiseScript?
  • How to check if file/directory exists using WiseScript?
  • How to check if a file is in use?
  • How to pause wisescript execution for sometime?
  • How to set the name of output file generated using WiseScript?
  • How to copy files from one location to another location using WiseScript?
  • What is the different between INST and '.'(DOT)
  • How to stop execution of WiseScript?
  • How to read Registry values using WiseScript?
  • How to get current Date and Time using WiseScript?
  • Can a wisescript runs another wisescript?
  • How to install files on the system using WiseScript?
  • How to install files if doesn't exist using WiseScript?



Search this blog for Answers on various queries