Jump to content

compiled script not working write but au3 script is


Recommended Posts

below is my script. If I run the non-compiled script it creates a dir in temp called vncviewer which is what it is supposed to do. If I run the compiled EXE it extracts the conectent to the root of temp. but both ways still work.

#NoTrayIcon
$viewer_temp = @TempDir & "\vncviewer"

DirCreate($viewer_temp)
FileInstall("vncviewer.exe",$viewer_temp & "\vncviewer.exe")
FileInstall("options.vnc",$viewer_temp & "\options.vnc")
FileInstall("MSRC4Plugin.dsm",$viewer_temp & "\MSRC4Plugin.dsm")
FileInstall("rc4.key",$viewer_temp & "\rc4.key")
Run($viewer_temp & "\vncviewer.exe -config options.vnc")
ProcessWaitClose("vncviewer.exe")
DirRemove($viewer_temp, 1)
Exit
Edited by MrChris
Link to comment
Share on other sites

Well. I guess my question is really "Why does it work when I run the non-compiled script and not when I run the compiled script?" Not to mention I kinda need it to extract the data to $temp & '\vncviewer but its not!

Edited by MrChris
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...