Application Help Script

What do I need to edit? Script for Citrix Receiver;
<#
.SYNOPSIS
    This script performs the installation or uninstallation of an application(s).  
.DESCRIPTION
    The script is provided as a template to perform an install or uninstall of an application(s). 
    The script either performs an "Install" deployment type or an "Uninstall" deployment type.
    The install deployment type is broken down in to 3 main sections/phases: Pre-Install, Install, and Post-Install.
    The script dot-sources the AppDeployToolkitMain.ps1 script which contains the logic and functions required to install or uninstall an application.
    To access the help section,
.EXAMPLE
    Deploy-Application.ps1
.EXAMPLE
    Deploy-Application.ps1 -DeploymentType "Silent"
.EXAMPLE
    Deploy-Application.ps1 -AllowRebootPassThru -AllowDefer
.EXAMPLE
    Deploy-Application.ps1 -Uninstall 
.PARAMETER DeploymentType
    The type of deployment to perform. [Default is "Install"]
.PARAMETER DeployMode
    Specifies whether the installation should be run in Interactive, Silent or NonInteractive mode.
    Interactive = Default mode
    Silent = No dialogs
    NonInteractive = Very silent, i.e. no blocking apps. Noninteractive mode is automatically set if an SCCM task sequence or session 0 is detected.
.PARAMETER AllowRebootPassThru
    Allows the 3010 return code (requires restart) to be passed back to the parent process (e.g. SCCM) if detected from an installation. 
    If 3010 is passed back to SCCM a reboot prompt will be triggered.
.NOTES
.LINK 
    Http://psappdeploytoolkit.codeplex.com
