MrChris Posted August 6, 2006 Share Posted August 6, 2006 (edited) 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 August 6, 2006 by MrChris Link to comment Share on other sites More sharing options...
Paulie Posted August 6, 2006 Share Posted August 6, 2006 but both ways still work.So...Whats your question? Link to comment Share on other sites More sharing options...
MrChris Posted August 6, 2006 Author Share Posted August 6, 2006 (edited) 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 August 6, 2006 by MrChris Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now