I was not sure how to title this and I am not sure if this is possible but I 
have an MSI file that needs to specifically reference the folder the MSI is 
located in in order to work.

Example: msiexec /i <MSI_FOLDER_PATH>/application.msi 
SETUPEXEDIR=<MSI_FOLDER_PATH>

I am not sure how in SCCM I can make it so when it does copy the files to the 
ccmcache folder that it runs while referencing the folder it is in.

As it stands running msiexec /i "application.msi" /q it fails

It also requires admin rights, so I figured this should not be an issue running 
as SYSTEM, but that is not the case, at least not until I figure out how to 
pass this command to see if it will install at all.

If I open a command prompt with admin rights and run the full command with the 
ccmcache folder it works.

Any ideas?

SCCM 2012 R2
Windows 7 x64 systems


Thanks,

Kevin Johnston




Reply via email to