Groups | Blog | Home
all groups > visual studio .net setup > september 2007 >

visual studio .net setup : Appending to the Path Environment Variables ?


Sharon
9/6/2007 5:54:02 AM
Hi,

I'm using VS2005 Setup project.


I need to add a folder path to system 'Path' Environment Variables.

I did find the 'Path' registry value under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment

But I don't know to to append a string to the already existing one using the
Setup projects tools.


Is there a way to do that?
How?


--
Thanks
Phil Wilson
9/6/2007 10:37:14 AM
Fully-featured tools for building MSI files have IDE support for this by
populating the Environment table, then the install and uninstall just work
automatically. However VS 2005 setup projects don't do this, so you have to
write custom action code to do it.

I wonder why you're using VS 2005 setup projects - you might keep on
running into more things that it just doesn't do.

--
Phil Wilson
[MVP Windows Installer]


[quoted text, click to view]

Sharon
9/6/2007 12:34:03 PM
"Fully-featured tools for building MSI files have IDE support"

It sounds good. How and where can I get it?
I don't know it. I simply have the Setup project as it comes with the VS2500.


--
Thanks
PvdG42
9/9/2007 8:04:07 AM
[quoted text, click to view]


I believe Phil is referring to tools like InstallShield and Wise:

http://www.macrovision.com/promolanding/6970.htm?lead_source=IS_ADW_LP1_NAQ306

http://www.wisesolutions.com/

There are probably more, as well. Personally, now that I see Symantec owns
the Wise Installer, I'd stay far away.

Here's another I'd not heard of:

http://www.cleverbridge.com/client/185/index.html

You'll note these are not free.

AddThis Social Bookmark Button