But for default dialogs such as the Canceldlg(which has been really
bothering me with its awkward y position), you can't just set the
NoPrefix
Attribute to its text control. 

Actually, an interesting that I saw was that the references to
[ProductName] in some of the "bigger" dialogs(WelcomeDlg, ExitDlg...etc)
are shown correctly so I guess the NoPrefix is set in those dialogs, but
not in CancelDlg. I don't know how it works but would this be a bug in
WiX or the Windows Installer itself?

Thanks,

Roger Yen

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sebastian
Brand
Sent: Tuesday, April 22, 2008 5:01 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] & in product name

It's documented as the "NoPrefix" control attribute for Text Controls.  
Set it to avoid the described underlining behaviour.

http://msdn2.microsoft.com/en-us/library/aa370535.aspx


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Apr 21, 2008, at 19:50 , Wilson, Phil wrote:

> This is going to be tricky. I don't even know if this is documented  
> anywhere, but if an ampersand shows up in the text of an installer  
> control it underlines the first character (your underscore) and uses  
> it as a hot key.
>
> Phil Wilson
>
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
> ] On Behalf Of Roger Yen
> Sent: Monday, April 21, 2008 9:16 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] & in product name
>
> I've tried to use two ampersands(so &&) to escape the second  
> sign, worked for the canceldlg, but now the installation title shows  
> two ampersands. Are there any easy ways to get around?
>
> Thanks,
>
> Roger Yen
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
> ] On Behalf Of Roger Yen
> Sent: Monday, April 21, 2008 11:04 AM
> To: Rob Mensching; wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] & in product name
>
> Hello,
>
> Thanks for the help, so I used & for the & sign, and it shows up  
> correctly on the installation title, but not in the CancelDlg, it  
> would shown as an underscore connecting with the next word in the  
> product name. I've set the language to 1033 and codepage 1252. Thanks.
>
> Roger Yen
>
>
> Roger Yen
> From: Rob Mensching [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 18, 2008 5:56 PM
> To: Roger Yen; wix-users@lists.sourceforge.net
> Subject: RE: & in product name
>
> Yes, just remember to encode them since WiX is XML.
>
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
> ] On Behalf Of Roger Yen
> Sent: Friday, April 18, 2008 14:32
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] & in product name
>
> Hello
>
> Is possible to have special symbols such as & in <[EMAIL PROTECTED]>?
>
> Thanks,
>
> Roger Yen
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain  
> confidential information, privileged material (including material  
> protected by the solicitor-client or other applicable privileges),  
> or constitute non-public information. Any use of this information by  
> anyone other than the intended recipient is prohibited. If you have  
> received this transmission in error, please immediately reply to the  
> sender and delete this information from your system. Use,  
> dissemination, distribution, or reproduction of this transmission by  
> unintended recipients is not authorized and may be unlawful.
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain  
> confidential information, privileged material (including material  
> protected by the solicitor-client or other applicable privileges),  
> or constitute non-public information. Any use of this information by  
> anyone other than the intended recipient is prohibited. If you have  
> received this transmission in error, please immediately reply to the  
> sender and delete this information from your system. Use,  
> dissemination, distribution, or reproduction of this transmission by  
> unintended recipients is not authorized and may be unlawful.
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain  
> confidential information, privileged material (including material  
> protected by the solicitor-client or other applicable privileges),  
> or constitute non-public information. Any use of this information by  
> anyone other than the intended recipient is prohibited. If you have  
> received this transmission in error, please immediately reply to the  
> sender and delete this information from your system. Use,  
> dissemination, distribution, or reproduction of this transmission by  
> unintended recipients is not authorized and may be unlawful.
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone_______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to