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?
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
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.
Answered 11/10/2008 by: AngelD
Red Belt

Please log in to comment
0
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...
Answered 11/10/2008 by: slundy
Senior Yellow Belt

Please log in to comment
0
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.
Answered 11/10/2008 by: slundy
Senior Yellow Belt

Please log in to comment
0
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
Answered 11/10/2008 by: WayneB
Blue Belt

Please log in to comment
0
I actually did that but it still installed the files, not sure why.
Answered 11/11/2008 by: slundy
Senior Yellow Belt

Please log in to comment
0
I read the admin guide once before but missed the part with the ADDLOCAL options, I'll try that.

Thanks!
Answered 11/11/2008 by: slundy
Senior Yellow Belt

Please log in to comment
0
well that worked...can't believe it was that easy, I looked for msi options previously but never found any....guess I need to read slower...

this is what I used:

msiexec.exe /I XenAppHosted.msi /qb-! /l*v "ica32_install.log" ADDLOCAL=ICA_Client,PN

Thanks everyone!
Answered 11/11/2008 by: slundy
Senior Yellow Belt

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