I have made an installer, a Visual Studio SetupProject
, which installs a software I developed and checks if a certain program is installed on the target machine. If not, it launches its original installation file. This file is copied to the target machine during the installation and is launched throughout a CUSTOM ACTION
.
Everything goes well with the installation but I have only one problem:
The separate installer, which I didn't develop, should append a PATH to the User Environment Variables
referring to the path of a BIN folder in its own installation folder. It doesn't! I checked the PATH
registry value of the User Environment Variables
and it really doesn't get updated.
However when I install the program separately everything goes well!
I tried to to change the PackageAs
Property of the attached installation file from vsdpaDefault
to vsdpaLoose
in order to make the operation, probably, a bit more "separate" sort of say but it didn't change anything.
Why do the Environment Variables
not get updated? My guess is that my installer doesn't have some kind of rights necessary to change these variables.
BTW I'm using Visual Studio 2010.