[wix-users] How to set default Directory value?
sampat magi
ssmcs060 at gmail.com
Mon Jul 11 17:44:49 PDT 2016
It's OK,, glad to know it's solved your problem.. :)
Thanks
Sampat
On 12-Jul-2016 2:24 am, "Souren" <souren at gmail.com> wrote:
> The problem was solved by suggestion from Sampat Magi - adding
> Sequence="ui" in SetDirectory.
> Thanks mate!
>
> On Mon, Jul 11, 2016 at 11:30 AM, sampat magi <ssmcs060 at gmail.com> wrote:
>
> > hi souren,
> >
> > http://wixtoolset.org/documentation/manual/v3/xsd/wix/feature.html
> >
> > Read about ConfigurableDirectory attribute on the page.
> >
> > hope this resolves your issue.
> >
> > Regards,
> > Sampat
> >
> > On Mon, Jul 11, 2016 at 2:47 PM, Souren <souren at gmail.com> wrote:
> >
> > > I wanted to have a default value for Directory, so every time user run
> > > setup, same default value will apear as Directory, but in case user
> > > customize the folder then component to be installed in new folder.
> > >
> > > So I used:
> > >
> > > <SetDirectory Id="DDD_FOLDER" Value="C:\DDD"/>
> > >
> > > Now everything works as expected, except that I in later operations
> > where I
> > > use "DDD_FOLDER" (for example set registry key value), it always points
> > to
> > > "C:\DDD", even if user customized directory.
> > >
> > > How to get the customized value of directory? Or if that won't play
> nice
> > > with SetDirectory, how else can I set default(not fixed) value for
> > > Directory?
> > >
> > > Thanks
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list