Re: [WiX-users] Wix Built-in Variable escape content

2015-05-20 Thread Rob Mensching
. [mailto:tucaliucmi...@gmail.com] Sent: Wednesday, May 20, 2015 7:55 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Wix Built-in Variable escape content And it this case, how could I escape the values by hand? I was trying to create my own Bootstraper but i cannot use .NET

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-20 Thread Tucaliuc Mihai .
] Sent: Tuesday, May 12, 2015 8:30 AM To: wix-users Subject: [WiX-users] Wix Built-in Variable escape content Hello, I'm trying to use the Built-in variable WixBundleOriginalSource in order to send to an executable package the source path from where the bundle originally ran. This is my code

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-19 Thread Rob Mensching
. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Tucaliuc Mihai . [mailto:tucaliucmi...@gmail.com] Sent: Tuesday, May 12, 2015 8:30 AM To: wix-users Subject: [WiX-users] Wix Built-in Variable escape

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-14 Thread Tucaliuc Mihai .
Hi, I have to follow-up on this. Why is the built-in variable WixBundleOriginalSource not returning the correct location of the installer. It seems to remove the content of square brackets from the path. For example lets say that i'm trying to execute the installer from location

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-14 Thread Sean Hall
http://wixtoolset.org/issues/4763/ Custom code could use IBootstrapperEngine::GetVariableString to get the value of WixBundleOriginalSource, call IBootstrapperEngine::FormatString to escape it, and then call IBootstrapperEngine::SetVariableString to a custom variable and use that custom variable

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-12 Thread Phill Hogland
Use Engine.FormatString on the path (in your mba or BAFunctions.dll when using WixStdBA, probably in the DetectComplete handler). In mba something like this: path = object.Engine.FormatString(object.Engine.StringVariables[WixBundleOriginalSource]) Then save 'path' to a string variable for use in

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-12 Thread Tucaliuc Mihai .
Hello, Thanks for the quick reply, but I don't think its what I was looking for. I am not using any custom code for the bootstrapper or UI. I am using the standard bundle and trying to send (as an argument) to an executable package the source path from where the bundle originally ran. The

[WiX-users] Wix Built-in Variable escape content

2015-05-12 Thread Tucaliuc Mihai .
Hello, I'm trying to use the Built-in variable WixBundleOriginalSource in order to send to an executable package the source path from where the bundle originally ran. This is my code ExePackage Id=InstallConditions SourceFile=..\Bin\$(var.Configuration)\MyPackage.exe Vital=yes

Re: [WiX-users] Wix Built-in Variable escape content

2015-05-12 Thread Tucaliuc Mihai .
#new_here. Not sure if you received this because of the spam blocker. Hello, I'm trying to use the Built-in variable WixBundleOriginalSource in order to send to an executable package the source path from where the bundle originally ran. This is my code ExePackage Id=InstallConditions