Thank you so much for your help and spending some time for this. The
solution you provided works perfectly. It was exactly what I wanted. I had
already solved the problem using a custom action, but thank you for
providing me a better solution.

Rigards
Tony
On 22 Nov 2013 20:31, "Blair Murri" <os...@live.com> wrote:

> Having thought about this overnight, I had an idea. I haven't tried this,
> but I believe it should work.
>
> Change this line:
>     <Property Id="VIRTUALDIR"><![CDATA[Staffbank]]></Property>
> to these two lines:
>     <Property Id="VIRTUALDIR" Secure="yes"><![CDATA[Staffbank]]></Property>
>     <SetDirectory Id="INSTALLDIR" Sequence="execute"
> Value="[IISROOT][VIRTUALDIR]\">NOT Installed</Property>
>
> Let us know if that works or not.
>
> BTW, you do know to use virtual machines to test installers, right? You
> snapshot before you test your installer, so you can revert if the installer
> doesn't do exactly what you want. This is especially important when you
> have components marked permanent.
>
> -Blair
>
> > Date: Fri, 22 Nov 2013 12:02:30 +0530
> > From: kooltonyj...@gmail.com
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Setting name of reference directory and virtual
> directory same.
> >
> > Thats exactly what I want. Is there any other way to do this without
> using
> > custom action. As I am new to wix writing a custom action might be
> > extremely difficult for me. Thank you for the help.
> >
> > Regards
> > Tony
> > On 22 Nov 2013 09:54, "Blair Murri" <os...@live.com> wrote:
> >
> > > I believe that see what you are trying to do. You want the directory
> > > currently named "Staffbank" to instead reflect the node value of the
> > > property named VIRTUALDIR you collect from the user during the
> installation.
> > >
> > > You will need a custom action to parse a filespec and change the last
> > > directory's name in that path, preserving the backslash at the end. The
> > > rest is reasonably well documented (how to change a directory's path
> after
> > > costing in the UI).
> > >
> > > -Blair
> > >
> > > > Date: Thu, 21 Nov 2013 16:47:17 +0530
> > > > From: kooltonyj...@gmail.com
> > > > To: wix-users@lists.sourceforge.net
> > > > Subject: Re: [WiX-users] Setting name of reference directory and
> virtual
> > > directory same.
> > > >
> > > > Hi
> > > >
> > > > Sorry for the inconvenience and thank you for the tip. You can find
> the
> > > > main wxs file in the link. Helps appreciated.
> > > >
> > > >
> > >
> https://drive.google.com/file/d/0B1gCMqS-Y9BFSkZQa24zbnh1d0k/edit?usp=sharing
> > > >
> > > > Thank you
> > > >
> > > > Tony
> > > >
> > > >
> > > > On Thu, Nov 21, 2013 at 12:50 PM, Blair Murri <os...@live.com>
> wrote:
> > > >
> > > > > Attachments rarely if ever make it through the list's remailer. You
> > > need
> > > > > to find some place to host your files and mail a pointer/URL to
> them.
> > > > >
> > > > > A section of code where you tell us what you are trying to match
> the
> > > users
> > > > > input would help us understand specifically what your request is,
> which
> > > > > will enable better help from us.
> > > > >
> > > > > -Blair
> > > > >
> > > > > Date: Thu, 21 Nov 2013 11:26:38 +0530
> > > > > From: kooltonyj...@gmail.com
> > > > > To: wix-users@lists.sourceforge.net
> > > > > Subject: [WiX-users] Setting name of reference directory and
> virtual
> > > > >  directory same.
> > > > >
> > > > > Hi,
> > > > >
> > > > > I created a website installer using wix with UI. During
> installation it
> > > > > accepts virtual directory name from the user. I need to set the
> same
> > > name
> > > > > for reference directory too. Is there any way to do this, as I am
> new
> > > to
> > > > > Wix please help me. The code I use is attached with this mail for
> > > > > reference. Any helps are appreciated.
> > > > >
> > > > > Thank you
> > > > >
> > > > > Regards
> > > > > Tony
> > > > >
> > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > Shape the Mobile Experience: Free Subscription
> > > > > Software experts and developers: Be at the forefront of tech
> > > innovation.
> > > > > Intel(R) Software Adrenaline delivers strategic insight and
> > > game-changing
> > > > > conversations that shape the rapidly evolving mobile landscape.
> Sign up
> > > > > now.
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > Shape the Mobile Experience: Free Subscription
> > > > > Software experts and developers: Be at the forefront of tech
> > > innovation.
> > > > > Intel(R) Software Adrenaline delivers strategic insight and
> > > game-changing
> > > > > conversations that shape the rapidly evolving mobile landscape.
> Sign up
> > > > > now.
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > >
> > >
> ------------------------------------------------------------------------------
> > > > Shape the Mobile Experience: Free Subscription
> > > > Software experts and developers: Be at the forefront of tech
> innovation.
> > > > Intel(R) Software Adrenaline delivers strategic insight and
> game-changing
> > > > conversations that shape the rapidly evolving mobile landscape. Sign
> up
> > > now.
> > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Shape the Mobile Experience: Free Subscription
> > > Software experts and developers: Be at the forefront of tech
> innovation.
> > > Intel(R) Software Adrenaline delivers strategic insight and
> game-changing
> > > conversations that shape the rapidly evolving mobile landscape. Sign up
> > > now.
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> ------------------------------------------------------------------------------
> > Shape the Mobile Experience: Free Subscription
> > Software experts and developers: Be at the forefront of tech innovation.
> > Intel(R) Software Adrenaline delivers strategic insight and game-changing
> > conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to