It would behove me to ask if this would be welcome in WiX 4 as a new feature or 
should I just have it be another custom extension function that we have for our 
in-house development?


Stephen Tunney
Nuance Communications, Inc.
Solutions Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tun...@nuance.com
519-880-7463    Office
NUANCE.COM
The experience speaks for itself T


-----Original Message-----
From: John Cooper [mailto:jocoo...@jackhenry.com] 
Sent: October-21-14 12:23 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Directory ID character case - Does it matter

No, but it would have to qualify as one of the easier ones to write.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Tunney, Stephen [mailto:stephen.tun...@nuance.com]
Sent: Tuesday, October 21, 2014 11:15 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Directory ID character case - Does it matter

Thank you for your fast response, John.

Now the next question.

I have a pattern below.  The language however is really derived from the locale 
(ex. "en-US, fr-FR, etc.").  I pull the Language out in a CA and each component 
has a <Conditional>LANGUAGE="en"</Conditional> inside of it.

I would like to leverage this for our folder structure though.  So when 
$(var.Language) = fr (or FR) we can say $(fun.toUpper(var.Language)) inside of 
the Directory/@Id or toLower for the file/@Name and then I don't need a second 
lookup/map set up in our wix preprocessor variable list.

So the question is this:

Is there a toUpper function available in the existing wix preprocessor 
extensions?  The only documented function appears to be 
$(fun.AutoVersion(x.y)), as listed at 
http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html

Cheers,
Stephen


-----Original Message-----
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: October-21-14 11:32 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Directory ID character case - Does it matter

1) Yes
2) Public Properties (those that can be altered on the command line and/or 
(with the Secure attribute) will pass to/from the UI and Execute sequences MUST 
be all upper case.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Tunney, Stephen [mailto:stephen.tun...@nuance.com]
Sent: Tuesday, October 21, 2014 10:27 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] Directory ID character case - Does it matter

Hey everyone,

I've got a large number of directories and files that look like this (pseudo 
code):

<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="XXX_FR">
                <Component Id="XXX_FR">
                                <file Name="myapp_fr.exe" 
Source="!(bindpath.start)/myapp_fr.exe" keypath="true"/>
                </Component>
</Directory>
</DirectoryRef>

<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="XXX_EN">
                <Component Id="XXX_EN">
                                <file Name="myapp_en.exe" 
Source="!(bindpath.start)/myapp_en.exe" keypath="true"/>
                </Component>
</Directory>
</DirectoryRef>

....  And the list of language-specific binaries continues ad-nausea.  Notice 
the case difference in the file name and the component/directory ID values.

First question, does the CASE of an ID matter?
Second, do these equate to public properties if they are all caps?

I would really like to stick all of this pattern utilizing the preprocessor 
foreach.  There are hundreds of files, components, and directories that match 
this exact pattern for us, and the list of languages we are going to be 
supporting going forward will only get larger.

Thanks!
Stephen Tunney


Stephen Tunney
Nuance Communications, Inc.
Solutions Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tun...@nuance.com<mailto:stephen.tun...@nuance.com>
519-880-7463      Office
NUANCE.COM
The experience speaks for itself (tm)

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively for the individual or entity to which it is addressed. The 
message, together with any attachment, may contain confidential and/or 
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution is strictly prohibited. If you have received this message in 
error, please immediately advise the sender by reply email and delete all 
copies.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively for the individual or entity to which it is addressed. The 
message, together with any attachment, may contain confidential and/or 
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution is strictly prohibited. If you have received this message in 
error, please immediately advise the sender by reply email and delete all 
copies.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to