main
parent
e2b89a7552
commit
951feb57d4
Binary file not shown.
@ -1,8 +1,5 @@
|
||||
name "VR4Life Web Installer"
|
||||
version "1.0"
|
||||
name "VR4Life Installer"
|
||||
version 1
|
||||
|
||||
extract to $temp\VR4Life_WebInstaller
|
||||
copy *.* to $temp\VR4Life_WebInstaller
|
||||
|
||||
run "run_installer.ms"
|
||||
drop "run_installer.ms"
|
||||
extract to $temp\vr4life_inst
|
||||
run "run_installer.ms"
|
||||
@ -1,7 +1,13 @@
|
||||
-- O MZP vai extrair os arquivos para a pasta Temporária do Max.
|
||||
local py_script = (getDir #temp) + "\\VR4Life_WebInstaller\\Instalador_Online_VR4Life.py"
|
||||
if doesFileExist py_script then (
|
||||
python.ExecuteFile py_script
|
||||
) else (
|
||||
messageBox "Erro: Arquivo Python não encontrado no pacote MZP." title:"Erro"
|
||||
(
|
||||
-- Aponta para a pasta exata que definimos no mzp.run
|
||||
local py_script = (getDir #temp) + "\\vr4life_inst\\Instalador_Online_VR4Life.py"
|
||||
|
||||
-- Checa se o arquivo realmente está lá
|
||||
if doesFileExist py_script then (
|
||||
-- Se estiver, executa e deixa o Python cuspir erros reais se houver
|
||||
python.ExecuteFile py_script
|
||||
) else (
|
||||
-- Se não estiver, avisa onde procurou
|
||||
messageBox ("O instalador não encontrou o Python!\n\nProcurou em:\n" + py_script) title:"Erro de Extração MZP"
|
||||
)
|
||||
)
|
||||
Binary file not shown.
Loading…
Reference in New Issue