PDA

View Full Version : how to run program during installasion? [inno setup]


linggar17x
06-11-2017, 16:48
Hallo everybody
i try to unpack file games. i use InjectorMaker to packing again.
and i want to InjectorMaker Run during installasion.
i use inno setup and How to make auto run rebuild.bat during installasion and auto delete it?
i have repacked to setup.bin.

https://image.ibb.co/hceBNb/program1.png

rambohazard
07-11-2017, 06:41
Use this script in your .ini file:

if not ISExec ( 0, 0, 0, ExpandConstant('{app}\rebuild.bat'), '', ExpandConstant('{app}'), 'Rebuilding files...',false) then break;

To auto delete the .bat file, simply edit the last line to:
del /f /q rebuild.bat

delete the InjectorMaker.exe too

Sorry for bad english