Hi,

 I want to install my SDK in a parallel directory of the Silverlight SDK 
install dir.

So I query the SLv3.0 SDK install dir as follows:

 <Property Id="SL30SDKINSTALLDIR">
      <RegistrySearch Id="RegSearchSL30InstallPath" 
Key="SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v3.0\Install Path" 
Name="Install Path" Root="HKLM" Type="raw" />
 </Property>

The value in SL30SDKINSTALLDIR = C:\Program Files\Microsoft 
SDKs\Silverlight\v3.0\

My question is how to strip from SL30SDKINSTALLDIR the trailing 
"Silverlight\v3.0\" so that I can get a property value "C:\Program 
Files\Microsoft SDKs\"

I tried the following, but it does not work: the installer complains about the 
illegal directory name "..":

<CustomAction Id="SetMsSdkInstallDir" Property="MSSDKINSTALLDIR" 
Value="[SL30SDKINSTALLDIR]..\.." />

Any ideas on how to do this?
Thank you.
--
Qi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to