Hi,,
I am using following property to read from .ini file
<Property Id="INISEARCH"  >
      <IniFileSearch Id="ini" Field="0" Name="ALM.ini" Section
="VersionInfo" Key="ProductVersion" LongName="ALM.ini" />
    </Property>

However I think it searches only system folder. The .ini file is part of
my installation and copies on user machine. So how can I search this
one?

Thanks,
Rahul.
-----Original Message-----
From: Alex Shevchuk [mailto:shevc...@live.com] 
Sent: Monday, May 25, 2009 9:30 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Read the text from .ini file.

You need <IniFileSearch>.

Alex



-----Original Message-----
From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] 
Sent: Monday, May 25, 2009 5:25 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Read the text from .ini file.

Hi,

How can I read the text from .ini file and store it into property. I
have .ini file with product version information. I want to read this
information and used to check same version is present on machine or not.

 

I found the way to write the text into .ini file using  <IniFile ... >
but not found how to read the text from .ini file.

 

Thanks,

Rahul 

------------------------------------------------------------------------
----
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like
Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like
Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to