hamsteren Posted October 15, 2006 Share Posted October 15, 2006 $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 ?? Link to comment Share on other sites More sharing options...
Paulie Posted October 15, 2006 Share Posted October 15, 2006 $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 ?? try using '<'and '>' Link to comment Share on other sites More sharing options...
GaryFrost Posted October 15, 2006 Share Posted October 15, 2006 (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 ?? try putting your include statement at the top of the script and what the previous post said :"> Edited October 15, 2006 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. Link to comment Share on other sites More sharing options...
hamsteren Posted October 15, 2006 Author Share Posted October 15, 2006 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 Link to comment Share on other sites More sharing options...
this-is-me Posted October 15, 2006 Share Posted October 15, 2006 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? Link to comment Share on other sites More sharing options...
AzKay Posted October 15, 2006 Share Posted October 15, 2006 Or you can use the Run() to run the other scripts. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
GaryFrost Posted October 15, 2006 Share Posted October 15, 2006 Or you can use the Run() to run the other scripts.don't forget to mention @AutoItExe SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
hamsteren Posted October 16, 2006 Author Share Posted October 16, 2006 don't forget to mention @AutoItExei tried all things no goany1 has an other solution ?the thing i am creating is thisan installation menu, and there are checkboxesif $chk01 is clicked that application need to installed ( au3 script ) Link to comment Share on other sites More sharing options...
MHz Posted October 16, 2006 Share Posted October 16, 2006 Try one of these ; UnCompiled version RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & @ScriptDir & '\test.au3"')oÝ÷ Ù«¢+Øì ½µÁ¥±ÙÉÍ¥½¸)%¥±%¹Íѱ° ÌäíÑÍйÔÌÌäì°QµÁ¥ÈµÀìÌäìÀäÈìÌäì°Ä¤Q¡¸(%IÕ¹]¥Ð ÌäìÅÕ½ÐìÌäìµÀìÕѽ%ÑáµÀìÌäìÅÕ½Ðì½Õѽ%ÐÍáÕÑMÉ¥ÁÐÅÕ½ÐìÌäìµÀìQµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÅÕ½ÐìÌäì¤(%¥±±Ñ¡QµÁ¥ÈµÀìÌäìÀäÈíÑÍйÔÌÌäì¤)¹% Link to comment Share on other sites More sharing options...
hamsteren Posted October 16, 2006 Author Share Posted October 16, 2006 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 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