web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to change insta...
Power Apps
Unanswered

Unable to change installation directory of PowerApps CLI.

(0) ShareShare
ReportReport
Posted on by 2

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

Categories:
I have the same question (0)
  • timl Profile Picture
    37,210 Super User 2026 Season 1 on at

    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

     

  • anique9999 Profile Picture
    2 on at

    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"

     

    anique9999_0-1676894664138.png

     

    Thanks,

    Anique

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard