Has anyone checked out the XenAppPrep tool?
I stumbled across this post here at Shannon Ma’s Blog.
Supposedly it will handle all the Citrix related things.. so basically,
1) Create a Citrix Golden Server
2) Install this tool – If your XenApp server is Virtualized, you could take a quick snapshot before installing.
3) Run the tool
4) Run NewSid and any generalization tools you might like.
5) Image and Deploy.
6) Revert Snapshot if necessary.