Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Build exe from exe

$
0
0
Hi,
I have search arond but i don't have find anything, maybe i have used a wrong word.
Anyway, is possible to compile an exe from a compiled exe without autoit installed on the same system?

I have start to make a script:
[ autoit ]         
  #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Test", 276, 171, 196, 127) $Input_Command = GUICtrlCreateInput("Run('calc.exe')", 16, 24, 241, 21) GUICtrlCreateLabel("Command:", 16, 7, 54, 17) $BUILD = GUICtrlCreateButton("BUILD", 16, 104, 241, 49) GUISetState(@SW_SHOW) While 1  $nMsg = GUIGetMsg()  Switch $nMsg   Case $GUI_EVENT_CLOSE    Exit   Case $BUILD    Test()  EndSwitch WEnd Func Test()  Local $file = FileOpen("final.au3", 2)  FileWrite($file, "#Region" & @CRLF & "#AutoIt3Wrapper_Icon=icon.ico" & @CRLF & "#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker" & @CRLF & "#EndRegion" & @CRLF & @CRLF)  FileWrite($file, GUICtrlRead($Input_Command))  FileClose($file) EndFunc

Thanks

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>