Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restart
#13
Made a work around...

put this in the main exe before it ends it, after it activates...

Macro Macro4
Code:
Copy      Help
,,,rget _s "Main Install Path" "Software\SS Software\Setup Sheet"
,,,str RunPath.from(_s "\Restart_Setup.exe")
,,,run RunPath
,,,ShutDownProcess("Setup Sheet Advanced.exe")

and this is "Restart_Setup"

FunctionRestart_Setup
Code:
Copy      Help
;top
ARRAY(str) a; int Count = 0
EnumProcessesEx 0 &a 0
for(_i 0 a.len)
,if a[_i] = "Setup Sheet Advanced"
,,goto top

rget _s "Main Install Path" "Software\SS Software\Setup Sheet"
str RunPath.from(_s "\Setup Sheet Advanced.exe")
run RunPath


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)