hallo,
hier nun mein nächstes problem:
ich hab mir meine setups automatisiert in sfx archive gepackt und mit koda ein menu erstellt. nun gibt es aber bestimmte skripte die nen neustart brauchen (updatepack, alcohol 120,..). diese schreiben einfach in die registry das nach dem neustart die 2. skriptdatei startet.
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Installer", 351, 253, 194, 126)
$Checkbox1 = GUICtrlCreateCheckbox("Framework 2.0", 10, 8, 160, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Java 6 U3", 10, 32, 160, 17)
$Checkbox3 = GUICtrlCreateCheckbox(">Updatepack 2.26", 10, 56, 160, 17)
GUICtrlSetTip(-1, "Neustart")
$Checkbox4 = GUICtrlCreateCheckbox("FFDShow 1870", 10, 80, 160, 17)
$Checkbox5 = GUICtrlCreateCheckbox("AutoIT 3.2.10.0", 10, 104, 160, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Acrobat Reader 8", 10, 128, 160, 17)
GUICtrlSetTip(-1, "java")
$Checkbox7 = GUICtrlCreateCheckbox(">Alcohol 120 1.9.5.3823", 10, 152, 160, 17)
GUICtrlSetTip(-1, "Neustart")
$Checkbox8 = GUICtrlCreateCheckbox("CDEx 1.70 B2", 10, 176, 160, 17)
$Checkbox9 = GUICtrlCreateCheckbox(">ConvertXtoDVD 3.0.0.1", 10, 200, 160, 17)
GUICtrlSetTip(-1, "Standardeinstellungen, Deinstallieren")
$Checkbox10 = GUICtrlCreateCheckbox("Firefox 2.0.0.12", 180, 8, 160, 17)
$Checkbox11 = GUICtrlCreateCheckbox(">Frostwire 4.13.5", 180, 32, 160, 17)
GUICtrlSetTip(-1, "Java, Anwendungsdaten/Programme Ordner löschen")
$Checkbox12 = GUICtrlCreateCheckbox("KMPlayer 2.9.3.1428", 180, 56, 160, 17)
$Checkbox13 = GUICtrlCreateCheckbox("MP3Gain 1.3.4", 180, 80, 160, 17)
$Checkbox14 = GUICtrlCreateCheckbox("Nero Micro 8.2.8.0", 180, 104, 160, 17)
$Checkbox15 = GUICtrlCreateCheckbox("Thunderbird 2.0.0.12", 180, 128, 160, 17)
$Checkbox16 = GUICtrlCreateCheckbox("Unlocker 1.8.5", 180, 152, 160, 17)
$Checkbox17 = GUICtrlCreateCheckbox("WinRAR 3.71", 180, 176, 160, 17)
$Checkbox18 = GUICtrlCreateCheckbox("Checkbox18", 180, 200, 160, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox19 = GUICtrlCreateCheckbox("Checkbox19", 350, 8, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox20 = GUICtrlCreateCheckbox("Checkbox20", 350, 32, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox21 = GUICtrlCreateCheckbox("Checkbox21", 350, 56, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox22 = GUICtrlCreateCheckbox("Checkbox22", 350, 80, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox23 = GUICtrlCreateCheckbox("Checkbox23", 350, 104, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox24 = GUICtrlCreateCheckbox("Checkbox24", 350, 128, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox25 = GUICtrlCreateCheckbox("Checkbox25", 350, 152, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox26 = GUICtrlCreateCheckbox("Checkbox26", 350, 176, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox27 = GUICtrlCreateCheckbox("Checkbox27", 350, 200, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox28 = GUICtrlCreateCheckbox("Checkbox28", 474, 8, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox29 = GUICtrlCreateCheckbox("Checkbox29", 474, 32, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox30 = GUICtrlCreateCheckbox("Checkbox30", 474, 56, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox31 = GUICtrlCreateCheckbox("Checkbox31", 474, 80, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox32 = GUICtrlCreateCheckbox("Checkbox32", 474, 104, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox33 = GUICtrlCreateCheckbox("Checkbox33", 474, 128, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox34 = GUICtrlCreateCheckbox("Checkbox34", 474, 152, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox35 = GUICtrlCreateCheckbox("Checkbox35", 474, 176, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox36 = GUICtrlCreateCheckbox("Checkbox36", 474, 200, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox37 = GUICtrlCreateCheckbox("Checkbox37", 594, 8, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox38 = GUICtrlCreateCheckbox("Checkbox38", 594, 32, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox39 = GUICtrlCreateCheckbox("Checkbox39", 594, 56, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox40 = GUICtrlCreateCheckbox("Checkbox40", 594, 80, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox41 = GUICtrlCreateCheckbox("Checkbox41", 594, 104, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox42 = GUICtrlCreateCheckbox("Checkbox42", 594, 128, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox43 = GUICtrlCreateCheckbox("Checkbox43", 594, 152, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox44 = GUICtrlCreateCheckbox("Checkbox44", 594, 176, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Checkbox45 = GUICtrlCreateCheckbox("Checkbox45", 594, 200, 97, 17)
GUICtrlSetState(-1, $GUI_HIDE)
$Button1 = GUICtrlCreateButton("Installieren", 10, 224, 123, 25)
GUICtrlSetOnEvent($button1, "button1")
GUISetState(@SW_SHOW)
GUISetOnEvent($GUI_EVENT_CLOSE, "Close")
#EndRegion ### END Koda GUI section ###
While 1
Sleep(100)
WEnd
func button1()
If GUICtrlRead($Checkbox1) = 1 Then RunWait("Framework 2.0.exe")
If GUICtrlRead($Checkbox2) = 1 Then RunWait("Java 6 U3.exe")
If GUICtrlRead($Checkbox3) = 1 Then RunWait("Winfuture Updatepack 2.26.exe")
If GUICtrlRead($Checkbox4) = 1 Then RunWait("FFDShow 1870.exe")
If GUICtrlRead($Checkbox5) = 1 Then RunWait("AutoIT 3.2.10.0.exe")
If GUICtrlRead($Checkbox6) = 1 Then RunWait("Acrobat Reader 8.exe")
If GUICtrlRead($Checkbox7) = 1 Then RunWait("Alcohol 120 1.9.5.3823.exe")
;usw
endfunc
Func Close()
Exit
EndFunc
nur wie mache ichs es das zb nach dem neustart und fertigstellen des updatepacks, der installer zb dei ffdshow weitermacht?
danke im voraus!