ddag1
Posts: 7
Joined: Sun Jan 03, 2021 2:00 pm

Execute an .exe above APPDIR from installer

Hello!

I would like to know if it's possible to execute a .exe that is exactly above the place where my app is gonna be installed (following the path the client used to install the app) from the installer itself.

Let's say my client installs my app on C:\Users\User\Desktop\HLNM\common (the place where it's supposed to be installed (in "common" folder), but I want my client to have the possibility to execute "dev.exe" which is located one folder above "common" ("HLNM") with a checkbox or Push Button. Is this possible? How do I do that?

Thank you so much in advance!
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Execute an .exe above APPDIR from installer

Hello,

I am not quite sure I fully understand your scenario here.

Is the executable you are trying to run ("dev.exe") installed by your setup?

If that is the case, you can use a "Launch File" custom action.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”