[WiX-users] Environment variable

2008-01-08 Thread Harini Gurusamy
Hi, I am trying to get the system drive from the environment variable in my wix code. I have a system which has multiple partitions of windows running. G:\ has x86 and C:\ has amd64. G:\is the active OS. But from the log files, MYAPPPATH always holds C:\ which is incorrect This is how MYAPPP

[WiX-users] Environment Variable Installation

2008-06-13 Thread Arunkumar Viswanathan
Hi guys, I want to append data to the PATH environment variable when LotusNotes is installed in a machine. This is the logic I came up with and I just want to confirm this is the right way of doing things. I create a property based on a registry search and then install the environment variable

Re: [WiX-users] Environment Variable Installation

2008-06-13 Thread Chad Petersen
TECTED] On Behalf Of Arunkumar Viswanathan Sent: Friday, June 13, 2008 7:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Environment Variable Installation Hi guys, I want to append data to the PATH environment variable when LotusNotes is installed in a machine. This is the logic

Re: [WiX-users] Environment Variable Installation

2008-06-13 Thread Arunkumar Viswanathan
m: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arunkumar Viswanathan Sent: Friday, June 13, 2008 7:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Environment Variable Installation Hi guys, I want to append data to the PATH environment variable when LotusNotes is instal

[WiX-users] Environment variable availability during installation

2009-06-25 Thread Reddy, Mallikarjun (GWMT-TASCS)
I am setting Environment variable like below. Later in one of the custom actions, I run installutil on a dll which looks for this variable. Could some one let me know how I can make this variable visible to my dll ? --

[WiX-users] Environment Variable in Include path

2007-06-27 Thread Mark.Farmer
Does anyone know the best way to have an include path with a variable. I keep getting a file not found error. Any assistance is greatly appreciated. ~mark - This SF.net email is sponsored by DB2 Express Download DB2 Express

[WiX-users] environment variable available in executed program

2006-07-04 Thread Hecker, Thomas
Hi,   1) I'm adding my newly installed dir to the system path   2)  scheduled CA runs a .bat file that uses an executable from the share\bin dir added to path.        NOT Installed    3) In the up-popping console window I can see that the executable was not found. But after opening a new

Re: [WiX-users] Environment Variable in Include path

2007-06-27 Thread Mark.Farmer
eforge.net Subject: [WiX-users] Environment Variable in Include path Does anyone know the best way to have an include path with a variable. I keep getting a file not found error. Any assistance is greatly appreciated.

Re: [WiX-users] Environment Variable in Include path

2007-06-27 Thread Bob Arnson
[EMAIL PROTECTED] wrote: Preprocessor syntax for environment variables in $(env.variableName). I don't know if the preprocessor preprocesses its own statements, though; you might need to pass the variables in via Candle's -I switch. -- sig://boB http://joyofsetup.com/ --

[WiX-users] Environment Variable disappears after installing a Patch

2009-01-19 Thread Gremlin
Hello, I created a patch with pyro. After installing the patch the environment variables disappear. I defined those variables like this: I wonder why it disappears since I set the Permanent-attribute to 'yes'!? Chris -- View this message in context: http://n2.nabble.com/Environment-Variable-

Re: [WiX-users] environment variable available in executed program

2006-07-04 Thread Rob Hamflett
I had a similar thing with a new env var not being found by the program I was launching. I can only conclude the following: When you launch your MSI, it's value for PATH does not include your new folder. The changes get committed to the system, but your MSI still has it's original set of env

Re: [WiX-users] environment variable available in executed program

2006-07-04 Thread Hecker, Thomas
\cmd.exe /C call "setenv.cmd" & call "test.bat" Did I overlook a smarter way? Thank you! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Rob Hamflett Gesendet: Dienstag, 4. Juli 2006 14:31 An: wix-users@lists.sourceforge.net

Re: [WiX-users] environment variable available in executed program

2006-07-04 Thread Strele Franz
t Gesendet: Dienstag, 04. Juli 2006 14:31 An: wix-users@lists.sourceforge.net Betreff: Re: [WiX-users] environment variable available in executed program I had a similar thing with a new env var not being found by the program I was launching. I can only conclude the following: When you launch

