http://msdn.microsoft.com/en-us/library/aa369282(VS.85).aspx

"DirProperty
Name of a property having a value that resolves to the full path of the
folder containing the .ini file. The property can be the name of a directory
in the Directory table, a property set by the AppSearch table, or any other
property that represents a full path. If this field is left blank, the .ini
file is created in the folder having the full path specified by the
WindowsFolder property."

Unless I'm missing something obvious, shouldn't it be as simple as
specifying a value for DirProperty?  We do this from WiX in our product with
no problems so far...  don't really see why a custom action would be
needed...

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Monday, February 21, 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

Reply via email to