Run a file after a silent installation - Advanced Installer Community
sekharsam
Posts: 12
Joined: Tue Aug 16, 2011 9:40 am

Run a file after a silent installation

i would like to lunch or run a file (i.e a .exe). After a silent installation trough command prompt or through active directory.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Run a file after a silent installation

Hello,

For this you can use a custom action scheduled under the "Install Execution Stage" -> "Finish Execution" action group (you can use the Launch file custom action to launch a file.

In order to use the custom action you can follow the steps below:
  • go to the Custom Actions page
  • add a "Launch file" custom action after "Finish Execution" action group
  • set the "File To Launch" field to the path of the file or folder you want to open
If you need any help, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sekharsam
Posts: 12
Joined: Tue Aug 16, 2011 9:40 am

Re: Run a file after a silent installation

i am facing a problem, i had followed all the steps, ERROR Msg come up "There is a problem with this Windows installer package. A program run as part of the setup didnot finish as expected"
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Run a file after a silent installation

Hello,

Please note that custom actions that are executable files must return a value of 0 for success. The installer interprets any other return value as failure.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”