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 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-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] Replace component on reinstall

2011-08-24 Thread MikeGa
I think the fact that the file is edited after it is laid down on the computer means the install considers the file to be "customer data" because its Modify date is later than the Create date. That follows the file versioning rules for unversioned files. One way around that problem is to specify a