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.