Cliff Hobbs is a UK-based systems management consultant who specialises in the various systems management tools covered by his website FAQShop.com such as Microsoft System Center Configuration Manager (ConfigMgr) and Systems Management Server (SMS).Having worked with SMS since 1998 Cliff has gained extensive experience of designing, deploying, and supporting large enterprise-wide systems management solutions on behalf of companies such as EDS, 1E and Getronics.In recognition of his contribution to the Systems Management community Microsoft awarded Cliff the Most Valuable Professional (MVP) award for SMS in January 2004 which has been re-awarded in all subsequent years.Having grown up with the PC from the days of the IBM AT and PC-DOS 3.3, he has an extensive knowledge of several operating systems and applications gained through his present and past employment with companies such as EDS, Du Pont, Abbey National and Getronics, amongst others.The prime goal of FAQShop.com is to help people use Systems Management technology to make their lives easier - not for technology to control their lives which is reflected in this site's mission statement:
'Ensuring you get the best of IT'.
From the App-V Blog:
The App-V 4.6 client has been tested extensively with pre-4.6 sequenced packages.
If you have 4.5 RTM packages which use MSI for deployment, then they will have to be updated (4.5 CU1 and SP1 MSIs are not affected by this). There are three ways to update your 4.5 RTM packages:
You could also write a batch script to convert multiple MSIs using option 1 and 3.
You could get the Power Shell tool from here.
param ( [string]$root ) # Pass in the root location where all the *.msi exist
if (-not $root) { write-error "No root specified" return 1 }
$files = Get-ChildItem -Path $root -Recurse -Include *.msi # Recursively search for all *.msi in $root
foreach ($file in $files) { Write-Host Operating on $file
$p = Start-Process "\\bin\msitran.exe" -wait -PassThru -argumentlist "-a","\\launchcondition.mst","$($file.FullName)"
if ($p.ExitCode -ne 0) { Write-Host "MSItran returned error code $($p.ExitCode) for $($file.FullName)" }
}
To run: \\MsiTran_Apply_Transform.ps1 C:\msi_test This will run MsiTran_Apply_Transform.ps1 script with root parameter C:\msi_folder
param ( [string]$root ) # Pass in the root location where all the *.sprj exist
if (-not $root) { write-error "no root specified" return 1 }
$files = Get-ChildItem -Path $root -Recurse -Include *.sprj # Recursively search for all *.sprj in $root
foreach ($file in $files) { Write-Host Operating on $file start-process 'C:\Program Files\Microsoft Application Virtualization Sequencer\sftsequencer.exe' -wait -argumentlist "/open:""$($file.FullName)""","/msi" #Provide full path of sftsequencer.exe
if ($? -ne "True") { Write-Host "Error while opening file on Command Line Sequencer" } }
To run: .\Sequencer_Open_msi.ps1 C:\sprj_folder This will run Sequencer_Open_msi.ps1 script with root parameter C:\sprj_folder
Nidhi Doshi App-V team
http://blogs.technet.com/appv/archive/2010/02/25/how-to-use-pre-4-6-msi-packages-with-the-app-v-4-6-client.aspx