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

Notifications

Announcements

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
    36,383 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard