Jump to content

Recommended Posts

Posted

$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

Posted

$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

try using '<'and '>'
Posted (edited)

$app_script = "standard\" & iniread( "standard.ini",$var[$i],"script","leeg")
            if FileExists($app_script) Then
                #include $app_script
                GUICtrlSetData($installlog,@CRLF & $app_name & " - Installed",1)
            Else
                GUICtrlSetData($installlog,@CRLF & "Cannot find file -- " & $app_script ,1)

            endif

oÝ÷ Ú(Z½ëaË®*mnëb¶¯zÉzºè®Z(Ébèj}ýv®¶­sb6æ6ÇVFRb33c¶÷67&@

any1 have an idea ?? :lmao::ph34r:

try putting your include statement at the top of the script and what the previous post said :"> Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

that will be a little problem, cause my script includes those files somewhere in the script

first it checks if that file exists and then starts the script

Posted

Includes are directives that are handled before script processing begins. Therefore, It is impossible to use the value of a variable in an #inlcude directive. Literal strings must be used instead.

Who else would I be?
Posted

Or you can use the Run() to run the other scripts.

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

don't forget to mention @AutoItExe

i tried all things no go

any1 has an other solution ?

the thing i am creating is this

an installation menu, and there are checkboxes

if $chk01 is clicked that application need to installed ( au3 script )

Posted

Try one of these

; UnCompiled version
RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & @ScriptDir & '\test.au3"')oÝ÷ Ù«­¢+Øì
½µÁ¥±ÙÉÍ¥½¸)%¥±%¹Íѱ° ÌäíÑÍйÔÌÌäì°QµÁ¥ÈµÀìÌäìÀäÈìÌäì°Ä¤Q¡¸(%IÕ¹]¥Ð ÌäìÅÕ½ÐìÌäìµÀìÕѽ%ÑáµÀìÌäìÅÕ½Ðì½Õѽ%ÐÍáÕÑMÉ¥ÁÐÅÕ½ÐìÌäìµÀìQµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÅÕ½ÐìÌäì¤(%¥±±Ñ¡QµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÌäì¤)¹%

:lmao:

Posted

ok, on this moment i am as far as this

1.) created install.exe

2.) created app01.exe

3.) i add this line in my script ( run ("apps\app01.exe","",@SW_SHOW)

in app01.exe the script will start the autoIT script to start the installation of the app

now i want that install.exe will wait continue his script untill app01.exe is completely ready

so that the app that is refering to app01.exe is installed

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...