Ahh, my mistake. It's the IniSearch that is rooted only in SystemFolder. I'm glad you pushed through and corrected me.
On Mon, Feb 21, 2011 at 7:26 AM, Michael Tissington < michael_tissing...@ciqual.com> wrote: > Actually I have got it to work just great. It was a spelling mistake on my > part. > > <Component Id="Data" Guid="PUT-GUID-HERE"> > <CreateFolder> > <Permission User="!(loc.EveryoneGroup)" GenericAll="yes"/> > </CreateFolder> > <CopyFile Id="ini" FileId="myini" /> > <IniFile Id="ServerAddress" Directory="ApplicationNameData" > Name="myfile.ini" Section="ConnectionObserver" Key="ServerAddress" > Value="[SERVERADDRESS]" Action="addLine"/> > <IniFile Id="GroupID" Directory="ApplicationNameData" > Name="ciquald.ini" Section="PopupQuestion" Key="GroupID" Value="[GROUPID]" > Action="addLine"/> > <RemoveFile Id="PurgeDataFolder" Name="*.*" On="uninstall" /> > </Component> > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 21 February 2011 15:03 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] write to IniFile > > Yep, annoying, eh? The MSI SDK documents that behavior. Want to contribute > a > custom action that does better? > > On Mon, Feb 21, 2011 at 1:04 AM, Michael Tissington < > michael_tissing...@ciqual.com> wrote: > > > I'm trying to write to an iniFile. > > > > How do I tell it which folder the file is in? > > Currently it seems to insist that it is in the \Windows folder. > > > > > > > > ---------------------------------------------------------------------- > > -------- The ultimate all-in-one performance toolkit: Intel(R) > > Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > > ---------------------------------------------------------------------------- > -- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users