locked
App-v Shortcuts in SCCM RRS feed

  • Question

  • I've got an issue that's driving me mad.

    I'm working on a package which has 23 shortcuts all to external network drives outside of the package.

    Several of these shortcuts use the same application, so for example from the DeploymentConfig.xml

    The shortcuts are:

    <Extension Category="AppV.Shortcut">
       <Shortcut>
         <File>[{Common Start Menu}]\APP\App1.lnk</File>
         <Target>\\app-p\Programs\DV_IAKABatSel.exe</Target>
         <Arguments>-autostart:OFF -department:tester</Arguments>
         <Icon>[{AppVPackageRoot}]\ApplicationIcons\App1.ico</Icon>
         <WorkingDirectory>\\app-p\Programs</WorkingDirectory>
         <ApplicationId>\\app-p\Programs\DV_IAKABatSel.exe</ApplicationId>
       </Shortcut>
    </Extension>
    <Extension Category="AppV.Shortcut">
       <Shortcut>
         <File>[{Common Start Menu}]\APP\App2.lnk</File>
         <Target>\\app-p\Programs\DV_IAKABatSel.exe</Target>
         <Arguments>-start:auto -department:Balancer</Arguments>
         <Icon>[{AppVPackageRoot}]\ApplicationIcons\App2.ico</Icon>
         <WorkingDirectory>\\app-p\Programs</WorkingDirectory>
         <ApplicationId>\\app-p\Programs\DV_IAKABatSel.exe</ApplicationId>
       </Shortcut>
    </Extension>

    The Applications are:

    <Application Id="\\app-p\Programs\DV_IAKABatSel.exe" Enabled="true">
      <VisualElements>
        <Name>App1</Name>
        <Icon>[{AppVPackageRoot}]\ApplicationIcons\App1.ico</Icon>
        <Description />
      </VisualElements>
    </Application>
    

    What I find is if I publsh the app manually on a machine all shortcuts are there.

    BUT

    When I import into SCCM 2012 I only get the option of the first app that uses the exe in the publishing tab of the deployment type. The client wants various itterations of the app in SCCM publishing a different subset of application shortcuts.

    Only way I can see to make this work is to have lots of seperate packages with the subset of shortcuts for each user base. But it shouldnt have to be that way.

    Any ideas greatly appreciated. 


    • Edited by rtimmsie Thursday, April 4, 2019 10:46 AM
    Thursday, April 4, 2019 9:48 AM

All replies

  • I discovered the issue with this and I pressume it is by design.

    It seems that with a package with many shortcuts targeting the same ApplicationID that when they are imported to SCCM the publishing tab wil only display the first application that uses the ApplicationID.

    If the application is deployed then all the shortcuts are created. Unfortunatley it is not possible to pick different combinations of shortcuts to publish as they are not displayed.

    In my case this means I cant use one package with all 23 shortcuts and just create deployments with the ones I want for each of the configurations. The only way I can do it is create a 7 seperate configurations with the apps that I want for each config by editing the deployment xml files.

    Tuesday, April 9, 2019 9:34 AM