Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 2nd, 2004, 12:13 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting environment variable from msi package

How do I append to the environment variable PATH during an installation using an .msi file done using VS.NET? It must be possible. I would like to add the installation path to the system PATH variable during the installation.

Thanks

Jacob.
__________________
Danish audio books for download at http://www.lytenbog.dk (Danske lydbøger til download).
 
Old March 25th, 2004, 12:08 PM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jacob

Did you find out how to do this?

Quote:
quote:Originally posted by jacob
 How do I append to the environment variable PATH during an installation using an .msi file done using VS.NET? It must be possible. I would like to add the installation path to the system PATH variable during the installation.

Thanks

Jacob.
 
Old March 25th, 2004, 06:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually I didn't! I found out that I might be able to do a seperate project and then run this after the normal installation, but didn't find anything more sophisticated... I thought it might have something that you were able to add as a property!

However I then changed the installation method to InstallShild 9, which offers quite a lot of functionality, and actually a bit more than I need! I had to learn InstallShield from scratch, which I then did. I managed to make it work as I wanted, eventhough there is differen things that you have to take into account when adding paths to the environment variable!

Do you ask because you have the answer, in which case I am still interested, or because you would like the answer, in which case I cannot give it to you since I did not find it?!

Jacob.





Similar Threads
Thread Thread Starter Forum Replies Last Post
conditionally setting variable ewel Beginning PHP 2 December 13th, 2007 07:39 PM
setting classspath in nested package compilation picky Java Basics 0 November 29th, 2006 08:17 AM
declare a variable without setting a value to it crmpicco Javascript How-To 1 July 18th, 2005 07:25 PM
setting each value from database as a variable Ashleek007 Beginning PHP 21 April 18th, 2005 03:50 PM
Appending to PATH environment variable jacob C# 1 February 9th, 2004 10:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.