Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Execute file from within setup


I have a file that I want to execute from within setup (SQL Server express setup file).
The way I have it now is as follows:

    The exe file is a component and I launch it during OnFirstUIBefore event in my script. The problem with this is that the file has to be copied to the user's computer as a component's file has to have a destination location.

How can I launch it from my setup app without it having to be copied onto the user's computer? I can't have it as a pre-requisite as the user has an option of installing it or not.

Labels (1)
0 Kudos
(1) Reply
Level 6

Why don't you use prerequisites to install Sql-Express?

If you don't want to do so, you can put the Sql-Setup in Support Files/Billboards section and launch it via SUPPORTDIR ^ "setup.exe".
0 Kudos