Jump to content

Recommended Posts

I am working on a GUI to download and install all the programs i need after i format my PC

The GUI and download is working but the run....isn't running

Here is the code i use for WinRAR

Func wrar()
    Local $dw = InetGet("http://www.rarlab.com/rar/wrar400.exe", @DocumentsCommonDir & "\wrar400.exe", 1, 1)
    Do
        Sleep(250)
    Until InetGetInfo($dw, 2)
    InetClose($dw)
    Run(@DocumentsCommonDir & "\wrar400.exe")
EndFunc

It downloads but doesn't run the installer

Can any one please help me.

Link to comment
Share on other sites

Most times Run doesn't work, I use ShellExecute(). That's always working as far I know :) .

PowerSlide2UnlockiPhone look-a-like program you can use to lock your pc, you can't access your desktop again until the password is entered and the slider slided to the right. (really proud of it)-- After a time AutoIt and Windows, I switched to Mac. Don't expect me to answer anymore.
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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