Announcements
Hi,
I wanted to change the installation directory of PowerApps CLI to [C:\ProgramFiles] using INSTALLDIR command-line argument but the application is still in installing under %AppData%\Local\. Is there a way I can change the installation directory for the application?
Thanks,
Anique
Hi @anique9999
Assuming that you've downloaded the MSI for the CLI, I'd try setting TARGETDIR rather INSTALLDIR to see if that makes a difference.
msiexec /i "c:\downloads\powerapps-cli-1.0.msi" TARGETDIR="C:\ProgramFiles\powerappsCLI"
https://learn.microsoft.com/en-us/windows/win32/msi/targetdir
Hi @timl ,
Using TARGETDIR didn't help the application doesn't installs in Program Files.
"msiexec.exe /i "C:\local\PowerApps CLI 1.84.4\powerapps-cli-1.0.msi" /qn ALLUSERS=1 TARGETDIR="C:\ProgramFiles\powerappsCLI"
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 413
WarrenBelz 355 Most Valuable Professional
timl 315 Super User 2026 Season 1