FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   how to run program during installasion? [inno setup] (https://fileforums.com/showthread.php?t=99715)

linggar17x 06-11-2017 16:48

how to run program during installasion? [inno setup]
 
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


All times are GMT -7. The time now is 18:34.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com