Hi,
I have several issues with deploying App-V 5.0 packages to users on terminal servers.
One of them, is that users can’t see the shortcut, if I copy it manually to their startmenu, it works fine so the application itself is properly installed.
My question now is how to repair/reinstall the App-V package for 1 single user. Tried it via Powershell and App-V (publish/unpublish) but that did not work.
-the script-
$User = "myuser"
$PackageName = "*application*"
$objUser = New-Object System.Security.Principal.NTAccount($User)
$strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])
$SIDUSER = $strSID.Value
$AppVpackage = Get-AppvClientPackage $PackageName -all
Unpublish-AppvClientPackage $AppVpackage -UserSID $SIDUSER -verbose
Publish-AppvClientPackage *autom* $SIDUSER -Verbose
-
But then I figured out, actually the sccm client has to do the work and not sure if I can intervene with firing up powershell App-v commands(?)
Once an App-V package is in use by a user (100 users are on terminals server), a repair in App-V GUI isn’t possible (since it’s in use).
So now I’m looking for a nice way to reinitiate (reinstall, repair) via the SCCM client or via the GUI (why on earth a user can’t repair his user settings if other users have the general package “in use”).
Please advise.
J.
Jan Hoedt