Phil Wilson
8/3/2006 5:32:00 PM
I suspect that's not enough. IIRC, the actual implementation of the
AfterInstall event in installer class calls is that it literally gets called
at the end of the Install custom action from *within* the Install custom
action. If I'm right, this means that you won't get AfterInstall called
unless you have an Install custom action. This would mean that InstallUtil
and Installer classes from MSI behave differently, not something I'd have
expected.
--
Phil Wilson [MVP Windows Installer]
----
<smithgp@msn.com> wrote in message
news:1154613784.670590.202140@m79g2000cwm.googlegroups.com...
> Thanks for the reply.
>
> Yes I have added a handler for the AfterInstall event which does get
> invoked if I use installutil.
>
> Thanks,
> Glenn
>
> Phil Wilson wrote:
>> You have added custom actions to your setup project? Just checking.....
>> --
>> Phil Wilson [MVP Windows Installer]
>> ----
>> <smithgp@msn.com> wrote in message
>> news:1154544065.436055.7980@p79g2000cwp.googlegroups.com...
>> > Hello,
>> >
>> > I am having an issue with installing an .exe I have created in VS2003.
>> > I have created exes with installers before with no problems, but this
>> > one has got me stumped.
>> >
>> > I have MYApp.exe which has an installer class within it. When I create
>> > the MSI and run it, the installer class does not get invoked.
>> >
>> > However, if I run 'installutil MYapp.exe', it does get invoked. Any
>> > ideas what would cause this?
>> >
>> > Thanks,
>> > Glenn
>> >
>