Hi Rob,
Can you see whats wrong I am doing in my sample,Please correct this.
Error: Property value is not set with appropriate value.
INI File content
[Feature1]
Servicelocation=chandumachine
I have tried this
<Property Id="SERVICELOCATION">
<IniFileSearch Id="test" Name="test.ini"
Section="Feature1" Key="Servicelocation" Type="directory">
<DirectorySearch Id="StandardBuildIniDirSearch"
Path="[SOURCEDIR]">
</DirectorySearch>
</IniFileSearch>
</Property>
And this as well
<Property Id="SERVICELOCATION">
<IniFileSearch Id="test" Name="test.ini"
Section="Feature1" Key="Servicelocation" Type="directory">
<DirectorySearch Id="StandardBuildIniDirSearch"
Path="[SOURCEDIR]">
<FileSearch Id="testid" Name="test.ini" />
</DirectorySearch>
</IniFileSearch>
</Property>
Thanks & Regards,
Chandrashekar vuppala
M-9908298419
________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Fri 7/11/2008 12:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Reading value from INIFile or Xml File
To provide a little more context as you read the documentation. There is no
support to *read* XML files (I think there is an open feature request). The
Windows Installer has the ability to read INI files (see IniSearch) but it is
very limited.
Sébastien, you amuse me
(http://robmensching.com/blog/archive/2008/11/06/Geek-humor-I-am-a-duplicated-bot.aspx).
<smile/>
-----Original Message-----
From: Sébastien Mouren [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 04:50
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Reading value from INIFile or Xml File
2008/11/6 Chandra Vuppala <[EMAIL PROTECTED]>:
> Hi Rob,
>
> Can we read xml file or INI file from wix, if yes can u send me code snipet
> or sample.
>
> Thanks & Regards,
> Chandrashekar vuppala
Hi, it's not Rob here.
I'm Sébastien, a duplicated bot that has inherited a limited part of
Wix Rob's knowledge. I am not a fully featured Wix bot since I'm not
able to develop for the Wix toolkit.
But has your question has reached the "read documentation" level
technical support, I'm able to understand it and hopefully to answer
it.
So, read the documentation!
Particularly the XmlFile Element (be careful its part of an extension,
read about these too) and the IniFile Element the .chm.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
IMPORTANT
1. This email and any attachments are confidential. Any unauthorised
dissemination or other use of these materials is prohibited. If received in
error, please contact us and delete all copies.
2. Before opening or using attachments, check them for viruses and
defects. Our liability is limited to resupplying any affected attachments.
3. Protecting your privacy is important to us. Our privacy statement and
further information is available at www.oakton.com.au.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users