. [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
]
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
.
_
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
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
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
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
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
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
#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
9 matches
Mail list logo