SFTMIME questions
I am looking for an easy way for the support staff to remove and refresh the applications on users workstations. I also use this in our logon script when needed. I am having luck with the SFTMIME command options but in some cases this gets a bit tedious. Right now I am calling two commands in batch to remove user and global information: SFTMIME CLEAR and SFTMIME DELETE. At least this is my understanding of how to acomplish this.
The problem is, there may be multilple "Applications" for one package that I need to do if I am to refresh. I have one app with more than 20 shortcuts (Apps) that need to be cleared. Here is an example of a small one:
SFTMIME CLEAR APP:"Batch Stat 29"
SFTMIME CLEAR APP:"Client Console 29"
SFTMIME CLEAR APP:"EDIT 18"
SFTMIME CLEAR APP:"View Manager Configuration 18"
SFTMIME CLEAR APP:"View Management 18"SFTMIME DELETE APP:"Batch Stat 29"
SFTMIME DELETE APP:"Client Console 29"
SFTMIME DELETE APP:"EDIT 18"
SFTMIME DELETE APP:"View Manager Configuration 18"
SFTMIME DELETE APP:"View Management 18"
sftmime refresh server:production
I have tried the DELETE PACKAGE option on a workstation but this seems to be a server related function. Is there an easier way?
Thanks
Respostas
Have you tried: SFTMIME DELETE PACKAGE:package-name ?
SFTMIME DELETE PACKAGE:package-name [/LOG log-pathname | /CONSOLE | /GUI] Removes a package record and applications associated with it. package-name The name of the package to be removed. /LOG If specified, output is logged to the specified path name. /CONSOLE If specified, output is presented in the active console window (default). /GUI If specified, output is presented in a Windows dialog.The package-name can be in either of the OSD's of your package under the SUITE tag.
For example: <SUITE NAME="Microsoft Office 2007"/>
Regards
Ment van der Plas- Marcado como RespostaMent van der PlasMVP, Usuário que respondesexta-feira, 13 de novembro de 2009 14:37
Todas as Respostas
Have you tried: SFTMIME DELETE PACKAGE:package-name ?
SFTMIME DELETE PACKAGE:package-name [/LOG log-pathname | /CONSOLE | /GUI] Removes a package record and applications associated with it. package-name The name of the package to be removed. /LOG If specified, output is logged to the specified path name. /CONSOLE If specified, output is presented in the active console window (default). /GUI If specified, output is presented in a Windows dialog.The package-name can be in either of the OSD's of your package under the SUITE tag.
For example: <SUITE NAME="Microsoft Office 2007"/>
Regards
Ment van der Plas- Marcado como RespostaMent van der PlasMVP, Usuário que respondesexta-feira, 13 de novembro de 2009 14:37
Not all OSD files list a SUITE NAME. All seem to have PACKAGE NAME= but this does not work. I can only get this working by usign the GUID. The applications were sequenced with different versions from 3.1.2.2 to 4.5.1.
Just trying to make this as simple as possible. I can use the GUID just fine.
Thanks for your help- I am unsure that you need to be doing clear/delete all the time. For regular use, we normally script /unload option instead.
As for tediousness, using sftmime with /query you can pipe out to a file, then parse as input to generate a list of /unloads followed by loads.
Also note that ss for using package-name, that is normally used in clear/delte only if it were added using a package option (which refers to the manifest.xml file). Only SCCM and MSI use the package option ot add, the Dedicated RTSP server does not. - If you want, you can use
SFTMIME CLEAR obj:app and
SFTMIME DELETE obj:app [/GLOBAL]
they perform that CLEAR and DELETE tasks for every application that is assigned to the executing user.
If /GLOBAL is used, all (not just the user's) applications are DELETED.
Some SFTMIME commands allow using the "obj:<ObjectType>" target.
To determine which one can use it, you may use SFTMIME /help <verb> where "<verb>" are things like ADD, DELETE, CLEAR and so on.
Falko