Exclude custom action .exe
- From: "Lonifasiko" <mloichate@xxxxxxxxx>
- Date: 20 Jul 2006 04:20:43 -0700
Hi, after my setup project copies all necessary files to the target
directory selected by the user, I'm launching a little Console
application that moves some files to %USERPROFILE% directory. Besides,
I write application's configuration file (application.exe.config) with
the new path of these moved files.
I think this is the only way I can move these files to %USERPROFILE%
directory. But this should depend on what radiobutton user selects
during installation (install "Just for me" or "For all users").
That is, sometimes I should copy these files to %USERPROFILE% whereas
sometimes I should copy them to %aALLUSERSPROFILE%. How can I do this?
Can I use any environment variable in a Custom Folder that lets me do
this? What properties should I change then?
Well, back to my current situation, where I launch a .exe as a custom
action. The executable I'm launching during installation, is copied to
the target directory of the application, that is, I can see the .exe.
This way installation works fine. I've tried with "Exclude=true" in
order to launch my cutom action but do not copy the console
application, but this way installation crashes.
Besides, when launching the console application, I can see the console
window for some seconds. Is there a way to avoid this during
installation process?
I would really appreciate any light on this. Thanks very much in
advance.
.
- Follow-Ups:
- Re: Exclude custom action .exe
- From: Phil Wilson
- Re: Exclude custom action .exe
- Prev by Date: A good example of how out of touch with reality Microsoft are...
- Next by Date: Re: Serial no check - setup & deployment project
- Previous by thread: A good example of how out of touch with reality Microsoft are...
- Next by thread: Re: Exclude custom action .exe
- Index(es):