"#>
Param (
    [ValidateSet("Install","Uninstall")] 
    [string] $DeploymentType = "Install",
    [ValidateSet("Interactive","Silent","NonInteractive")]
    [string] $DeployMode = "Interactive",
    [switch] $AllowRebootPassThru = $false
#*===============================================
#* VARIABLE DECLARATION
Try {
#*===============================================
#*===============================================
# Variables: Application
$appVendor = "Citrix"
$appName = "Citrix Receiver"
$appVersion = "14.1.0.0"
$appArch = ""
$appLang = "EN"
$appRevision = "01"
$appScriptVersion = "1.0.1"
$appScriptDate = "11/20/2013"
$appScriptAuthor = "Joseph Noxon"
#*===============================================
# Variables: Script - Do not modify this section
$deployAppScriptFriendlyName = "Deploy Application"
$deployAppScriptVersion = "3.0.7"
$deployAppScriptDate = "10/24/2013"
$deployAppScriptParameters = $psBoundParameters
# Variables: Environment
$scriptDirectory = Split-Path -Parent $MyInvocation.MyCommand.Definition
# Dot source the App Deploy Toolkit Functions
."$scriptDirectory\AppDeployToolkit\AppDeployToolkitMain.ps1"
#*===============================================
#* END VARIABLE DECLARATION
#*===============================================
#*===============================================
#* PRE-INSTALLATION
If ($deploymentType -ne "uninstall") { $installPhase = "Pre-Installation"
#*===============================================
    # Close open service based on Citrix Article CTX137494 (http://support.citrix.com/article/CTX137494)
    Show-InstallationWelcome -CloseApps "iexplore,ssonsvr,selfserviceplugin,receiver" -Silent
    # Show Progress Message (with the default message)
    Show-InstallationProgress
    # Remove Previous Citrix Receiver Installations
    $strAllUsersProfile=(get-content env:ALLUSERSPROFILE)
    $strExistingInstall="$strAllUsersProfile\Citrix\Citrix Receiver\TrolleyExpress.exe"
    If ((Test-Path $strExistingInstall) -eq $true) {
        Execute-Process -FilePath "$strExistingInstall" -Arguments "/uninstall /cleanup /Silent"
    # Remove Previous Citrix Receiver Enterprise Installations
    $strExistingInstall="$strAllUsersProfile\Citrix\Citrix Receiver (Enterprise)\TrolleyExpress.exe"
    If ((Test-Path $strExistingInstall) -eq $true) {
        Execute-Process -FilePath "$strExistingInstall" -Arguments "/uninstall /cleanup /Silent"
    # Remove Previous Citrix online plug-in Installations
    $strExistingInstall="$strAllUsersProfile\Citrix\Citrix online plug-in\TrolleyExpress.exe"
    If ((Test-Path $strExistingInstall) -eq $true) {
        Execute-Process -FilePath "$strExistingInstall" -Arguments "/uninstall /cleanup /Silent"
    # Remove any other MSI based installations of Citrix (i.e. Citrix AGP)
    Remove-MSIApplications "Citrix"
#*===============================================
#* INSTALLATION 
$installPhase = "Installation"
#*===============================================
    # Perform installation tasks here
    # Install Application
    Execute-Process -FilePath "CitrixReceiver.exe" -Arguments "/noreboot /silent"
#*===============================================
#* POST-INSTALLATION
$installPhase = "Post-Installation"
#*===============================================
    # Perform post-installation tasks here
    # Remove Registry Keys that start Citrix when Windows starts
    #64bit Keys
    If (([environment]::Is64BitOperatingSystem) -eq $true {
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run" -Name "CitrixReceiver"
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run" -Name "ConnectionCenter"
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run" -Name "Redirector"
        }Else{
    #32bit Keys
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "CitrixReceiver"
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "ConnectionCenter"
    Remove-RegistryKey -Key "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "Redirector"
    # Set Registry Keys to prevent Citrix Receiver from Updating
    Set-RegistryKey -Key "HKLM\SOFTWARE\Citrix\Receiver" -Name "AutoUpdatesEnabled" -Value 0 -Type DWord
    Set-RegistryKey -Key "HKLM\SOFTWARE\Citrix\Receiver" -Name "AutoUpdate" -Value 1 -Type DWord
    Set-RegistryKey -Key "HKLM\SOFTWARE\Citrix\Receiver" -Name "ShowIcon" -Value 0 -Type DWord
    # Create Active Setup to prevent AutoUpdate
    Copy-File -Path "$dirSupportFiles\CU-DisableCitrixUpdate.cmd" -Destination "$envWindir\Installer\CU-DisableCitrixUpdate.cmd"
    Set-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate" -Name "" -Value "DisableCitrixAutoUpdate" -Type String
    Set-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate" -Name "ComponentID" -Value "DisableCitrixAutoUpdate" -Type String
    Set-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate" -Name "Version" -Value "2013,11,20,1" -Type String
    Set-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate" -Name "StubPath" -Value "$envWindir\Installer\CU-DisableCitrixUpdate.cmd" -Type String
    Set-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate" -Name "Locale" -Value "EN" -Type String
    Set-RegistryKey -Key "HKCU\Software\Citrix\Receiver" -Name "AutoUpdatesEnabled" -Value 0 -Type DWord
    Set-RegistryKey -Key "HKCU\Software\Citrix\Receiver" -Name "AutoUpdate" -Value 1 -Type DWord
    Set-RegistryKey -Key "HKCU\Software\Citrix\Receiver" -Name "ShowIcon" -Value 0 -Type DWord
    # Close open service based on Citrix Article CTX137494 (http://support.citrix.com/article/CTX137494)
    Show-InstallationWelcome -CloseApps "iexplore,ssonsvr,selfserviceplugin,receiver" -Silent
    # Show-InstallationPrompt -Message "It is recommended that you restart your computer for the installation to finish completely." -ButtonRightText "Ok" -Icon Information -NoWait
#*===============================================
#* UNINSTALLATION
} ElseIf ($deploymentType -eq "uninstall") { $installPhase = "Uninstallation"
#*===============================================
    # Close open service based on Citrix Article CTX137494 (http://support.citrix.com/article/CTX137494)
    Show-InstallationWelcome -CloseApps "iexplore,ssonsvr,selfserviceplugin,receiver" -Silent
    # Show Progress Message (with the default message)
    Show-InstallationProgress
    # Remove this version of Citrix Receiver
    Execute-Process -FilePath "CitrixReceiver.exe" -Arguments "/silent /uninstall"
    Remove-RegistryKey -Key "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\DisableCitrixAutoUpdate"
    Remove-File -Path "$envWindir\Installer\CU-DisableCitrixUpdate.cmd"
#*===============================================
#* END SCRIPT BODY
} } Catch {$exceptionMessage = "$($_.Exception.Message) `($($_.ScriptStackTrace)`)"; Write-Log "$exceptionMessage"; Show-DialogBox -Text $exceptionMessage -Icon "Stop"; Exit-Script -ExitCode 1} # Catch any errors in this script 
Exit-Script -ExitCode 0 # Otherwise call the Exit-Script function to perform final cleanup operations
#*===============================================
THE ERROR
At C:\Users\S\Desktop\Deploy-Application.ps1:122 char:59
+     If (([environment]::Is64BitOperatingSystem) -eq $true {
+                                                           ~
Unexpected token '{' in expression or statement.
At C:\Users\S\Desktop\Deploy-Application.ps1:122 char:59
+     If (([environment]::Is64BitOperatingSystem) -eq $true {
+                                                           ~
Missing closing ')' after expression in 'If' statement.
At C:\Users\S\Desktop\Deploy-Application.ps1:126 char:10
+         }Else{
+          ~~~~
Unexpected token 'Else' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken
 

You need to go to the publisher for assistance with Citrix Receiver.  The website is found @
http://www.citrix.com/downloads/citrix-receiver/windows.html
Citrix has sole responsibility for support of their product, not Microsoft.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

Similar Messages

  • Photoshop CS4 in-application help

    I am using the trial Photoshop CS4 and cannot get the in-application Help to work. the CS3 Help works just fine.
    When I launch Help from the Menu bar I am directed to the Adobe Site.
    When I launch the Adobe Help application from the Applications folder, I get the Help window, and when I click on the 'Help for' menu and Choose 'Adobe Photoshop CS4' I get this
    "This topic is in the Help system of another product. To view the topic, install that product. file:///Library/Application%20Support/Adobe/Help/en_US/Photoshop/11.0/help.html'
    I need 'Help' with 'Help'.
    Fitz

    What Buko says.
    Also, when you've opened that page, you'll see a little (
    very little) PDF icon at the top there, which gives you the option of downloading the whole Help site as a 40+MB PDF document to your drive. Useful if you're always connected to the Internet, but it has the downside of not benefiting from updates, additions and corrections.

  • Error while opening the application help

    Hello,
    We are trying to open the application help from the R/3. It is giving
    us the follwoing error.
    This is linked to the knowledge warehouse server 6.20.
    Error:
    SAP Internet Knowledge Server
    The IKS cannot display the page you asked for.
    Please contact the administrator if this problem persists.
    Additional infomation:
    RFC Error: System exception raised, connection closed (SIW_IKS_VAR_GET)
    RfcRc: <3>, ErrorInfo:
    The confuguration looks fine as per the note # 381266.
    The help is working fine previously.
    Thanks in advance.
    Best regards,
    Madhav.

    Hi Arun,
    Error due to incorrect installation of life cycle designer.
    check the below links for solution.. ( same issue ).
    Error Message "Error while Opening the Document"
    Error - Adobe Live Cycle designer
    Regards
    Srinivas

  • Application Help in IR and ID

    Hi Everyone... I am Varun, an XI Consultant.
            Would anyone help me in resolving this issue.
       I want  to <b>ENABLE</b> <b>Application Help TAB </b> in <b> HELP Menu </b>where we have in <b>Integration Repository </b> and <b>Integration Directory</b> screens.
          I Would appreciate if anyone would me in this regard.
    Regards,
    Varun Reddy.K

    Thanks, Jaime Farinos for you reply and that helped me alot..
    Now i could successfully get enable the APPLICATION HELP tab in the Help Menu in Integration Repository and Integration Directory.
    As you suggested me to implement note 839880 and i did the same
    As i gave the url as http://help.sap.com/saphelp_nw2004s/helpdata in com.sap.aii.docu.url and it worked well but which ever object i select in IR/ID only the above url is getting enabled because i gave that url as default.
    Now what i need is for example if i select Mapping Obects in Integration Repository or for example Sender Agreement in Integration Directory and when i press Application Help tab in Help Menu, then that correspoinding url of (Mapping Obects  or Sender Agreement ) of help.sap.com page should get opened respectively and so on.
    Hope you got my point.
    Please help me in this issue.
    Regards,
    Varun Reddy Kasireddy.

  • Application Help in Spanish

    Hello,
    On the site help.sap.com, there is no application help in spanish for:
    SAP ERP Central Component 6.0
    SAP ERP 6.0 – EHP2
    SAP ERP 6.0 – EHP3
    SAP ERP 6.0 – EHP4
    SAP ERP 6.0 – EHP5
    SAP ERP 6.0 – EHP6
    SAP ERP 6.0 – EHP7
    The last application help in Spanish was published with SAP R/3 Enterprise Release 4.70  in 2003.
    Somebody knows, when will sap publish application help in spanish?
    Kind regards,
    Milton.

    This should help...
    QuickTime or iTunes Installer "Could not open key" alert stops install on Windows

  • Application Help in German

    Hello,
    One of our users when he clicks in Application Help, the browser starts SAP HELP in German language. This happens only for a couple of them and the rest of the user commuinty is having ENGLISH.
    Can any one suggest if it is any parameter setting or GUI setting etc where the user has gone wrong.
    He has the other SAP screens and work in Perfect English and only the SAP help pops out in German language.
    Any poiinters to solve this query would be great and awarded suitably...
    Thanks.
    Sri

    Hi Keerti,
    Thanks for the response..... but there is only one variant in settings..IBWHELP and its the same for every one.. we have tried copy Ssystem Settings option as well but of no use... and i have only 2 users with such issue where the HELP file opens in German....
    Any other views or pointers would be appreciated...
    Br,
    Sri

  • Choice between UPK in-application help and standard EBS help

    Hi,
    We are on a EBS 11.5.10 project, implementing UPK.
    We got UPK in-application help working; changed custom.pll, set the profile option, everything fine.
    Now we would like the users to have the choice between UPK help (default) and standard EBS help.
    Therefore we opened the In-Application Support Player Configuration, and created a new Tab:
    Type: Oracle E-Business Suite help
    Tab Text: EBS help
    URL: ?
    Whatever we put in the URL, it won’t display the standard EBS context sensitive help. We can see the ‘EBS help’ tab when selecting ‘window help’ in the application but the page is blank or shows an error message.
    Do you have any tips on how to get this working?
    Thanks,
    Abe de Beer
    EBS Financials consultant
    Oracle Belgium

    Hi,
    I have the exact same requirtment, Could you please give the step what you have done so that it would be helpfull. Also after publishing the content on the i am not seeing the "Application Option" i am seeing the smart help. do we need to configure on "Application Option" or on smart help. Where ever is see the doc it says configure oracle_gateway.html but i dont see oracle/hemi folder at all. do know if there is a set up that has to be done to get this option (UPK 11.10.1)
    Thanks

  • Problem in Application Help Configuration in Solution Manager

    Hi Experts,
    Here I facing one problem during Application Help configuration..
    When I am going through application help for Solman Configuration it's taking me to standard erp help..
    Where as in SR13, under PlainHtmlHttp,
    In path tab I had given <b>saphelp_sm40/helpdata</b> for solution manager document.
    But for other standard t-code it's giving actual application help.
    where for SMSY,SOLAR01 etc i am not getting the application help.
    Looking for advices.
    Thanks & Regards,
    Sumanta Chatterjee

    Dear Sumanta,
    This depends on how you want to (or how you can) use this http://help.
    sap.com site.
    At first you must be aware of the different areas on this site, these
    areas have different URL structures, for example:
    - http://help.sap.com/saphelp_erp2004 <<< for mySAP ERP
    - http://help.sap.com/saphelp_47x200  <<< for R3 Enterprise
    - http://help.sap.com/saphelp_nw04    <<< for SAP NetWeaver 04
    - http://help.sap.com/saphelp_sm32    <<< for SAP Solution Manager 3.2
    The main problem is that in the area "http://help.sap.com/saphelp_sm32"
    there is only online documentation for the Solution Manager
    functionality.
    Can you please check the table SBAON_CCHK with transaction SE16.
    The following record must exist:
    MANDT COMPONENT                NAME_EN
    xxx   ST                       Solar Help
    If this record does not exist, please create this record manually.
    This should help resolve the issue.
    Regards
    Amit

  • Best practice for application help for a custom screen?

    Hi,
    The system is Netweaver 7.0 SP 15 with e-recruiting .
    We have some custom SAP GUI transactions and have written Word documents with screen prints and explanations. I would like to make the procedure document accessible from the custom transaction or at least provide custom help text that includes a link to the full documents.
    Can anyone help me out with options and best practices for providing customized application help for custom SAP GUI transactions?
    Thanks,
    Margaret

    Hello Margaret,
    sorry I though you might be still in a design or proof of concept phase where the decision for the technology is still adjustable.
    If the implementation is already done things change of course. The standard in-system documentation is surely not fitting your needs as including screenshots won't work well.
    I would solve the task the following way:
    I'd make a web or pdf document out of the word document and put it on a web ressource - as you run e-recruiting you have probably the possibility for that.
    I would then just put a button into the transaction an open a web container to show the document.
    I am not sure if this solution really qualifies as "best practise" but SAP does the same if you call the Help for application in the help menue. This is implemented in function module SAPGUIHC_OPEN_HELP_CENTER. I'd just copy it, throw out what I do not need and hard code the url to call.
    Perhaps someone could offer a better solution but I think this works a t least without exxagerated costs.
    Kind Regards
    Roman

  • Is there any Profile option available to encrypt and use APPS password Oracle Application Host script

    @Hi, How do we encrypt APPS password usage  in Oracle Application Host script and still let it be used in encrypted format (eg.$1, $FCP_LOGIN should not show plain text password).
    Appreciate the process along with any Profile available to place this control.
    Concurrent Program Setup Option SECURE/ENCRYPT controls $1, $FCP_LOGIN respectively, but Developer still has access to view/log the APPS Password.
    Can we have a System profile or an Apps DBA level Setup to encrypt and use the APPS/Password.
    Thanks in Advance
    Lakshmi

    Are you linking the host script to fndcpesr? E.g.:
    Host script defined with prog extension:
    XXSCRIPT.prog
    Move it to relevant dir:
    $XX_TOP/bin
    Create a soft link to fndcpesr
    ln -s $FND_TOP/bin/fndcpesr XXSCRIPT

  • Application help not connecting to SAP

    Hi all,
    When i click on the help->Application help link, i am not able to see the help documentation. That is, my sap system is not getting connected to application help.
    Please help me...
    Thanks...

    Hello Madhukar,
    well - did you configure the help?
    Have a look at transaction sr13, there you can see whether anything was done.
    You can find a description what to do at http://help.sap.com.
    kind regards,
    Carl

  • Application help problem

    Hello guru's,
    In my sap system application help is not comming.can u anybody plz  help me out. wht parameters i need to maintain to get the application help.
    it shows the below error message:
    Please check the entries in the file sapdoccd.log in the windows directory.
    Thanks,
    Venkat.

    Goto SR13 and depending on the kind of application help, maintain teh configuration.
    Check the following SAP Document for a details on the configuration.
    https://websmp105.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002110712004E
    Also check SAP Note 33358 for a list of standard problems.
    - Regards, Dibya

  • Application help display

    Hi,
    I want to display the application help for any transaction openned but when i do this a browser is launched and a file of help is opened but an error is appearing telling that " navigation to web page is cancelled"
    Any help please,

    Hello Zied,
    Can you paste the url in the borwser.
    Regards.
    Ruchit.

  • Application Help Link

    We try to overwrite the application help link as described in <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/44/336208da18060be10000000a155369/frameset.htm">help_sap_com</a> (see code below).
    However, the line <b>application_info->set_help_link</b> does not work since the class does not have the method. Has anybody already used this?
    Code from help.sap.com
    method onactionchange_appl_helplink .
      data api_main2        type ref to if_wd_view_controller.
      data component        type ref to if_wd_component.
      data application      type ref to if_wd_application.
      data application_info type ref to if_wd_rr_application.
      api_main2 = wd_this->wd_get_api( ).
      component = api_main2->get_component( ).
      application = component->get_application( ).
      application_info = application->get_application_info( ).
      application_info->set_help_link( 'HELPTYPE=SAPHELP&_LOIO=452C8201E9EF48D882BD10244D085661&_CLASS=BIC_OOO' ).
    endmethod.

    Hi,
    which SP do you have? SET_HELP_LINK should be there in the newer support packages.
    Regards, Heidi
    PS: Check SAP Note 1002520, that should do the trick...
    Message was edited by:
            Heidi von Geisau

  • AUR Helper Scripts

    This thread is intended to provide a "locator" resource for all the AUR helper scripts out there - for searching and/or building from the AUR.  This does include some of the GUI pacman frontends, and it is ok to repost those here.
    I would appretiate it if the author of each front end posted a small (2-3 line) description of their creation, along with a homepage link and an AUR link (where applicable).  Screenshots would also be nice (if applicable).
    This thread is only intended for this purpose and will be cleaned of other posts.  If this thread ends up locked and you have a front end to add, feel free to PM any of the moderator staff and we will unlock it for you.

    aur-get
    aur-get is simple AUR manager written in python. It will help you with searching, downloading, installing and updating packages from AUR.
    aur-get is no more maintained. It's ugly and buggy code. Don't use it.
    Homepage: http://husio.arch-linux.pl/aur_get/about.html
    PKGBUILD: http://aur.archlinux.org/packages/aur-g … t/PKGBUILD
    Screenshot 1: http://img100.imageshack.us/img100/6125 … 8schg5.png
    Screenshot 2: http://img152.imageshack.us/img152/4695 … 0scsu7.png
    Last edited by Husio (2008-04-01 15:09:08)

Maybe you are looking for