Groups | Blog | Home
all groups > visual studio .net setup > march 2005 >

visual studio .net setup : Launching an EXE in installer


Helen
3/30/2005 12:43:03 AM
Hello,

I try to add an exe to the custom actions and hope that it will run
after the installation automatically. That exe being added is excluded from
the installer. However, the path of the exe seems not correct and cannot be
ran. Do anyone have any ideas about this?

Phil Wilson
3/31/2005 11:45:02 AM
If you add an exe as a custom action, the default seems to be that it is
excluded from the install, and it's packaged in the Binary table in the MSI
file, streamed out to a temp location and run from there, so your path will
look odd. In the solution explorer it probably has an icon of a circle with
a line through it. If you select it there and look at the properties, set
exclude to false and it will be installed in your application folder and run
from there. Note that the install will wait for the program to finish before
proceeding.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button