On Mar 9, 5:42 pm, "Phil Wilson" <pdjwil...@nospam.cox.net> wrote:
> Ah ok, unmanaged custom actions only. That's a pain.
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]"Sergio" <SergeyBazar...@googlemail.com> wrote in message
>
> news:1173336522.364027.288100@p10g2000cwp.googlegroups.com...
>
>
>
> > On Mar 8, 8:12 am, "Sergio" <SergeyBazar...@googlemail.com> wrote:
> >> On Mar 6, 5:21 pm, "Phil Wilson" <pdjwil...@nospam.cox.net> wrote:
>
> >> > You don't have to physically install a program used for a custom
> >> > action -
> >> > you can set its Exclude property so it's not visible to users (it's in
> >> > the
> >> > cached MSI file and is run from there).
>
> >> > --
> >> > Phil Wilson
> >> > [Microsoft MVP-Windows Installer]"Sergio"
> >> > <SergeyBazar...@googlemail.com> wrote in message
>
> >> >news:1173167761.507945.74140@64g2000cwx.googlegroups.com...
>
> >> > > My setup contains custom action(.net exe) to be launched on
> >> > > uninstall.
>
> >> > > If after installation exe containing custom action is removed
> >> > > uninstall failed with file not found exception.
>
> >> > > I suggest that i have to add condition that checks existing of custom
> >> > > action exe
>
> >> > > How can i do this?
>
> >> > > Thanks in advance,
> >> > > Sergey- Hide quoted text -
>
> >> > - Show quoted text -
>
> >> Phil thank you forthe answer. But seems it doesn't work for mee. I get
> >> following compile rror after excluding custom action .exe from setup:
> >> Building file 'D:\temp\Setup1\Setup1\Debug\SergeySetup.msi'...
> >> ERROR: Unable to build custom action named 'TestInstaller.exe' from
> >> object 'TestInstaller.exe' because the object is marked as excluded.
>
> >> Any tip ?
> >> Thanks- Hide quoted text -
>
> >> - Show quoted text -
>
> > Setting exlude to true only works for ummanaged CustomAction, but my
> > CustomAction is .net assembly with installer class.
> > I read your article "
http://www.simple-talk.com/dotnet/visual-studio/ > > visual-studio-setup---projects-and-custom-actions/" it's helpfull but
> > not in my case.- Hide quoted text -
>
> - Show quoted text -