Share via


How to get application installation source path from SCCM server?

Question

Friday, February 15, 2013 11:12 AM

Hi All,

How to get the application installation sources from SCCm server?
Is there any table available for getting all those details?

KIndly find the below XML for more details:

<Application>
<esd3name>Boxsync</esd3name>
<displayname>Box Sync</displayname>
<version>3.2.56.0</version>
<mandatory>False</mandatory>
<installsource>\TestSCCMserver\sources\Application\Box Sync -- v3.2.56 SCV4(32bit)</installsource>
<installcmd>install.vbs</installcmd>
<uninstallcmd>uninstall.vbs</uninstallcmd>
</Application>

In that above xml under installsource tag, we have application installation source path.
I need to get the app.Installation source path dynamically by calling the SCCM server.
Is there anyway to query all those details through any tables???

Thanks

Divakar

All replies (2)

Friday, February 15, 2013 11:22 AM âś…Answered

The package source path is available in the view v_package. Try this query to retrieve name and source paths for all packages:

Select name,pkgsourcepath from v_package


Friday, February 15, 2013 12:01 PM

Thanks Eirik...