In my case, i have defined some bundle variable like this example:

    <Variable Name="DB_USER"
              bal:Overridable="yes"
              Type="string"
              Value="default"
              Hidden="yes"/>

And in my GUI i set that variable:

    Bootstrapper.Engine.StringVariables["DB_USER"] = value;

I have tested the bootstrapper on a virtual machine (Hyper-V) with OS Windows 8 
and had absolutely no problems.
Last friday my project manager tested it on VirtualBox with OS Windows 7 and 
get's always an error when  the DB_USER-variable shall be setted.
The log says, that a integer variable can't be setted, instead the 
DB_USER-variable is - as You can see - of type string.
Other variables, which are of type string, make no problems.
And the value i want to set is of type string too.

Is there maybe a difference between Windows 8 and Windows 7, which can cause 
that error?
Meanwhile i believe in all.


Von: Phill Hogland [via Windows Installer XML (WiX) toolset] 
[mailto:ml-node+s687559n7598655...@n2.nabble.com]
Gesendet: Freitag, 19. Dezember 2014 15:07
An: Patrick Pirzer
Betreff: Re: What can cause an error when setting a bootstrapper variable?

Typo between " <Variable Name="DB_USER" " and "StringVariables["DB_NAME"] " ?
________________________________
If you reply to this email, your message will be added to the discussion below:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-can-cause-an-error-when-setting-a-bootstrapper-variable-tp7598651p7598655.html
To unsubscribe from What can cause an error when setting a bootstrapper 
variable?, click 
here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7598651&code=cGF0cmljay5waXJ6ZXJAcHJvc29mdC5uZXR8NzU5ODY1MXwtMTQwMjUwNDE2NA==>.
NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-can-cause-an-error-when-setting-a-bootstrapper-variable-tp7598651p7598662.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to