Re: [WiX-users] variables not working... [P]

2013-05-30 Thread Steven Ogilvie
sin Peluso [mailto:thisispowerfulmagik_magikmu...@hotmail.com] Sent: May-30-13 6:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] variables not working... [P] Hi Steve, i'm beginning with WIX and i don't have any experience, si i hope you could h

Re: [WiX-users] variables not working... [P]

2013-05-30 Thread Pelusin Peluso
ze" file, is because i don't understand so good what are your refering to when you say placed in both execute and UI sequence Thanks!! > From: steven.ogil...@titus.com > To: wix-users@lists.sourceforge.net > Date: Thu, 30 May 2013 19:20:37 + > Subject: Re: [WiX-users] var

Re: [WiX-users] variables not working... [P]

2013-05-30 Thread Steven Ogilvie
Classification: Public Yes in the Product.wxs file -Original Message- From: Pelusin [mailto:thisispowerfulmagik_magikmu...@hotmail.com] Sent: May-30-13 3:03 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] variables not working... Hi Steve! Excuse me where did you exactly

Re: [WiX-users] variables not working...

2013-05-30 Thread Pelusin
Hi Steve! Excuse me where did you exactly put the solution? in the Product.wxs or where? Thanks! Alfredo -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7586225.html Sent from the wix-users mailing list archive at N

Re: [WiX-users] variables not working...

2012-09-21 Thread StevenOgilvie
Finally got it to work CA: Setting database username... placed in both execute and UI sequence: thanks to all who helped!! Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709

Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Neil Sleightholm wrote > I don't think reading the environment variables will work as the MSI is in > the context of the msiexec service not the user that is logged on. > > -Original Message- > From: StevenOgilvie [mailto: > sogilvie@ > ] > Sent: 21 September 2012 16:37 > To: > wix-us

Re: [WiX-users] variables not working...

2012-09-21 Thread Hoover, Jacob
jects like http://msiext.codeplex.com/ -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Friday, September 21, 2012 12:07 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] variables not working... Did you try my suggestion of Logon

Re: [WiX-users] variables not working...

2012-09-21 Thread Neil Sleightholm
Did you try my suggestion of LogonUser? The problem is that this will only return the name and not the domain so you might have to resort to a custom action. I don't think reading the environment variables will work as the MSI is in the context of the msiexec service not the user that is l

Re: [WiX-users] variables not working...

2012-09-21 Thread Nick Ramirez
Could you use a custom action to get the environment variables at install time? In managed code: System.Environment.GetEnvironmentVariable(String name) I'm not sure if there's a declarative way of doing this in WiX. -- View this message in context: http://windows-installer-xml-wix-toolset.687

Re: [WiX-users] variables not working...

2012-09-21 Thread John Cooper
enry.com -Original Message- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Thursday, September 20, 2012 7:17 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] variables not working... That %VariableName syntax, I'm not familiar with that in WiX. It reminds me of parame

Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Steven Ogilvie wrote > Using the env. Variable retrieves it from my local environment at build > time... so if someone else runs the install on another machine they see my > domain\my user logon :) > > Which won't work Well, that was a "doh" moment *lol* Sorry about that. The CA method poste

Re: [WiX-users] variables not working...

2012-09-21 Thread Steven Ogilvie
Sent: September-20-12 11:59 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] variables not working... StevenOgilvie wrote > I have these two set: > > > > > Then this property: > Value="$(var.LogonDomainName)\$(var.LogonUserName)" /> but

Re: [WiX-users] variables not working...

2012-09-20 Thread MikeGa
StevenOgilvie wrote > I have these two set: > > > > > Then this property: > Value="$(var.LogonDomainName)\$(var.LogonUserName)" /> > but when I use it at runtime I see this: > [%USERDOMAIN]\[%USERNAME] Have you tried defining the variables this way: I think you could even combine them

Re: [WiX-users] variables not working...

2012-09-20 Thread Hoover, Jacob
those environment variables will always be there. (Local users will have PC name for the domain.) Jacob -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Thursday, September 20, 2012 4:27 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] variables not working..

Re: [WiX-users] variables not working...

2012-09-20 Thread Nick Ramirez
That %VariableName syntax, I'm not familiar with that in WiX. It reminds me of parameter values in a Windows shell script? Are you wanting to collect the domain\username from the person who launches the installer? If that's the case, if you wanted them to pass that in on the command line, you could

[WiX-users] variables not working...

2012-09-20 Thread StevenOgilvie
Hi all, I have these two set: Then this property: but when I use it at runtime I see this: [%USERDOMAIN]\[%USERNAME] thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709.html Sent from the wix-