Custom Action to run .BAT file

Common questions about using Actual Installer.
Post Reply
hefy_jefy
Posts: 2
Joined: Fri Apr 03, 2015 10:32 pm

Custom Action to run .BAT file

Post by hefy_jefy »

Hi,
I am not a programmer, however I know enough to write a batch file that I would like to give the user the opportunity to delete (or not) old configuration files when installing an updated version of the program.
The "Custom Action" option under "Finish" seem perfect, but the .bat file I have doesn't work from Actual Installer "custom action" although double-clicking from the desktop works OK.
I have feel I am missing something, probably something to with calling cmd.exe and then the .bat file?
Geoff
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Custom Action to run .BAT file

Post by Leo »

Use System \ Commands:
File: <SystemDir>\cmd.exe
Parameters: /C "<InstallDir>\file.bat"
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply