Citrix 11 - suppress file from starting
i've got an msi to install citrix xenapp 11 (replaces the v10 and v9 ica clients) that when it's finished starts a program called pnamain.exe which is used to connect to a citrix web server. Since we don't use those where I'm at, I'm trying to find a way, other than using "taskkill", to stop the file from executing after the installation.
I've looked through the msi with orca and adminstudio but can't seem to find where it's being called. Anyone else had to do something similar?
I've looked through the msi with orca and adminstudio but can't seem to find where it's being called. Anyone else had to do something similar?
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
AngelD
15 years ago
A verbose log during install should give you more info to go on.
Is the pnamain.exe installed through the File table?
See you if you can find any CA in the CustomAction table that reference the file.
Is it executed during FULL UI and not Basic UI?
If nothing helps you need to install with verbose logging + Process Monitor and when the pnamain.exe process executes check the timestamp in ProcMon and then check for the same timestamp in the verbose log to find out which CA executes it.
Is the pnamain.exe installed through the File table?
See you if you can find any CA in the CustomAction table that reference the file.
Is it executed during FULL UI and not Basic UI?
If nothing helps you need to install with verbose logging + Process Monitor and when the pnamain.exe process executes check the timestamp in ProcMon and then check for the same timestamp in the verbose log to find out which CA executes it.
Posted by:
slundy
15 years ago
i've found a few instances where it's called, but not sure what any of them mean:
Action:
CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (Target empty)
CtxCallPNAgent.Clean.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Clean)
CtxCallPNAgent.Install.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Install)
CtxCallPNAgent.Terminate.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Terminate)
Source:
pnagent.exe.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target empty)
They all have that as the source, not sure if I should drop the row, or leave it and use a transform to take care of it. I tried the procmon suggestion but couldn't find anything that was actually calling that file, just that the file started. Probably didn't look close enough. Thanks for the help, new to all of this and it's rather daunting to learn...
Action:
CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (Target empty)
CtxCallPNAgent.Clean.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Clean)
CtxCallPNAgent.Install.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Install)
CtxCallPNAgent.Terminate.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target /Terminate)
Source:
pnagent.exe.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC (target empty)
They all have that as the source, not sure if I should drop the row, or leave it and use a transform to take care of it. I tried the procmon suggestion but couldn't find anything that was actually calling that file, just that the file started. Probably didn't look close enough. Thanks for the help, new to all of this and it's rather daunting to learn...
Posted by:
slundy
15 years ago
I did find in the log file where that CustomAction is called:
MSI (c) (CC:D8) [15:39:12:437]: Doing action: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC
Action start 15:39:13: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC.
MSI (c) (CC:D8) [15:39:13:156]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC'
Action ended 15:39:17: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC. Return value 1.
Action ended 15:39:17: Exit_Dialog. Return value 1.
MSI (c) (CC:D8) [15:39:12:437]: Doing action: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC
Action start 15:39:13: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC.
MSI (c) (CC:D8) [15:39:13:156]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC'
Action ended 15:39:17: CtxCallPNAgent.20FBBF0A_A7E5_4BDE_9798_9811C3D135AC. Return value 1.
Action ended 15:39:17: Exit_Dialog. Return value 1.
Posted by:
WayneB
15 years ago
Gidday,
Couldn't you launch the msi with a "/a" switch? This would give you the Admin install which should configure the msi with an admin configured transform file. You can select which features you require when you run through the setup.
ie.msiexec /a "your msi file"
I believe the Citrix Client Packager is the way to go to create the one Transform file:
Documentation:
http://support.citrix.com/article/ctx116424
Hope this helps
Cheers
Wayne
Couldn't you launch the msi with a "/a" switch? This would give you the Admin install which should configure the msi with an admin configured transform file. You can select which features you require when you run through the setup.
ie.msiexec /a "your msi file"
I believe the Citrix Client Packager is the way to go to create the one Transform file:
Documentation:
http://support.citrix.com/article/ctx116424
Hope this helps
Cheers
Wayne
Posted by:
slundy
15 years ago
Posted by:
slundy
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.