Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268