[WiX-users] Dereference Indirect Property within Condition

2011-11-08 Thread Keith Moore
Hello,

I have a generic dialog that uses an indirect property for a username and I 
would like to enable and disable the Next button depending on whether a 
username has been entered.

MyDialog.wxs
...







...

Product.wxs
...



...

With this code the button is always enabled, I assume because I need to 
dereference the Dialog.Username property somehow in the Condition.  Could 
someone explain how to do this?

#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Indirect ComboBox Property

2011-11-13 Thread Keith Moore
Hello,

I have been trying to create a generic dialog box to allow the installing user 
to specify members of a (install) created group.  The dialog allows the 
installer to enter account names into a multiline edit control.  These accounts 
are then checked by a CustomAction.  I also wanted to handle the scenario where 
the local group already exists on the target computer.  In this instance the 
installer is given 3 choices Merge (the new member list with the existing one), 
Leave (the existing member this as it is) or Replace (the existing list with 
the new one).  To do this I provide a ComboBox control on the dialog with the 3 
options.

Because this is a generic dialog I tend to use Indirect property references 
because it allows me to set the reference and forget without having to pass 
values around.  I noticed however that there is no easy way to have an indirect 
property reference and set the list of ComboBox items.

I think an example would help clarify, given the fragment below:













1




This dialog will result in an empty ComboBox list because the  
property is referencing indirectly but in the  element I have no way 
of dereferencing it.  Is this a bug or is there some syntax of which I am not 
aware?
Thanks,
Keith.

#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-20 Thread Keith Moore
I worked around this issue by having a separate custom acction to encode the 
property values to remove/escape ;

The basic way it works is you pass the _names_ of the properties you want to 
encode, separated by semi-colons.  Since semi-colon cannot be used as an 
identifier it cannot be part of a property name.  My EncodeProperties custom 
action then gets the value of each property in turn and escapes out the 
semi-colons from the value by replacing them with "\x3b", which is C style 
escaping (I think), it also escapes "\" with "\\".  It (obviously) sets the 
property to the escaped value.

Then in my (original) custom action I can set its data separated with 
semi-colons and unescape them as needed.

I hope that's clear.

> -Original Message-
> From: Nicolas Penin [mailto:n.pe...@happly.fr]
> Sent: Friday, 18 November 2011 3:28 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Bug with Semi colon in Custom action data
> 
> Hi all,
> 
> I think this is a bug in wix :
> 
> 
> I have a variable containing a semi colon.
> 
> >From this variable and many others, I build another variable that I use as
> custom action data.
> 
> Unfortunately, the custom action data is cut because of the semi-colon. If I
> replace the semi-colon by a comma, it works perfectly.
> 
> Is there any work around against this issue ?
> 
> Regards,
> Nicolas Penin
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security threats,
> fraudulent activity, and more. Splunk takes this data and makes sense of it. 
> IT
> sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Can someone explain syntax: !(wix.MyVariable=$(var.anotherVariable))

2011-11-24 Thread Keith Moore
Hello,

Can someone explain the syntax below?



I understand that !(wix.MyVariable) is a  and 
$(var.anotherVariable) is a  but what does the = in the middle 
mean/do?

Thanks,
Keith

#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI in WPF

2011-11-27 Thread Keith Moore
There is an example project in the wix source code.

[wix root]\src\DTF\Samples\EmbeddedUI\EmbeddedUI.csproj

This is Wix 3.5 but I would imagine it is still in trunk.

> -Original Message-
> From: Phyx [mailto:loneti...@gmail.com]
> Sent: Monday, 28 November 2011 8:57 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] UI in WPF
> 
> Hi guys,
> 
> So I keep finding references etc on the net that Wix is now capable of
> allowing you to create custom installers in WPF.
> I want to create a Metro style installer using WPF for my application.
> But I can't actually find any documentation and/or examples on this.
> 
> Can anyone point me in the right direction? I'm a Wix beginner after all :)
> 
> Regards,
> 
> Phyx
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security threats,
> fraudulent activity, and more. Splunk takes this data and makes sense of it. 
> IT
> sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Write STX (Start of Text / ASCII 2) to a registry string

2011-12-18 Thread Keith Moore
Is there a way to write a the STX character to the registry?  I am using Wix 
3.5.

I have the registry import file below:
-
Windows Registry Editor Version 5.00

 [HKEY_LOCAL_MACHINE\SOFTWARE\SomeKey]
"SomeValue"=hex(1):02,00,00,00
-

And I tried to use heat to harvest from it but I get the error "heat.exe : 
error HEAT0001 : Unsupport registry value "SomeValue"=hex(1):02,00,00,00 at 
line 4"

I've also tried using  in the wxs file but that gives me an XML parsing 
error " Character ' ', hexadecimal value 0x2 is illegal in XML documents"

Any ideas how I could write this value, I would also like to write 


Thanks.

#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Write STX (Start of Text / ASCII 2) to a registry string

2011-12-19 Thread Keith Moore
Yup, I ended up doing that, I would have liked to keep the value type as string 
but this will suffice.

Thanks,
Keith Moore

> -Original Message-
> From: robert_h_yang [mailto:robert_y...@non.agilent.com]
> Sent: Tuesday, 20 December 2011 5:06 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Write STX (Start of Text / ASCII 2) to a registry 
> string
> 
> Have a look at Type="binary" (REG_BINARY), eg.
> 
>  Name="SomeValue"
>Value="0200" Type="binary" Action="write" />
> 
> -Rob
> 
> 
> Keith Moore wrote
> >
> > Is there a way to write a the STX character to the registry?  I am
> > using Wix 3.5.
> >
> > I have the registry import file below:
> > -
> > Windows Registry Editor Version 5.00
> >
> >  [HKEY_LOCAL_MACHINE\SOFTWARE\SomeKey]
> > "SomeValue"=hex(1):02,00,00,00
> > -
> >
> > And I tried to use heat to harvest from it but I get the error "heat.exe :
> > error HEAT0001 : Unsupport registry value
> > "SomeValue"=hex(1):02,00,00,00 at line 4"
> >
> > I've also tried using  in the wxs file but that gives me an XML
> > parsing error " Character ' ', hexadecimal value 0x2 is illegal in XML
> > documents"
> >
> > Any ideas how I could write this value, I would also like to write
> > 

> >
> > Thanks.
> >
> 
> 
> --
> View this message in context: http://windows-installer-xml-wix-
> toolset.687559.n2.nabble.com/Write-STX-Start-of-Text-ASCII-2-to-a-registry-
> string-tp7107136p7109135.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011 Microsoft is holding a
> special Learn Windows Azure training event for developers. It will provide a
> great way to learn Windows Azure and what it provides. You can attend the
> event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to prevent the same MSI file to be executed more than once at the same time?

2012-11-14 Thread Keith Moore
Windows only prevents a second install from starting the "Install" phase.  You 
can open as many .msi files as you like into the user interface phase.

> -Original Message-
> From: Hans ter Horst [mailto:hoshis...@gmail.com]
> Sent: Thursday, 15 November 2012 2:47 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] How to prevent the same MSI file to be executed more
> than once at the same time?
> 
> I get reports that people managed to have our installer open several times at
> the same time by accidentally clicking on the MSI file again while the same
> installer was already open. I seem to recall that is normally not possible
> due to the Microsoft installer MUTEX but somehow that seems to be missing.
> I'm using Wix 3.6, any suggestions?
> 
> --
> http://monochrome.me.uk/blog/
> -
> -
> Monitor your physical, virtual and cloud infrastructure from a single web
> console. Get in-depth insight into apps, servers, databases, vmware, SAP,
> cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
#
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users