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
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
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
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
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
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
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
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
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
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
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
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?
> > >
> >
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
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
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
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
, 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
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
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
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
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.
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
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
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 ?
--
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
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-
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
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
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
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
[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/
--
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.
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
@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
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
\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
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
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
38 matches
Mail list logo