Re: [WiX-users] environment variable available in executed program

2006-07-04 Thread Hecker, Thomas
@lists.sourceforge.net Betreff: Re: [WiX-users] environment variable available in executed program hi, have a look at the msdn-documentation for the "Environment Table" [1]: "Note that environment variables do not change for the installation in progress when either the WriteEnvironmen

[WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Suryadeep Biswal
Hi, Our MSI uses the inbuilt Environment WIX element to add a directory to PATH variable. We are seeing an issue on Windows Blue/8.1 where this does not get reflected until the user logs off and logs on. Is this a known issue? Are there any alternatives to set the environment variable other tha

[WiX-users] Environment Variable not set until much too late

2010-05-19 Thread glenneroo
I have a CA running after InstallFinalize inside InstallExecuteSequence sequence and it relies on an environment variable (HOME), however, the variable isn't being set until AFTER I completely finish the installation. Here's a snippet from my install log: MSI (s) (1C:24) [21:56:25:369]: Executi

Re: [WiX-users] Environment Variable disappears after installing a Patch

2009-01-19 Thread Bob Arnson
Gremlin wrote: > I created a patch with pyro. After installing the patch the environment > variables disappear. > Check a verbose log. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by: Sourc

[WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2013-07-20 Thread Andreas Jönsson
Hello, We have converted one of our installer projects to WiX and it seems to work well. However, on our development machines we have an environment variable, ProjectPath, which is completely unrelated to WiX. When the project is built from Visual Studio (2012), this environment variable is ex

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Phil Wilson
The short answer is yes. The longer answer depends on exactly where you expect it take effect. What's the exact problem? It doesn't get picked by a program? By a command prompt? It doesn't get used when you run something? http://superuser.com/questions/351279/adding-a-directory-to-user-path-doesnt

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Suryadeep Biswal
ers@lists.sourceforge.net > Subject: Re: [WiX-users] Environment Variable Changes by MSI are not > reflected > > The short answer is yes. The longer answer depends on exactly where you > expect it take effect. What's the exact problem? It doesn't get picked by a

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Christopher Painter
for it to take effect. From: "Suryadeep Biswal" Sent: Thursday, October 31, 2013 4:23 PM To: "General discussion about the WiX toolset." Subject: Re: [WiX-users] Environment Variable Changes by MSI are not reflected After installing

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-11-01 Thread Phil Wilson
ot for it to take effect. > > > From: "Suryadeep Biswal" > Sent: Thursday, October 31, 2013 4:23 PM > To: "General discussion about the WiX toolset." < > wix-users@lists.sourceforge.net> > Subject: Re: [WiX-users] Envir

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-11-01 Thread Christopher Painter
01, 2013 12:38 PM To: "General discussion about the WiX toolset." Subject: Re: [WiX-users] Environment Variable Changes by MSI are not reflected The general rule is that if the process is already running it won't pick up the new environment strings, which is why things like servi

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-11-03 Thread Nicolás Alvarez
2013/11/1 Phil Wilson : > If there's a way to avoid using PATH, try to find it and use it. There are > always issues with that, not only install and uninstall but corruption, > files and Dlls being picked up from the wrong directory and so on. I concur. I had problems during development with an

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-11-04 Thread Keith.Douglas
al discussion about the WiX toolset. Subject: Re: [WiX-users] Environment Variable Changes by MSI are not reflected 2013/11/1 Phil Wilson : > If there's a way to avoid using PATH, try to find it and use it. > There are always issues with that, not only install and uninstall but > co

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-11-04 Thread Blair Murri
on, 4 Nov 2013 08:58:02 -0500 > Subject: Re: [WiX-users] Environment Variable Changes by MSI are not > reflected > > By the way, the last sentence of Nicolás' remarks seems to be our single > biggest problem "with WiX" here - so much stuff does unoptimal practic

[WiX-users] Environment variable for current user and all user settings

2012-01-16 Thread Nevskiy, Alexander
Hi All! I want to add path to my executable into %PATH%. But it must depend on how user choose to install my msi: per-machine or per-user. - I want to change system variable if it per-machine installation - I want to change user variable if it per-user installation I couldn't

Re: [WiX-users] Environment Variable not set until much too late

2010-05-21 Thread Nick Ramirez
Is it possible that the child process (the batch file) is picking up the same environment as the MSI (parent process?) and in order for it to pick up the new environment variable it would have to somehow refresh its environment? I'm not sure how to do that. -- View this message in context: http

Re: [WiX-users] Environment Variable not set until much too late

2010-05-21 Thread John Cooper (Volt)
above allows the use of delayed expansion with this syntax (!some_variable!). -- John M. Cooper Volt at Microsoft -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Friday, May 21, 2010 3:17 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Enviro

Re: [WiX-users] Environment Variable not set until much too late

2010-05-24 Thread David Watson
, newValue); Dave -Original Message- From: John Cooper (Volt) [mailto:a-jc...@microsoft.com] Sent: 21 May 2010 23:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Environment Variable not set until much too late Well, it's certainly not a Wix issue

Re: [WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2013-07-21 Thread Blair Murri
Those properties are build event macros (http://msdn.microsoft.com/library/42x5kfw4.aspx) and are thus reserved. > Date: Sat, 20 Jul 2013 21:35:12 +0200 > From: andreas.jons...@noventus.se > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Environment variable &quo

Re: [WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2013-07-21 Thread Andreas Jönsson
properties are build event macros (http://msdn.microsoft.com/library/42x5kfw4.aspx) and are thus reserved. > > > Date: Sat, 20 Jul 2013 21:35:12 +0200 > > From: andreas.jonsson@... > > To: wix-users@... > > Subject: [WiX-users] Environment variable "ProjectPath&q

Re: [WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2013-07-21 Thread Edwin Castro
reserved. > > > > > Date: Sat, 20 Jul 2013 21:35:12 +0200 > > > From: andreas.jonsson@... > > > To: wix-users@... > > > Subject: [WiX-users] Environment variable "ProjectPath" is > expanded, possible to turn off? > > > > >

Re: [WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2014-04-10 Thread Phill Hogland
Thanks for the info. I have been spinning wheels on this issue also. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Environment-variable-ProjectPath-is-expanded-possible-to-turn-off-tp7587463p7594051.html Sent from the wix-users mailing list arch

Re: [WiX-users] Environment variable "ProjectPath" is expanded, possible to turn off?

2014-04-11 Thread Phill Hogland
When: 1) A cmd prompt is opened (in this case using the VS2010 CMD prompt) 2) A batch file which has setlocal also has a "set projectPath=some_path_to_a_folder" (case of the variable name does not matter) 3) And at some point in the same batch file or a different batch file (also using setlocal) bu

Re: [WiX-users] Environment variable that has project name with parentheses - $(var.MyProject (MyProject\MyProject).TargetFileName)

2009-11-05 Thread Sandi Remar
a reference to "MyProject", a reference is added properly as "MyProject " - see attached pic. "DifferentName.bmp" and everything compiles OK. I can compile with no errors. Thank you for your time and patience, Sandi ____ From: Blair T

Re: [WiX-users] Environment variable that has project name with parentheses - $(var.MyProject (MyProject\MyProject).TargetFileName)

2009-11-05 Thread Blair
I can compile with no errors. Thank you for your time and patience, Sandi ____ From: Blair To: General discussion for Windows Installer XML toolset. Sent: Thu, November 5, 2009 5:20:21 PM Subject: Re: [WiX-users] Environment variable that has project name with parenthe

Re: [WiX-users] Environment variable that has project name with parentheses - $(var.MyProject (MyProject\MyProject).TargetFileName)

2009-11-05 Thread Sandi Remar
ith Votive and environment variables... Best regards, Sandi From: Blair To: General discussion for Windows Installer XML toolset. Sent: Fri, November 6, 2009 1:36:48 AM Subject: Re: [WiX-users] Environment variable that has project name with parentheses - $(var.