Systems Management Question

Any Idea Why the program is not installing on the correct path

04/06/2013 7757 views

I am having trouble installing an inhouse built software on the correct path ... If I run this command manually on the Testing VM, It installed on the correct path which is mention below.....

Installation command is :

"Setup.exe" /qn ARPINSTALLLOCATION="%USERPROFILE%\AppData\Local\PMPM" /lv* "C:\Program Files\Software Distribution\Logs\pmpm_app_v7.log" REBOOT=ReallySuppress ALLUSERS=1

Correct Path when I manual install the Application :

C:\USERS\<User ID>\AppData\Local\<Application name>

When I push through SCCM Task Sequence it install on to the following Path :

C:\Windows\SysWOW64\config\systemprofile\AppData\Local\<Application name>

Whole Application provided by the User (means I did not package it) … I tried to install through VB Script and directly Run Command Line in the task sequence, as you see even using the Public property “ARPINSTALLLOCATION” in the Setup command is no use …

Any Idea why it is doing that ?

Is it SCCM or the MSI ?

Please I really appreciate if anybody can help me here .....

Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer


This is because by default SCCM will install application through System account..

To fullfil your requirement, you will have to install the application as currently logged in user

Answered 04/07/2013 by: jagadeish
Red Belt

  • As per above posts, in this instance, application was installed from SCCM on a System context. One suggestion i could think of now is create a script, get the username using WshNetwork.UserName then installation switch should have installdir with the correct user profile. Or suggest to install app in user context.

All Answers


It looks as if the %userprofile% variable might be causing this. I'm guessing SCCM is using the local System account to run the task so %userprofile% redirects to C:\Windows\SysWOW64\config\systemprofile\.

Answered 04/07/2013 by: mpace
Red Belt

Thank you All ... Problem Resolved as per replied by swatat ...
Answered 08/25/2014 by: das1973
Orange Belt

  • This is super late but its nice to know its resolved now. :-)