I have a package which needs to be deployed into citrix environment. This package(MSI) has user profiles files. I have heard that in citrix environment self healing will not happen. Terminal server is also enabled.
The files are going to "c:\documents and settings\[user profile]\application data\microsoft\office". How do I make these files heal...so that they get installed for each user.
Can we use active setup in this case(will it work)???
I tried placing these files in Al users profile.but even then the files were not copied to each user who logs in.

M new to packaging in citrix environment. ANy pointers will be greatly appreciated

Thanks and Regards,
Dev
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
If you use wps you could create an wisescript exe or vbscript for the active setup that copies these files.
Answered 09/06/2006 by: AngelD
Red Belt

Please log in to comment
0
I've seen all sorts of solutions / hacks to populate user profiles on Citrix. I would agree that Active Setup is probably the easiest way to go if it is suitable for your environment but make sure your security policies don't get in the way of Active Setup. The other common solution is to have something that is put in as a pre-launch action to the application that checks to see if the profile has been initialized for the application. If it hasn't the launch script will copy in the necessary files.

Sorry... I had to edit this for accuracy.
Answered 09/06/2006 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
For one of my customer we have disabled the windows installer service (enabled during install obviously), then running a login script that check if the applications userprofile has been populated, if not then copy files.
Answered 09/06/2006 by: AngelD
Red Belt

Please log in to comment
0
Thank U Angel for ur reply.

I am now trying to use wise exe to install user profile files. I created a active setup for this exe. The registries are installing fine. But as i said I have files which are going to
"c:\documents and settings\[user profile]\application data\microsoft\office".

When I went to add these files into the exe it asks for source and destination paths. In destination paths it takes only Variable names as %WIN%(Points to c:\documents and settings\[user profile]\Windows) , %TEMP%, %SYS%, %SYS32%, %INST% followed by the location where i want to install the files. How can I modify these variable names or create a new variable to have the destination as "c:\documents and settings\[user profile]\application data\microsoft\office".

Thanks in Advance...
Answered 09/07/2006 by: DevGowda
Orange Belt

Please log in to comment
1
Hi DG,

I usually adds a TSUserProfile directory containing the userprofile stuff in an MST in the INSTALLDIR folder.

Then I use something like this:
Dim FSO : Set FSO = CreateObject("Scripting.FileSystemObject")
Dim WSHShell : Set WSHShell = CreateObject("WScript.Shell")

Dim sProgramFiles : sProgramFiles = WSHShell.Environment("Process").Item ("ProgramFiles")
Dim sAPPDATA : sAPPDATA = WSHShell.Environment("Volatile").Item ("APPDATA")

Dim sInstallDir : sInstallDir = sProgramFiles & "\Microsoft\Office"
Dim sTSUserProfile : sTSUserProfile = sInstallDir & "\TSUserProfile"

Dim sMsOfficeAppData, sSource, sDestination

'// Copy files to Application Data
sMsOfficeAppData = sAPPDATA & "\Microsoft"
sSource = sTSUserProfile & "\Microsoft\Office"
sDestination = sMsOfficeAppData & "\"

If Not FSO.FolderExists(sMsOfficeAppData) Then
FSO.CreateFolder(sMsOfficeAppData)
End If
If Not FSO.FolderExists(sDestination) Then
FSO.CopyFolder sSource, sDestination, True
End If
Answered 09/07/2006 by: AngelD
Red Belt

Please log in to comment
0
Does Active Setup work on Citrix if you are only publishing applications, not a desktop? Ours isn't and I saw a post on Citrix leading me to wonder if its our problem, or not supported. I'd rather not set HKCU keys with a logon script.

Thanks,

John
Answered 10/02/2006 by: jlr
Yellow Belt

Please log in to comment
0
Yeah I screwed up... Active Setup will not work with published applications because of the reduced shell but will work with a published desktop.

Sorry, answering another question in another thread and cleaning up this bad answer.
Answered 12/17/2007 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Have you tried flex profiles ?

FlexProfiles
Answered 12/19/2007 by: bheers
Second Degree Blue Belt

Please log in to comment
0
When packaging for Citrix you should generally place all Current User keys in the following location:

HKLM\Software\Microsoft\WindowsNT\CurrentVersionTerminal Server\Install\Software.....

This http://support.microsoft.com/kb/186498 explains in more detail

Not sure if Active Setup is such a good idea for Citrix really, do you want a repair to kick off on your server?
Answered 01/02/2008 by: oreillyr
Fifth Degree Brown Belt

Please log in to comment
0
Hi,

Did you try with Flex profile or Man profile, If not please follow the below procedure.
Please check the location of the userprofiles in the citrix server when you are login into citrix client or accessing the published applications from the client machine.
Create Wise script exe or VBS to copy all the user related file and registries and include a statement to run the shortcut in the same script using environment variables like %userprofile% ,%appdata% .
and while publishing the shortcut to the users, keep the target exe as wise script exe.
So, when ever user accessing the shortcut , it will execute the wise script exe and inturn will copy the user related files and import the HKCU keys and then it will trigger the shortcut.

Note : if your client network (citrix configuration) is using any file server to store the user profiles then you need to give that file server location in the wise script . For example most of the environments are configured with \\servername\%username%\mydocuments mapped to some H:\ or N:\ and it will have path varaiables like HOMEDRIVE(H:\) assigned. So you can use these varaiables in place of normal approach that was explained above.
Answered 01/20/2010 by: joseph
Orange Belt

Please log in to comment
0
hi
Answered 07/19/2010 by: anithaapf
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity