Jump to content

Recommended Posts

Posted
$powershell0 = '"Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}"'
Runwait("powershell.exe" & " " & $powershell0)

The $powershell0 command is the code to install windows store applications from the beginning. It runs smoothly when we run this code directly through powershell, but when run through Autoit, powershell cannot find where to install applications and gives such an error. I would appreciate if you can help, good forums.🙂

sshot-1.png.014fafaf3296deb15afc2ee1cb9b211a.png

Posted

ask , you just tryed with RUN command ?

To run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)    ; don't forget " " before "/c"
 

look in help F1

 

Posted
5 hours ago, faustf said:

ask , you just tryed with RUN command ?

 To run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)    ; don't forget " " before "/c"
 

look in help F1

 

dont work

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...