I've got a MSI from a vendor and it works when running through the installer GUI but when I do a silent install the files are installed into the root of C:\ instead of C:\Program files\appname. Looking in the Directory table I can't see anything that relates to %programfiles% but all the apps folders are using TARGETDIR as a parent directory which only has DefaultDir = SourceDir defined.

Any ideas how to set the app files to install in %programfiles%\appname?

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer

check for custom actions in the UI sequence that set the installdir that are not present in the Exec Sequence. Then copy the offending CAs over.
Answered 01/14/2011 by: pjgeutjens
Red Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Many thanks!!! That did the trick
Answered 01/14/2011 by: Micka007
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity