I don't know of anything built-in. You'd need code - in managed code you
use the UriBuilder class.

Phil Wilson


On Sun, Sep 15, 2013 at 1:47 PM, 4th Dimension
<cetvrtadimenz...@gmail.com>wrote:

> I need to add the location of a certain file into the registry as the part
> of the instalation of a Word add in. Now I am aware that I can use
> [TARGETDIR] to get the install location. But [TARGETDIR] outputs the
> address as C:\Program Files\AddinFolder, while I need the address to use
> the forward slashes since full address needs to look like this:
> file:///C:/Program Files/AddinFolder/Addin.vsto|vstolocal
>
> So is there a way to convert TARGETDIR's bacwardslashes into forward ones?
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&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