Pages

Friday, 6 July 2012

Command to Hide/Unhide a File



Command to Hide: Attrib +h "PathofFile"


Command to Unhide: Attrib -h "PathofFile"


Thursday, 5 July 2012

AppV 5.0 Package Output


Sequencer output in AppV 5.0 has changed a lot, following are no more available

  • No OSDs
  • No sft file
  • No Icons file
New output contains:
  • .appv file
  • .xml files ( DeploymentConfig.xml and UserConfig.xml)
  • .msi file (report.xml)
Packages developed using AppV versions below 5 are to be converted to AppV 5 format, ( there is no native support of AppV 4.6 or below sequenced packages in AppV 5)

Screenshot of sample AppV 5 package output


When you use the sequencer to create a new virtual application, the following list displays the files that are created and comprise the App-V 5.0 Beta package:
  • .MSI – this Windows Installer (.msi) file is created by the sequencer and is used to install the virtual package on target computers.
  • Report.xml - the sequencer saves all issues, warnings, and errors that were discovered during sequencing and displays the information after the package has been created. You can us this report for diagnosing and troubleshooting.
  • .appv file - the virtual application.
  • Deployment configuration file - the deployment configuration file determines how the virtual application will be deployed to target computers.
  • User configuration file - the user configuration file determines how the virtual application will run on target computers.



AppV 5.0 - Change in Variables


Addressing system locations using CSIDL format has changed in App 5.0. Microsoft made it simpler and similar to Installshield/Wise variables.




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