Re: Exclude custom action .exe
- From: "Phil Wilson" <Phil.Wilson@xxxxxxxxxxxxxx>
- Date: Thu, 20 Jul 2006 18:13:23 -0700
The property ALLUSERS has a value of 1 when installing per-machine, so the
condition on your custom action that you want to run for a per-machine
install is ALLUSERS=1. Use ALLUSERS<>1 for the opposite condition.
--
Phil Wilson [MVP Windows Installer]
----
"Lonifasiko" <mloichate@xxxxxxxxx> wrote in message
news:1153394443.144878.176980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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: Lonifasiko
- Re: Exclude custom action .exe
- References:
- Exclude custom action .exe
- From: Lonifasiko
- Exclude custom action .exe
- Prev by Date: Re: Serial no check - setup & deployment project
- Next by Date: Re: Exclude custom action .exe
- Previous by thread: Exclude custom action .exe
- Next by thread: Re: Exclude custom action .exe
- Index(es):