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

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... [P]

2013-05-30 Thread Pelusin Peluso
...@titus.com To: wix-users@lists.sourceforge.net Date: Thu, 30 May 2013 19:20:37 + Subject: Re: [WiX-users] variables not working... [P] Classification: Public Yes in the Product.wxs file -Original Message- From: Pelusin [mailto:thisispowerfulmagik_magikmu...@hotmail.com] Sent: May

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

2013-05-30 Thread Steven Ogilvie
Message- From: Pelusin 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

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

2012-09-21 Thread Steven Ogilvie
: 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: ?define LogonUserName = [%USERNAME]? ?define LogonDomainName = [%USERDOMAIN]? Then this property: Property Id=DATABASE_USERNAME Secure=yes

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 posted

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

2012-09-21 Thread John Cooper
-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 parameter values

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:

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

2012-09-21 Thread Neil Sleightholm
variables will work as the MSI is in the context of the msiexec service not the user that is logged on. Neil -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 21 September 2012 16:37 To: wix-users@lists.sourceforge.net Subject: -SPAM- Re: [WiX-users

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

2012-09-21 Thread Hoover, Jacob
://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 LogonUser

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

2012-09-21 Thread MikeGa
@.sourceforge Subject: -SPAM- Re: [WiX-users] -SPAM- variables not working... Sigh, now I am getting nothing... I tried this to verify it this morning and the install log shows that the type 51 created by SetProperty fired off: MSI (s) (0C:60) [10:36:29:726]: Doing action

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

2012-09-21 Thread StevenOgilvie
Finally got it to work CustomAction Id=CA_SetProperty_DATABASE_USERNAME Property=DATABASE_USERNAME Value=[%USERDOMAIN]\[LogonUser]/ UI ProgressText Action=CA_SetProperty_DATABASE_USERNAMECA: Setting database username.../ProgressText /UI placed in both execute and UI sequence:

[WiX-users] variables not working...

2012-09-20 Thread StevenOgilvie
Hi all, I have these two set: ?define LogonUserName = [%USERNAME]? ?define LogonDomainName = [%USERDOMAIN]? Then this property: Property Id=DATABASE_USERNAME Secure=yes Value=$(var.LogonDomainName)\$(var.LogonUserName) / but when I use it at runtime I see this: [%USERDOMAIN]\[%USERNAME]

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

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

2012-09-20 Thread Hoover, Jacob
[mailto:sogil...@msn.com] Sent: Thursday, September 20, 2012 4:27 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] variables not working... Hi all, I have these two set: ?define LogonUserName = [%USERNAME]? ?define LogonDomainName = [%USERDOMAIN]? Then this property: Property Id

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

2012-09-20 Thread MikeGa
StevenOgilvie wrote I have these two set: ?define LogonUserName = [%USERNAME]? ?define LogonDomainName = [%USERDOMAIN]? Then this property: Property Id=DATABASE_USERNAME Secure=yes Value=$(var.LogonDomainName)\$(var.LogonUserName) / but when I use it at runtime I see this: