%Id is used to probe environment variables. So your instinct about scripts was near the mark.
-- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Thursday, September 20, 2012 7:17 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] variables not working... That %VariableName syntax, I'm not familiar with that in WiX. It reminds me of parameter values in a Windows shell script? Are you wanting to collect the domain\username from the person who launches the installer? If that's the case, if you wanted them to pass that in on the command line, you could use the syntax: msiexec /i myInstaller.msi DATABASE_USERNAME="thisdomain\Fred". I don't /think/ it will complain about using a backslash in the value. You would not need to declare the DATABASE_USERNAME in your WiX markup. Or add a UI to the installer where the user can enter in that info via a text box control. Or are you wanting to do something different? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580712.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ 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. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users