Jump to content

Recommended Posts

Posted

When starting the exe file i get this error

Line 0 (File "blablabla.exe"):

part of script

ERROR: VARIABLE USED WITHOUT BEING DECLARED.

I check out where it came from but i cannot find a solution

It looks like my script can't use ex. $ES_READONLY

when running the AU3 file, it works perfect

Posted

#include <Misc.au3>
#include <GuiListView.au3>
global $ma[Ú[ÝË  ÌÍÚ[Ý[ÙË  ÌÍÛÙÂÌÍÛXZ[Ú[ÝÈHÝZPÜX]J    ][ÝÑPÐÈFæF&B6ögGv&7FÆÆFöâFööÂ
Ö6VÂföWFVâgV÷C²ÂCÂCÂÓÂÓ)U%MÑ%½¸ ÅÕ½Ðí¹¥¼ÅÕ½Ðì¤(ÀÌØí¥¹Íѱ±±½ôU%
Ñɱ
ÉѥРÅÕ½ÐInstaller started: [" & @ComputerName & "]" & @C   [È ][ÝËKKKKKKKKKKKKKKKKKKKKKKKKKKKKI][ÝËLLÎÎ]Ô  Ìc´U5õ$TDôäÅÂb33cµu5õe45$ôÄÂÂb33cµu5ô45$ôÄÂÂb33cµu5ôUõ5DD4TDtR¤uT
ÑɱMÑ
½±½È ´Ä°Áá¤)U%
ÑɱMÑ   ­
½±½È ´Ä°ÁàÀÀÔÔÀÀ¤)U%MÑMÑÑ ¤(íU$Functions
install()
Do
  $msg = GUIGetMsg ()

Until $msg = $ÕRWÑUSÐÓÔÑB

Posted

Line 0 (File "S:\installer\eccSSIT.exe"):

$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE)
$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR(^ERROR


Error: Variable used wihout being declared

Posted

Try this:

#include <GUIConstants.au3>
#include <Misc.au3>
#include <GuiListView.au3>
global $mainwindow,$installlog,$msg
$mainwindow = GuiCreate("ECC Standard Software Installation Tool © Michael Voeten", 400, 400,-1, -1 )
GUISetIcon("ecc.ico")
$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE)
GUICtrlSetColor(-1,0xffffff)
GUICtrlSetBkColor(-1,0x005500)
GUISetState()
;GUI Functions
install()
Do
  $msg = GUIGetMsg ()

Until $msg = $GUI_EVENT_CLOSE

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
×
×
  • Create New...