Sign in to follow this  
Followers 0
Fran

_RunDOS Aut2exe problem

7 posts in this topic

#1 ·  Posted (edited)

I'm attaching my script to this message.

RS_CompileFinalUpdate.au3

I have created a little app that automates a few tasks. ;) One of them is the compiling of and autoit script to exe.

On my pc I have no problem with this script, but for some unknown reason it's not running on any other machine (even though I've installed autoit on their machines). ;)

I'm sure I'm missing something really silly in my scripting, but I keep banging my head and the answer's not coming. :)

Can anyone assist me please?

(It does everything perfectly up until _RunDOS(), but it doesn't give any error messages so I have no idea what it's not doing.

ContentUpdate.au3

Edited by Fran

Share this post


Link to post
Share on other sites



Fran,

Are you sure you installed AutoIt into exactly the same path on the other machines? ;)

I have used RunWait successfully to compile in-script:

RunWait(@ComSpec & " /C " & "Aut2Exe.exe  /in " & $Source_File & " /out " & $Target_File & " " & $Icon_File & " " & $Comp_Parameters , @ScriptDir & "\", @SW_HIDE)

Perhaps this will work for you too. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Perhaps this will work for you too. ;)

It doesn't work on my pc :)

What is $Comp_Parameters?

F

Share this post


Link to post
Share on other sites

Fran,

Look in the Help file under <Compiling Scripts with Aut2Exe - Method 3 - The Command Line> to see what the various parameters are. :)

As you seem to have a non-standard install, try putting the full path of Aut2Exe. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

100% - thank you... still only works on my pc though ;)

Is there a way that I can run a "pause" command to the same window so I can see what the error is?

Fran

Share this post


Link to post
Share on other sites

Fran,

No idea. But try putting exactly the same string into the DOS prompt manually and see what happens. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Turns out the problem was with permissions.. Got it sorted and everything is running smoooothly! YAY! ;)

Share this post


Link to post
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
Sign in to follow this  
Followers 0